-
-
Save bradphelan/325145 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Mon, 08 Mar 2010 13:21:25 +0000] DEBUG: Looking for host-ip-10-228-235-102.eu-west-1.compute.internal/couchdb_local.ini.erb | |
[Mon, 08 Mar 2010 13:21:25 +0000] DEBUG: Looking for ubuntu-9.10/couchdb_local.ini.erb | |
[Mon, 08 Mar 2010 13:21:25 +0000] DEBUG: Looking for ubuntu/couchdb_local.ini.erb | |
[Mon, 08 Mar 2010 13:21:25 +0000] DEBUG: Looking for default/couchdb_local.ini.erb | |
[Mon, 08 Mar 2010 13:21:25 +0000] DEBUG: Using local file for template:/etc/chef/site-cookbooks/service_bus/templates/default/couchdb_local.ini.erb | |
[Mon, 08 Mar 2010 13:21:25 +0000] INFO: Creating template[/etc/couchdb/local.ini] at /etc/couchdb/local.ini | |
[Mon, 08 Mar 2010 13:21:25 +0000] INFO: template[/etc/couchdb/local.ini] sending restart action to service[couchdb] (immediate) | |
[Mon, 08 Mar 2010 13:21:25 +0000] DEBUG: service[couchdb] using Chef::Provider::Service::Debian | |
[Mon, 08 Mar 2010 13:21:25 +0000] WARN: service[couchdb]: falling back to process table inspection | |
[Mon, 08 Mar 2010 13:21:25 +0000] WARN: service[couchdb]: attempting to match 'couchdb' ((?-mix:couchdb)) against process list | |
[Mon, 08 Mar 2010 13:21:25 +0000] DEBUG: service[couchdb]: running: true | |
[Mon, 08 Mar 2010 13:21:25 +0000] DEBUG: service[couchdb]: attempting to restart | |
[Mon, 08 Mar 2010 13:21:25 +0000] DEBUG: Executing /etc/init.d/couchdb restart | |
< ^C here to terminate it cause it was hanging > |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
couchdb 11555 1 0 13:20 pts/0 00:00:00 /bin/sh -e /usr/bin/couchdb -a \"/etc/couchdb/default.ini\" -a \"/etc/couchdb/local.ini\" -b -r 5 -p /var/run/couchdb/couchdb.pid -o /dev/null -e /dev/nul | |
couchdb 12176 1 0 13:21 pts/0 00:00:00 /bin/sh -e /usr/bin/couchdb -a \"/etc/couchdb/default.ini\" -a \"/etc/couchdb/local.ini\" -b -r 5 -p /var/run/couchdb/couchdb.pid -o /dev/null -e /dev/nul | |
couchdb 18393 1 0 13:27 ? 00:00:00 /bin/sh -e /usr/bin/couchdb -a \"/etc/couchdb/default.ini\" -a \"/etc/couchdb/local.ini\" -b -r 5 -p /var/run/couchdb/couchdb.pid -o /dev/null -e /dev/nul | |
couchdb 19571 1 0 13:28 pts/0 00:00:00 /bin/sh -e /usr/bin/couchdb -a \"/etc/couchdb/default.ini\" -a \"/etc/couchdb/local.ini\" -b -r 5 -p /var/run/couchdb/couchdb.pid -o /dev/null -e /dev/nul | |
root 24432 3796 3 13:31 pts/0 00:00:00 /usr/bin/ruby1.8 /var/lib/gems/1.8/bin/chef-solo -c /etc/chef/solo.rb -j /etc/chef/dna.json | |
root 24770 24432 0 13:31 pts/0 00:00:00 [couchdb] <defunct> | |
couchdb 24908 1 0 13:31 pts/0 00:00:00 /bin/sh -e /usr/bin/couchdb -a \"/etc/couchdb/default.ini\" -a \"/etc/couchdb/local.ini\" -b -r 5 -p /var/run/couchdb/couchdb.pid -o /dev/null -e /dev/nul | |
couchdb 25236 12176 0 13:31 pts/0 00:00:00 sleep 5 | |
couchdb 25285 19571 0 13:31 pts/0 00:00:00 sleep 5 | |
couchdb 25293 18393 0 13:31 ? 00:00:00 sleep 5 | |
couchdb 25362 11555 0 13:31 pts/0 00:00:00 sleep 5 | |
couchdb 25369 1 1 13:31 ? 00:00:00 heart -pid 25364 -ht 11 | |
couchdb 25377 24908 0 13:31 pts/0 00:00:00 sleep 5 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service "couchdb" do | |
supports [:restart ] | |
action [:enable] | |
end | |
template "/etc/couchdb/local.ini" do | |
source "couchdb_local.ini.erb" | |
notifies :restart, resources(:service => "couchdb"), :immediately | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment