- From: RUSSELL Scott <
>
- To: "
" <
>
- Subject: [chef] RE: chef-server fails on startup on ubuntu server 11.10....
- Date: Tue, 3 Apr 2012 15:39:29 +0300
- Accept-language: en-GB
- Acceptlanguage: en-GB
Folks,
Just a further follow up on the install, I had to chown the
following directory, not sure if this was a problem specific to my install or
something more generic. But posting it here just in case.....
On the chef server (ubuntu 11.10)
chown -R chef:chef /var/lib/chef
This was owned by root, which smaks of me doing something I should
not have as "root".
regards
Sc0tt....
________________________________________
From: RUSSELL Scott
Sent: 30 March 2012 14:49
To:
Subject: chef-server fails on startup on ubuntu server 11.10....
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...
- [chef] RE: chef-server fails on startup on ubuntu server 11.10...., RUSSELL Scott, 04/03/2012
Archive powered by MHonArc 2.6.16.