- From: irvin <
>
- To:
- Subject: [chef] Problem re-installing chef-server
- Date: Tue, 21 May 2013 14:20:04 -0700
For some reason I decided to re-install open source chef-server. Here is what I did (in
CentOS 6.3):
1. sudo chef-server-ctl stop
2. sudo rpm -ev chef-server
3. sudo rm -rf /etc/chef-server /opt/chef-server /var/log/chef-server
4. kill any running chef-server process and make sure no chef-server process running anymore (ps -aef |grep chef)
5. sudo rpm -iv chef-server-11.0.8-1.el6.x86_64.rpm
6. sudo chef-server-ctl reconfigure
Everything looks fine and I can talk to localhost via ports 80, 443, and 8000. I can even load up the webui. But when I try to login to the webui as "admin" using default password I got an error. Further investigation shows that the three key files (admin.pem, chef-validator.pem, chef-webui.pem) were not created in /etc/chef-server/. I guess that's because I didn't completely remove chef-server from the system before I install it again.
Any idea what did I miss?
Thanks
Irvin
- [chef] Problem re-installing chef-server, irvin, 05/21/2013
Archive powered by MHonArc 2.6.16.