Hi all,
After being unsuccessful on playing with Chef on Cent OS, I moved to Ubuntu but when running chef-server-ctl reconfigure, I get the following error:
Generated at 2015-12-20 21:18:18 -0200
Mixlib::ShellOut::ShellCommandFailed: execute[initctl status private-chef-runsvdir] (enterprise::runit_upstart line 34) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received ‘1’
---- Begin output of initctl status private-chef-runsvdir ----
STDOUT:
STDERR: initctl: Unknown job: private-chef-runsvdir
---- End output of initctl status private-chef-runsvdir ----
Ran initctl status private-chef-runsvdir returned 1
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.3/lib/mixlib/shellout.rb:289:in invalid!' /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.3/lib/mixlib/shellout.rb:276:in
error!’
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.5.1/lib/chef/mixin/shell_out.rb:56:in shell_out!' /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.5.1/lib/chef/provider/execute.rb:62:in
block in action_run’
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.5.1/lib/chef/mixin/why_run.rb:52:in call' /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.5.1/lib/chef/mixin/why_run.rb:52:in
add_action’
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.5.1/lib/chef/provider.rb:175:in `converge_by’
:1
Any ideas?
Thanks,
Daniel