Hello all,
I was wondering if anyone has had any luck getting Chef Server 12 working on Centos 7?
I was able to install the the server core and chef-manage (I had to use the RPM for that one) but when I run chef-server-ctl reconfigure I get the following failure:
- configure service runit_service[rabbitmq]
Recipe: private-chef::rabbitmq
- execute[/opt/opscode/bin/private-chef-ctl start rabbitmq] action run
================================================================================
Error executing actionrun
on resource ‘execute[/opt/opscode/bin/private-chef-ctl start rabbitmq]’
================================================================================
Mixlib::ShellOut::ShellCommandFailed
Expected process to exit with [0], but received ‘1’
---- Begin output of /opt/opscode/bin/private-chef-ctl start rabbitmq ----
STDOUT: warning: rabbitmq: unable to open supervise/ok: file does not exist
STDERR:
---- End output of /opt/opscode/bin/private-chef-ctl start rabbitmq ----
Ran /opt/opscode/bin/private-chef-ctl start rabbitmq returned 1
Resource Declaration:
In /opt/opscode/embedded/cookbooks/private-chef/recipes/rabbitmq.rb
79: execute “#{opc_ctl} start rabbitmq” do
80: retries 20
81: end
82:
Compiled Resource:
Declared in /opt/opscode/embedded/cookbooks/private-chef/recipes/rabbitmq.rb:79:in `from_file’
execute("/opt/opscode/bin/private-chef-ctl start rabbitmq") do
action "run"
retries 0
retry_delay 2
guard_interpreter :default
command "/opt/opscode/bin/private-chef-ctl start rabbitmq"
backup 5
returns 0
cookbook_name :"private-chef"
recipe_name "rabbitmq"
end
Running handlers:
[2014-10-17T09:03:24-04:00] ERROR: Running exception handlers
Running handlers complete
[2014-10-17T09:03:24-04:00] ERROR: Exception handlers complete
[2014-10-17T09:03:24-04:00] FATAL: Stacktrace dumped to /opt/opscode/embedded/cookbooks/cache/chef-stacktrace.out
Chef Client failed. 2 resources updated in 83.438880821 seconds
[2014-10-17T09:03:24-04:00] ERROR: execute[/opt/opscode/bin/private-chef-ctl start rabbitmq] (private-chef::rabbitmq line 79) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received ‘1’
---- Begin output of /opt/opscode/bin/private-chef-ctl start rabbitmq ----
STDOUT: warning: rabbitmq: unable to open supervise/ok: file does not exist
STDERR:
---- End output of /opt/opscode/bin/private-chef-ctl start rabbitmq ----
Ran /opt/opscode/bin/private-chef-ctl start rabbitmq returned 1
[2014-10-17T09:03:24-04:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
[root@localhost ~]# pri
printafm printenv printf private-chef-ctl
[root@localhost ~]# pri
printafm printenv printf private-chef-ctl
[root@localhost ~]# private-chef-ctl start rabbitmq
warning: rabbitmq: unable to open supervise/ok: file does not exist
[root@localhost ~]# private-chef-ctl start rabbitmq-server
[root@localhost ~]#
Thanks,
Austin