Thanks Adam, problem solved.
Regards,
-- Philippe Bérard
De : Adam Leff [mailto:adam@leff.co]
Envoyé : mardi 5 février 2013 15:24
À : chef@lists.opscode.com
Cc : chef@lists.opscode.com
Objet : [chef] Re: RE: Re: Re: chef 11 install problem
Philippe-
I had a similar issue on CentOS 5.8. I haven't yet dug into the root cause (though I plan to) but I found that RabbitMQ was already running (outside of runit), so runit kept starting a second copy and failing. I killed off the processes and ran chef-server-ctl reconfigure and all was well.
Adam
On Feb 5, 2013, at 6:08, Philippe Bérard philippe.berard@jalios.com wrote:
Personally, I have some big problems updating Chef Server from 10.18.2 to 11.04-1 on Ubuntu server 12.04 LTS : RabbitMQ doesn't want to start.
Here is the end of the installation transcript :
-
service[rabbitmq] action nothing (up to date)
-
execute[/opt/chef-server/bin/chef-server-ctl start rabbitmq] action run
- execute /opt/chef-server/bin/chef-server-ctl start rabbitmq
-
execute[/opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait / mailto:var/opt/chef-server/rabbitmq/db/rabbit@localhost.pid var/opt/chef-server/rabbitmq/db/rabbit@localhost.pid] action run
================================================================================
Error executing action run
on resource 'execute[/opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait / mailto:var/opt/chef-server/rabbitmq/db/rabbit@localhost.pid var/opt/chef-server/rabbitmq/db/rabbit@localhost.pid]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
Expected process to exit with [0], but received '2'
---- Begin output of /opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait / mailto:var/opt/chef-server/rabbitmq/db/rabbit@localhost.pid var/opt/chef-server/rabbitmq/db/rabbit@localhost.pid ----
STDOUT: Waiting for rabbit@localhost ...
pid is 17072 ...
STDERR: Error: process_not_running
---- End output of /opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait / mailto:var/opt/chef-server/rabbitmq/db/rabbit@localhost.pid var/opt/chef-server/rabbitmq/db/rabbit@localhost.pid ----
Ran /opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait / mailto:var/opt/chef-server/rabbitmq/db/rabbit@localhost.pid var/opt/chef-server/rabbitmq/db/rabbit@localhost.pid returned 2
Regards,
-- Philippe Bérard
-----Message d'origine-----
De : Alex Vitola [mailto:alex.vitola@gmail.com]
Envoyé : mardi 5 février 2013 11:42
À : seth@opscode.com; chef@lists.opscode.com
Objet : [chef] Re: Re: chef 11 install problem
My environment is still in development, I believe the problem is not with version 11, but due to the tests I'm doing
2013/2/4 Seth Falcon < mailto:seth@opscode.com seth@opscode.com>:
On Feb 4, 2013, at 10:06 AM, Alex Vitola wrote:
I had to downgrade because I could not do any client connecting to
the server
If you'd like to provide some details on the trouble you encounted, perhaps we can help get you going with Chef 11.