Skip to content

Instantly share code, notes, and snippets.

View damm's full-sized avatar

Scott M. Likens damm

  • Seattle, Washington USA
View GitHub Profile
Nov 30 20:55:33 chef init: couchdb main process ended, respawning
Nov 30 20:55:33 chef init: couchdb main process ended, respawning
Nov 30 20:55:33 chef init: couchdb main process ended, respawning
Nov 30 20:55:34 chef init: couchdb main process ended, respawning
Nov 30 20:55:34 chef init: couchdb main process ended, respawning
Nov 30 20:55:34 chef init: couchdb main process ended, respawning
Nov 30 20:55:35 chef init: couchdb main process ended, respawning
Nov 30 20:55:35 chef init: couchdb main process ended, respawning
Nov 30 20:55:36 chef init: couchdb main process ended, respawning
Nov 30 20:55:36 chef init: couchdb main process ended, respawning
@damm
damm / config.ru
Created December 1, 2009 18:25 — forked from adamhjk/config.ru
require 'merb-core'
require 'chef'
Chef::Config.from_file('/etc/chef/server.rb')
require 'chef/nanite'
require 'uuidtools'
Chef::Config[:nanite_identity] = "chef-#{UUIDTools::UUID.random_create.to_s}"
Chef::Nanite.in_event { Chef::Log.info "Nanite Booting..." }
time = 17
Package: collectd
Priority: optional
Section: universe/utils
Installed-Size: 2196
Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
Original-Maintainer: Sebastian Harl <tokkee@debian.org>
Architecture: amd64
Version: 4.6.3-1
Replaces: collectd-apache, collectd-dns, collectd-hddtemp, collectd-mysql, collectd-perl, collectd-ping, collectd-sensors
Provides: collectd-apache, collectd-dns, collectd-hddtemp, collectd-mysql, collectd-perl, collectd-ping, collectd-sensors
@damm
damm / README
Created November 28, 2009 00:38
These go in /etc/init and are related to upstart on karmic... if you don't know what your doing please don't use these.
[root@zserver chef]# cat chef.json
{
"bootstrap": {
"chef": {
"url_type": "http",
"init_style": "init",
"path": "/opt/chef",
"serve_path": "/opt/chef",
"server_fqdn": "zserver.stompy.lan"
}
----------------- Register state dump ----------------------
rax = 0x0000000000000000 rbx = 0x00000000838aa320 rcx = 0x000000000007b7f0 rdx = 0x00000000000018b1
rdi = 0x00000000834691f4 rsi = 0x0000000000000000 rbp = 0x00000000023d0f40 rsp = 0x0000000050d00d60
r8 = 0x0000000000000001 r9 = 0x0000000000000003 r10 = 0x0000000000000050 r11 = 0x0000000000000000
r12 = 0x0000000000000000 r13 = 0x000000008345c040 r14 = 0x0000000000000000 r15 = 0x0000000000000006
rip = 0x0000000083408447 rflags = 0x0000000000010246 cs = 0x0000000000000033 fs = 0x00000000838aa320
gs = 0x00000000023d0f40
-e:1: [BUG] Segmentation fault
ruby 1.8.7 (2009-04-02 patchlevel 159) [x86_64-linux]
#!/bin/bash
# Startup script for chef-client
#
# chkconfig: - 98 02
# description: Client component of the Chef systems integration framework.
# processname: chef-client
#
# config: /etc/sysconfig/chef-client
# pidfile: /var/run/chef/chef-client.pid
require 'merb-core'
require 'chef'
Chef::Config.from_file('/etc/chef/server.rb')
require 'chef/nanite'
require 'uuidtools'
Chef::Config[:nanite_identity] = "chef-#{UUIDTools::UUID.random_create.to_s}"
Chef::Nanite.in_event { Chef::Log.info "Nanite Booting..." }
time = 17
root@ip-10-212-178-191:~/chef/chef# chef-client
[Wed, 25 Nov 2009 01:54:49 +0000] INFO: Starting Chef Run
/usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/resource_collection.rb:115:in `lookup': Cannot find a resource matching service[apache2] (did you define it first?) (ArgumentError)
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/resource_collection.rb:177:in `find_resource_by_hash'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/resource_collection.rb:175:in `each'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/resource_collection.rb:175:in `find_resource_by_hash'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/resource_collection.rb:173:in `each'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/resource_collection.rb:173:in `find_resource_by_hash'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/resource_collection.rb:137:in `resources'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/resource_collection.rb:13
lethe:~ % knife search -i=node -q=*:* --attribute=fqdn
{
"start": 0,
"total": 0,
"rows": [
{
"fqdn": "chef.likens.us",
"id": "chef.likens.us"
},
{