I’ve tried thrice to upgrade my chef-server from version 11 to the new release candidate 12rc4I’ve been following the procedure found here : https://docs.getchef.com/server/install_server.htmlAnd, each time, I get the following error :* execute[/opt/opscode/embedded/bin/chpst -u opscode -U opscode /opt/opscode/embedded/bin/rabbitmqctl wait / " target="_blank">var/opt/opscode/rabbitmq/db/ ] action run================================================================================Error executing action `run` on resource 'execute[/opt/opscode/embedded/bin/chpst -u opscode -U opscode /opt/opscode/embedded/bin/rabbitmqctl wait / " target="_blank">var/opt/opscode/rabbitmq/db/ ]'================================================================================Mixlib::ShellOut::ShellCommandFailed------------------------------------Expected process to exit with [0], but received '2'---- Begin output of /opt/opscode/embedded/bin/chpst -u opscode -U opscode /opt/opscode/embedded/bin/rabbitmqctl wait / " target="_blank">var/opt/opscode/rabbitmq/db/ ----STDOUT: Waiting for ...pid is 9687 ...STDERR: Error: process_not_running---- End output of /opt/opscode/embedded/bin/chpst -u opscode -U opscode /opt/opscode/embedded/bin/rabbitmqctl wait / " target="_blank">var/opt/opscode/rabbitmq/db/ ----Ran /opt/opscode/embedded/bin/chpst -u opscode -U opscode /opt/opscode/embedded/bin/rabbitmqctl wait / " target="_blank">var/opt/opscode/rabbitmq/db/ returned 2Resource Declaration:---------------------# In /opt/opscode/embedded/cookbooks/private-chef/recipes/rabbitmq.rb83: execute "#{rmq_ctl_chpost} wait #{rabbitmq_data_dir}/ " target="_blank"> " do84: retries 1085: end86:Compiled Resource:------------------# Declared in /opt/opscode/embedded/cookbooks/private-chef/recipes/rabbitmq.rb:83:in `from_file'execute("/opt/opscode/embedded/bin/chpst -u opscode -U opscode /opt/opscode/embedded/bin/rabbitmqctl wait / " target="_blank">var/opt/opscode/rabbitmq/db/ ") doaction "run"retries 0retry_delay 2guard_interpreter :defaultcommand "/opt/opscode/embedded/bin/chpst -u opscode -U opscode /opt/opscode/embedded/bin/rabbitmqctl wait / " target="_blank">var/opt/opscode/rabbitmq/db/ "backup 5returns 0cookbook_name :"private-chef"recipe_name "rabbitmq"endRunning handlers:[2014-10-08T17:14:43+02:00] ERROR: Running exception handlersRunning handlers complete[2014-10-08T17:14:43+02:00] ERROR: Exception handlers complete[2014-10-08T17:14:43+02:00] FATAL: Stacktrace dumped to /opt/opscode/embedded/cookbooks/cache/chef-stacktrace.outChef Client failed. 4 resources updated in 33.50292022 seconds[2014-10-08T17:14:43+02:00] ERROR: execute[/opt/opscode/embedded/bin/chpst -u opscode -U opscode /opt/opscode/embedded/bin/rabbitmqctl wait / " target="_blank">var/opt/opscode/rabbitmq/db/ ] (private-chef::rabbitmq line 83) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '2'---- Begin output of /opt/opscode/embedded/bin/chpst -u opscode -U opscode /opt/opscode/embedded/bin/rabbitmqctl wait / " target="_blank">var/opt/opscode/rabbitmq/db/ ----STDOUT: Waiting for ...pid is 9687 ...STDERR: Error: process_not_running---- End output of /opt/opscode/embedded/bin/chpst -u opscode -U opscode /opt/opscode/embedded/bin/rabbitmqctl wait / " target="_blank">var/opt/opscode/rabbitmq/db/ ----Ran /opt/opscode/embedded/bin/chpst -u opscode -U opscode /opt/opscode/embedded/bin/rabbitmqctl wait / " target="_blank">var/opt/opscode/rabbitmq/db/ returned 2[2014-10-08T17:14:43+02:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)Any clue on this issue ? My server is running under Ubuntu 12.04 64 bits.Regards,
Philippe Bérard
Responsable informatique Tel : +33 (0)1 39 23 31 17
Mob : +33 (0)6 01 27 87 86
Fax : +33 (0)1 39 55 47 56
Archive powered by MHonArc 2.6.16.