[chef] Re: Problem re-installing chef-server


Chronological Thread 
  • From: irvin < >
  • To:
  • Subject: [chef] Re: Problem re-installing chef-server
  • Date: Tue, 21 May 2013 14:39:38 -0700

OK, I figured it out. To completely remove chef-server I need to remove /var/chef and /var/opt/chef-server as well.


On Tue, May 21, 2013 at 2:20 PM, irvin < " target="_blank"> > wrote:
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




Archive powered by MHonArc 2.6.16.

§