I am using T2 Micro system in AWS enviornment
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION=“Ubuntu 14.04.5 LTS”
ls
chef-server-core_12.17.5-1_amd64.deb
even same error with package chef-server-core_12.17.15-1_amd64.deb and chef-server-core_12.17.3-1_amd64.deb
================================================================================
Error executing action run
on resource ‘execute[/opt/opscode/bin/chef-server-ctl start oc_bifrost]’
================================================================================
Error executing action restart
on resource ‘runit_service[nginx]’
Running handlers complete
Chef Client failed. 261 resources updated in 02 minutes 34 seconds
[2018-01-31T07:41:46+00:00] FATAL: Stacktrace dumped to /var/opt/opscode/local-mode-cache/chef-stacktrace.out
[2018-01-31T07:41:46+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2018-01-31T07:41:46+00:00] FATAL: Chef::Exceptions::MultipleFailures: Multiple failures occurred:
- Mixlib::ShellOut::ShellCommandFailed occurred in chef run: execute[/opt/opscode/bin/chef-server-ctl start oc_bifrost] (private-chef::bootstrap line 28) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received ‘1’
---- Begin output of /opt/opscode/bin/chef-server-ctl start oc_bifrost ----
STDOUT:
STDERR: /opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/omnibus-ctl-0.5.0/lib/omnibus-ctl.rb:366:inrun_sv_command_for_service': undefined method
exitstatus’ for nil:NilClass (NoMethodError)
from /opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/omnibus-ctl-0.5.0/lib/omnibus-ctl.rb:353:inrun_sv_command' from /opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/omnibus-ctl-0.5.0/lib/omnibus-ctl.rb:167:in
block (2 levels) in class:Ctl’
from /opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/omnibus-ctl-0.5.0/lib/omnibus-ctl.rb:747:inrun' from /opt/opscode/embedded/service/omnibus-ctl/chef-server-ctl:242:in
'
---- End output of /opt/opscode/bin/chef-server-ctl start oc_bifrost ----
Ran /opt/opscode/bin/chef-server-ctl start oc_bifrost returned 1 - Mixlib::ShellOut::ShellCommandFailed occurred in delayed notification: runit_service[nginx] (private-chef::nginx line 37) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received ‘1’
---- Begin output of /opt/opscode/embedded/bin/sv restart /opt/opscode/service/nginx ----
STDOUT: fail: /opt/opscode/service/nginx: unable to change to service directory: file does not exist
STDERR:
---- End output of /opt/opscode/embedded/bin/sv restart /opt/opscode/service/nginx ----
Ran /opt/opscode/embedded/bin/sv restart /opt/opscode/service/nginx returned 1