While installing chef 12.17.15, 12.17.5, 12.17.3, getting below error

#cat /etc/lsb-release

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION=“Ubuntu 14.04.5 LTS”

used chef server version as: chef-server-core_12.17.5-1_amd64.deb, chef-server-core_12.17.15-1_amd64.deb, chef-server-core_12.17.3-1_amd64.deb

Run command:

chef-server-ctl reconfigure

received o/p as below

================================================================================
Error executing action run on resource ‘ruby_block[wait for nginx service socket]’
================================================================================

    Errno::ENOMEM
    -------------
    Cannot allocate memory - fork(2)
    
    Cookbook Trace:
    ---------------
    /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/helpers.rb:151:in `binary_exists?'
    /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/helpers.rb:79:in `wait_for_service'
    /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:293:in `block (3 levels) in <class:RunitService>'
    /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:64:in `block (3 levels) in <class:RunitService>'
    /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:282:in `block in <class:RunitService>'
    
    Resource Declaration:
    ---------------------
    # In /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb
    
    291:         ruby_block "wait for #{new_resource.service_name} service socket" do
    292:           block do
    293:             wait_for_service
    294:           end
    295:           action :run
    296:         end
    297: 
    
    Compiled Resource:
    ------------------
    # Declared in /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:291:in `block in <class:RunitService>'
    
    ruby_block("wait for nginx service socket") do
      action [:run]
      retries 0
      retry_delay 2
      default_guard_interpreter :default
      block_name "wait for nginx service socket"
      declared_type :ruby_block
      cookbook_name "private-chef"
      block #<Proc:0x00000002161668@/var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:292>
    end
    
    Platform:
    ---------
    x86_64-linux
    
  
  ================================================================================
  Error executing action `run` on resource 'ruby_block[restart_log_service]'
  ================================================================================
  
  Errno::ENOMEM
  -------------
  ruby_block[wait for nginx service socket] (/var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb line 291) had an error: Errno::ENOMEM: Cannot allocate memory - fork(2)
  
  Cookbook Trace:
  ---------------
  /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/helpers.rb:151:in `binary_exists?'
  /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/helpers.rb:79:in `wait_for_service'
  /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:293:in `block (3 levels) in <class:RunitService>'
  /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:64:in `block (3 levels) in <class:RunitService>'
  /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:282:in `block in <class:RunitService>'
  
  Resource Declaration:
  ---------------------
  # In /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb
  
   62:         ruby_block 'restart_log_service' do
   63:           block do
   64:             action_enable
   65:             restart_log_service
   66:           end
   67:           action :nothing
   68:           only_if { new_resource.restart_on_update && !new_resource.start_down }
   69:         end
   70: 
  
  Compiled Resource:
  ------------------
  # Declared in /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:62:in `block in <class:RunitService>'
  
  ruby_block("restart_log_service") do
    action [:nothing]
    retries 0
    retry_delay 2
    default_guard_interpreter :default
    block_name "restart_log_service"
    declared_type :ruby_block
    cookbook_name "private-chef"
    block #<Proc:0x00000005e1f1e0@/var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:63>
    only_if { #code block }
  end
  
  Platform:
  ---------
  x86_64-linux
  
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
* directory[/opt/opscode/sv/nginx] action create (up to date)
* template[/opt/opscode/sv/nginx/run] action create (up to date)
* directory[/opt/opscode/sv/nginx/log] action create (up to date)
* directory[/opt/opscode/sv/nginx/log/main] action create (up to date)
* directory[/var/log/nginx] action create (up to date)
* template[/opt/opscode/sv/nginx/log/config] action create (up to date)
* link[/var/log/nginx/config] action create (up to date)
* template[/opt/opscode/sv/nginx/log/run] action create (up to date)
* directory[/opt/opscode/sv/nginx/env] action create (up to date)
* ruby_block[Delete unmanaged env files for nginx service] action run (skipped due to only_if)
* template[/opt/opscode/sv/nginx/check] action create (skipped due to only_if)
* template[/opt/opscode/sv/nginx/finish] action create (skipped due to only_if)
* directory[/opt/opscode/sv/nginx/control] action create (up to date)
* link[/opt/opscode/init/nginx] action create (up to date)
* file[/opt/opscode/sv/nginx/down] action nothing (skipped due to action :nothing)
* directory[/opt/opscode/service] action create (up to date)
* link[/opt/opscode/service/nginx] action create (up to date)
* ruby_block[wait for nginx service socket] action run
  
  ================================================================================
  Error executing action `run` on resource 'ruby_block[wait for nginx service socket]'
  ================================================================================
  
  Errno::ENOMEM
  -------------
  Cannot allocate memory - fork(2)
  
  Cookbook Trace:
  ---------------
  /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/helpers.rb:151:in `binary_exists?'
  /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/helpers.rb:79:in `wait_for_service'
  /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:293:in `block (3 levels) in <class:RunitService>'
  
  Resource Declaration:
  ---------------------
  # In /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb
  
  291:         ruby_block "wait for #{new_resource.service_name} service socket" do
  292:           block do
  293:             wait_for_service
  294:           end
  295:           action :run
  296:         end
  297: 
  
  Compiled Resource:
  ------------------
  # Declared in /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:291:in `block in <class:RunitService>'
  
  ruby_block("wait for nginx service socket") do
    action [:run]
    retries 0
    retry_delay 2
    default_guard_interpreter :default
    block_name "wait for nginx service socket"
    declared_type :ruby_block
    cookbook_name "private-chef"
    block #<Proc:0x00000004eb1488@/var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:292>
  end
  
  Platform:
  ---------
  x86_64-linux
  
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
* directory[/opt/opscode/sv/nginx] action create (up to date)
* template[/opt/opscode/sv/nginx/run] action create (up to date)
* directory[/opt/opscode/sv/nginx/log] action create (up to date)
* directory[/opt/opscode/sv/nginx/log/main] action create (up to date)
* directory[/var/log/nginx] action create (up to date)
* template[/opt/opscode/sv/nginx/log/config] action create (up to date)
* link[/var/log/nginx/config] action create (up to date)
* template[/opt/opscode/sv/nginx/log/run] action create (up to date)
* directory[/opt/opscode/sv/nginx/env] action create (up to date)
* ruby_block[Delete unmanaged env files for nginx service] action run (skipped due to only_if)
* template[/opt/opscode/sv/nginx/check] action create (skipped due to only_if)
* template[/opt/opscode/sv/nginx/finish] action create (skipped due to only_if)
* directory[/opt/opscode/sv/nginx/control] action create (up to date)
* link[/opt/opscode/init/nginx] action create (up to date)
* file[/opt/opscode/sv/nginx/down] action nothing (skipped due to action :nothing)
* directory[/opt/opscode/service] action create (up to date)
* link[/opt/opscode/service/nginx] action create (up to date)
* ruby_block[wait for nginx service socket] action run
  
  ================================================================================
  Error executing action `run` on resource 'ruby_block[wait for nginx service socket]'
  ================================================================================
  
  Errno::ENOMEM
  -------------
  Cannot allocate memory - fork(2)
  
  Cookbook Trace:
  ---------------
  /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/helpers.rb:151:in `binary_exists?'
  /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/helpers.rb:79:in `wait_for_service'
  /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:293:in `block (3 levels) in <class:RunitService>'
  
  Resource Declaration:
  ---------------------
  # In /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb
  
  291:         ruby_block "wait for #{new_resource.service_name} service socket" do
  292:           block do
  293:             wait_for_service
  294:           end
  295:           action :run
  296:         end
  297: 
  
  Compiled Resource:
  ------------------
  # Declared in /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:291:in `block in <class:RunitService>'
  
  ruby_block("wait for nginx service socket") do
    action [:run]
    retries 0
    retry_delay 2
    default_guard_interpreter :default
    block_name "wait for nginx service socket"
    declared_type :ruby_block
    cookbook_name "private-chef"
    block #<Proc:0x00000004dddcc8@/var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:292>
  end
  
  Platform:
  ---------
  x86_64-linux
  
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
* directory[/opt/opscode/sv/nginx] action create (up to date)
* template[/opt/opscode/sv/nginx/run] action create (up to date)
* directory[/opt/opscode/sv/nginx/log] action create (up to date)
* directory[/opt/opscode/sv/nginx/log/main] action create (up to date)
* directory[/var/log/nginx] action create (up to date)
* template[/opt/opscode/sv/nginx/log/config] action create (up to date)
* link[/var/log/nginx/config] action create (up to date)
* template[/opt/opscode/sv/nginx/log/run] action create (up to date)
* directory[/opt/opscode/sv/nginx/env] action create (up to date)
* ruby_block[Delete unmanaged env files for nginx service] action run (skipped due to only_if)
* template[/opt/opscode/sv/nginx/check] action create (skipped due to only_if)
* template[/opt/opscode/sv/nginx/finish] action create (skipped due to only_if)
* directory[/opt/opscode/sv/nginx/control] action create (up to date)
* link[/opt/opscode/init/nginx] action create (up to date)
* file[/opt/opscode/sv/nginx/down] action nothing (skipped due to action :nothing)
* directory[/opt/opscode/service] action create (up to date)
* link[/opt/opscode/service/nginx] action create (up to date)
* ruby_block[wait for nginx service socket] action run
  
  ================================================================================
  Error executing action `run` on resource 'ruby_block[wait for nginx service socket]'
  ================================================================================
  
  Errno::ENOMEM
  -------------
  Cannot allocate memory - fork(2)
  
  Cookbook Trace:
  ---------------
  /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/helpers.rb:151:in `binary_exists?'
  /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/helpers.rb:79:in `wait_for_service'
  /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:293:in `block (3 levels) in <class:RunitService>'
  
  Resource Declaration:
  ---------------------
  # In /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb
  
  291:         ruby_block "wait for #{new_resource.service_name} service socket" do
  292:           block do
  293:             wait_for_service
  294:           end
  295:           action :run
  296:         end
  297: 
  
  Compiled Resource:
  ------------------
  # Declared in /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:291:in `block in <class:RunitService>'
  
  ruby_block("wait for nginx service socket") do
    action [:run]
    retries 0
    retry_delay 2
    default_guard_interpreter :default
    block_name "wait for nginx service socket"
    declared_type :ruby_block
    cookbook_name "private-chef"
    block #<Proc:0x00000004dddae8@/var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:292>
  end
  
  Platform:
  ---------
  x86_64-linux
  
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
* directory[/opt/opscode/sv/nginx] action create (up to date)
* template[/opt/opscode/sv/nginx/run] action create (up to date)
* directory[/opt/opscode/sv/nginx/log] action create (up to date)
* directory[/opt/opscode/sv/nginx/log/main] action create (up to date)
* directory[/var/log/nginx] action create (up to date)
* template[/opt/opscode/sv/nginx/log/config] action create (up to date)
* link[/var/log/nginx/config] action create (up to date)
* template[/opt/opscode/sv/nginx/log/run] action create (up to date)
* directory[/opt/opscode/sv/nginx/env] action create (up to date)
* ruby_block[Delete unmanaged env files for nginx service] action run (skipped due to only_if)
* template[/opt/opscode/sv/nginx/check] action create (skipped due to only_if)
* template[/opt/opscode/sv/nginx/finish] action create (skipped due to only_if)
* directory[/opt/opscode/sv/nginx/control] action create (up to date)
* link[/opt/opscode/init/nginx] action create (up to date)
* file[/opt/opscode/sv/nginx/down] action nothing (skipped due to action :nothing)
* directory[/opt/opscode/service] action create (up to date)
* link[/opt/opscode/service/nginx] action create (up to date)
* ruby_block[wait for nginx service socket] action run
  
  ================================================================================
  Error executing action `run` on resource 'ruby_block[wait for nginx service socket]'
  ================================================================================
  
  Errno::ENOMEM
  -------------
  Cannot allocate memory - fork(2)
  
  Cookbook Trace:
  ---------------
  /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/helpers.rb:151:in `binary_exists?'
  /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/helpers.rb:79:in `wait_for_service'
  /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:293:in `block (3 levels) in <class:RunitService>'
  
  Resource Declaration:
  ---------------------
  # In /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb
  
  291:         ruby_block "wait for #{new_resource.service_name} service socket" do
  292:           block do
  293:             wait_for_service
  294:           end
  295:           action :run
  296:         end
  297: 
  
  Compiled Resource:
  ------------------
  # Declared in /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:291:in `block in <class:RunitService>'
  
  ruby_block("wait for nginx service socket") do
    action [:run]
    retries 0
    retry_delay 2
    default_guard_interpreter :default
    block_name "wait for nginx service socket"
    declared_type :ruby_block
    cookbook_name "private-chef"
    block #<Proc:0x00000004dddc28@/var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:292>
  end
  
  Platform:
  ---------
  x86_64-linux
  
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
* directory[/opt/opscode/sv/nginx] action create (up to date)
* template[/opt/opscode/sv/nginx/run] action create (up to date)
* directory[/opt/opscode/sv/nginx/log] action create (up to date)
* directory[/opt/opscode/sv/nginx/log/main] action create (up to date)
* directory[/var/log/nginx] action create (up to date)
* template[/opt/opscode/sv/nginx/log/config] action create (up to date)
* link[/var/log/nginx/config] action create (up to date)
* template[/opt/opscode/sv/nginx/log/run] action create (up to date)
* directory[/opt/opscode/sv/nginx/env] action create (up to date)
* ruby_block[Delete unmanaged env files for nginx service] action run (skipped due to only_if)
* template[/opt/opscode/sv/nginx/check] action create (skipped due to only_if)
* template[/opt/opscode/sv/nginx/finish] action create (skipped due to only_if)
* directory[/opt/opscode/sv/nginx/control] action create (up to date)
* link[/opt/opscode/init/nginx] action create (up to date)
* file[/opt/opscode/sv/nginx/down] action nothing (skipped due to action :nothing)
* directory[/opt/opscode/service] action create (up to date)
* link[/opt/opscode/service/nginx] action create (up to date)
* ruby_block[wait for nginx service socket] action run
  
  ================================================================================
  Error executing action `run` on resource 'ruby_block[wait for nginx service socket]'
  ================================================================================
  
  Errno::ENOMEM
  -------------
  Cannot allocate memory - fork(2)
  
  Cookbook Trace:
  ---------------
  /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/helpers.rb:151:in `binary_exists?'
  /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/helpers.rb:79:in `wait_for_service'
  /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:293:in `block (3 levels) in <class:RunitService>'
  
  Resource Declaration:
  ---------------------
  # In /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb
  
  291:         ruby_block "wait for #{new_resource.service_name} service socket" do
  292:           block do
  293:             wait_for_service
  294:           end
  295:           action :run
  296:         end
  297: 
  
  Compiled Resource:
  ------------------
  # Declared in /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:291:in `block in <class:RunitService>'
  
  ruby_block("wait for nginx service socket") do
    action [:run]
    retries 0
    retry_delay 2
    default_guard_interpreter :default
    block_name "wait for nginx service socket"
    declared_type :ruby_block
    cookbook_name "private-chef"
    block #<Proc:0x00000004dddb38@/var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:292>
  end
  
  Platform:
  ---------
  x86_64-linux
  
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
* directory[/opt/opscode/sv/nginx] action create (up to date)
* template[/opt/opscode/sv/nginx/run] action create (up to date)
* directory[/opt/opscode/sv/nginx/log] action create (up to date)
* directory[/opt/opscode/sv/nginx/log/main] action create (up to date)
* directory[/var/log/nginx] action create (up to date)
* template[/opt/opscode/sv/nginx/log/config] action create (up to date)
* link[/var/log/nginx/config] action create (up to date)
* template[/opt/opscode/sv/nginx/log/run] action create (up to date)
* directory[/opt/opscode/sv/nginx/env] action create (up to date)
* ruby_block[Delete unmanaged env files for nginx service] action run (skipped due to only_if)
* template[/opt/opscode/sv/nginx/check] action create (skipped due to only_if)
* template[/opt/opscode/sv/nginx/finish] action create (skipped due to only_if)
* directory[/opt/opscode/sv/nginx/control] action create (up to date)
* link[/opt/opscode/init/nginx] action create (up to date)
* file[/opt/opscode/sv/nginx/down] action nothing (skipped due to action :nothing)
* directory[/opt/opscode/service] action create (up to date)
* link[/opt/opscode/service/nginx] action create (up to date)
* ruby_block[wait for nginx service socket] action run
  
  ================================================================================
  Error executing action `run` on resource 'ruby_block[wait for nginx service socket]'
  ================================================================================
  
  Errno::ENOMEM
  -------------
  Cannot allocate memory - fork(2)
  
  Cookbook Trace:
  ---------------
  /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/helpers.rb:151:in `binary_exists?'
  /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/helpers.rb:79:in `wait_for_service'
  /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:293:in `block (3 levels) in <class:RunitService>'
  
  Resource Declaration:
  ---------------------
  # In /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb
  
  291:         ruby_block "wait for #{new_resource.service_name} service socket" do
  292:           block do
  293:             wait_for_service
  294:           end
  295:           action :run
  296:         end
  297: 
  
  Compiled Resource:
  ------------------
  # Declared in /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:291:in `block in <class:RunitService>'
  
  ruby_block("wait for nginx service socket") do
    action [:run]
    retries 0
    retry_delay 2
    default_guard_interpreter :default
    block_name "wait for nginx service socket"
    declared_type :ruby_block
    cookbook_name "private-chef"
    block #<Proc:0x00000004dddc28@/var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:292>
  end
  • execute[set initial migration level] action run

    ================================================================================
    Error executing action run on resource ‘execute[set initial migration level]’

    Mixlib::ShellOut::ShellCommandFailed

    Expected process to exit with [0], but received ‘1’
    ---- Begin output of cd /opt/opscode/embedded/service/partybus && ./bin/partybus init ----
    STDOUT:
    STDERR: ./bin/partybus:11:in require': cannot load such file -- /opt/opscode/embedded/service/partybus/config.rb (LoadError) from ./bin/partybus:11:in'
    ---- End output of cd /opt/opscode/embedded/service/partybus && ./bin/partybus init ----
    Ran cd /opt/opscode/embedded/service/partybus && ./bin/partybus init returned 1

    Resource Declaration:

    In /var/opt/opscode/local-mode-cache/cookbooks/private-chef/recipes/partybus.rb

    47: execute “set initial migration level” do
    48: action :nothing
    49: command "cd /opt/opscode/embedded/service/partybus && ./bin/partybus init"
    50: subscribes :run, “file[#{OmnibusHelper.bootstrap_sentinel_file}]”, :delayed
    51: end
    52:

    Compiled Resource:

    Declared in /var/opt/opscode/local-mode-cache/cookbooks/private-chef/recipes/partybus.rb:47:in `from_file’

    execute(“set initial migration level”) do
    action [:nothing]
    retries 0
    retry_delay 2
    default_guard_interpreter :execute
    command "cd /opt/opscode/embedded/service/partybus && ./bin/partybus init"
    backup 5
    returns 0
    user nil
    declared_type :execute
    cookbook_name "private-chef"
    recipe_name "partybus"
    end

    Platform:

    x86_64-linux

Recipe: private-chef::opscode-chef-mover

  • execute[restart_opscode-chef-mover_log_service] action run
    • execute /opt/opscode/embedded/bin/sv restart /opt/opscode/sv/opscode-chef-mover/log
      Recipe: private-chef::redis_lb
  • execute[restart_redis_lb_log_service] action run
    • execute /opt/opscode/embedded/bin/sv restart /opt/opscode/sv/redis_lb/log
      Recipe: private-chef::nginx
  • execute[restart_nginx_log_service] action run
    • execute /opt/opscode/embedded/bin/sv restart /opt/opscode/sv/nginx/log
      Recipe: private-chef::rabbitmq
  • execute[restart_rabbitmq_log_service] action run
    • execute /opt/opscode/embedded/bin/sv restart /opt/opscode/sv/rabbitmq/log

Running handlers:
Running handlers complete
Chef Client failed. 452 resources updated in 05 minutes 57 seconds
[2018-01-31T11:43:01+00:00] FATAL: Stacktrace dumped to /var/opt/opscode/local-mode-cache/chef-stacktrace.out
[2018-01-31T11:43:01+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2018-01-31T11:43:01+00:00] FATAL: Chef::Exceptions::MultipleFailures: Multiple failures occurred:

  • Errno::ENOMEM occurred in chef run: execute[/opt/opscode/embedded/bin/rabbitmqctl add_vhost /chef] (private-chef::rabbitmq line 119) had an error: Errno::ENOMEM: execute[Guard resource] (dynamically defined) had an error: Errno::ENOMEM: Cannot allocate memory - fork(2)
  • Errno::ENOMEM occurred in delayed notification: runit_service[postgresql] (private-chef::postgresql line 37) had an error: Errno::ENOMEM: Cannot allocate memory - fork(2)
  • Errno::ENOMEM occurred in delayed notification: execute[restart_postgresql_log_service] (private-chef::postgresql line 19) had an error: Errno::ENOMEM: Cannot allocate memory - fork(2)
  • Errno::ENOMEM occurred in delayed notification: runit_service[oc_bifrost] (private-chef::oc_bifrost line 37) had an error: Errno::ENOMEM: Cannot allocate memory - fork(2)
  • Errno::ENOMEM occurred in delayed notification: execute[restart_oc_bifrost_log_service] (private-chef::oc_bifrost line 19) had an error: Errno::ENOMEM: Cannot allocate memory - fork(2)
  • Mixlib::ShellOut::ShellCommandFailed occurred in delayed notification: execute[set initial migration level] (private-chef::partybus line 47) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received ‘1’
    ---- Begin output of cd /opt/opscode/embedded/service/partybus && ./bin/partybus init ----
    STDOUT:
    STDERR: ./bin/partybus:11:in require': cannot load such file -- /opt/opscode/embedded/service/partybus/config.rb (LoadError) from ./bin/partybus:11:in'
    ---- End output of cd /opt/opscode/embedded/service/partybus && ./bin/partybus init ----
    Ran cd /opt/opscode/embedded/service/partybus && ./bin/partybus init returned 1

I have also installed I have installed runit

ps -ef | grep runsvdir

root 911 1 0 09:11 ? 00:00:00 runsvdir -P /etc/service log:

runsvdir -P /opt/opscode/service log

runsv oc_id: fatal: unable to lock supervise/lock: temporary failure
runsv bookshelf: fatal: unable to lock supervise/lock: temporary failure
runsv opscode-expander: fatal: unable to lock supervise/lock: temporary failure
runsv nginx: fatal: unable to lock supervise/lock: temporary failure
runsv opscode-chef-mover: fatal: unable to lock supervise/lock: temporary failure

A post was merged into an existing topic: Issue with chef-server-ctl