[chef] Re: chef-server-ctl reconfigure fails


Chronological Thread 
  • From: David Crowder < >
  • To:
  • Subject: [chef] Re: chef-server-ctl reconfigure fails
  • Date: Tue, 11 Mar 2014 20:30:36 -0500

If they are rhel VMs you could check if qpid is enabled:

https://tickets.opscode.com/browse/CHEF-4071

Not sure if that would result in the error you are seeing though. Just a thought.

On Mar 11, 2014 8:08 PM, "Anna Redding" < "> > wrote:

Trying to install chef-server version 11.0.6-1 and it is failing in the rabbitmq portion of the reconfigure step.   

This has been successful in one of our development environments but is failing in another.  
I even installed the chef-server rpm on a third host and ran the reconfigure and it worked fine.  But for some reason, on this 'one' VM, it is not working.  

Here is the error information:
 
Error excecuting action 'run' on resource 
Execute [/opt/chef-server/embedded/ bin/chpst -u chef_server -U chef_server     \
   /opt/chef-server/embedded/bin/rabbitmqctl wait                                             \
   / " target="_blank">var/opt/chef-server/rabbtmql/db/
Unable to run /opt/chef-server/embedded/bin/rabbitmqctl: access denied 

Another embedded error message states:  "Expected process to exit with [0], but received '111'

Any ideas what the '111' error code is and its resolution?  I've searched all over and cannot find a usable solution.

I also see a bug that's been logged with exit code [2] which is due to hostname resolution failing. This is not the issue I'm experiencing as I've confirmed the hostname (both short and long) is in 
/etc/hosts, /etc/nsswitch.conf 
references 'files dns', and the hostname does resolve.

I also saw something else on google indicating the 'HOME' environment setting was not set. I don't think that is it
because I have compared the environmental variables on all systems and they are set the same.  

I've also compared RPMs across the VMs. I did find a handful of differences but wonder why,  if they are, in fact, 
the problem, they did not flag as a dependency when the chef-server RPM was installed....

Any brilliant ideas out there???? Really need to get this up and running ASAP so any thoughts are much appreciated. 

Thanks!
Anna


  

Sent from my iPhone



Archive powered by MHonArc 2.6.16.

§