- From: RUSSELL Scott <
>
- To: "
" <
>
- Subject: [chef] chef-server fails on startup on ubuntu server 11.10....
- Date: Fri, 30 Mar 2012 14:49:36 +0300
- Accept-language: en-GB, fi-FI
- Acceptlanguage: en-GB, fi-FI
Folks,
Had a problem with chef-server starting up on ubuntu 11.10,
having followed the bootstrap process from the opscode wiki. This was
tracked down to couchdb starting after the chef-server. To fix this
behaviour, I did the following....
# remove the existing links to start couchdb
update-rc.d -f couchdb remove
#check that no refrences to couchdb exist
ls -al /etc/rc2.d/
#check your couchd script is still there
ls -al /etc/init.d/couchdb
#setup couchdb to restart on boot (previous start/stop levels were 20, moved
to 19, as chef-server starts on 20 on current ubuntu 11.10)
update-rc.d couchdb start 19 2 3 4 5 . stop 21 0 1 6 .
# note the "." dots are required
# restart your box to check.
reboot
# verify that chef-server is listening on port 4000
netstat -A inet -l
regards
Sc0tt...
Archive powered by MHonArc 2.6.16.