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


Chronological Thread 
  • From: "joe.nuspl" < >
  • To: " " < >
  • Cc: " " < >
  • Subject: [chef] Re: chef-server-ctl reconfigure fails
  • Date: Tue, 11 Mar 2014 18:18:54 -0700

Rabbitmq is started via runit.  I've seen issues with runit not getting started via init.  Check to see if the correct instance of runit is running. 

The omnibus installer does not deal with setting up runit if it is already is in inittab.

Sent from my iPhone

On Mar 11, 2014, at 6:07 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                                             \
   / " x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="0">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.

§