Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@wer38:~# sudo gitlab-ctl reconfigure
- Starting Chef Client, version 11.12.2
- Compiling Cookbooks...
- Recipe: gitlab::default
- * directory[/etc/gitlab] action create (up to date)
- [2014-12-18T08:31:57+00:00] WARN: Cloning resource attributes for directory[/var/opt/gitlab] from prior resource (CHEF-3694)
- [2014-12-18T08:31:57+00:00] WARN: Previous directory[/var/opt/gitlab]: /opt/gitlab/embedded/cookbooks/gitlab/recipes/default.rb:40:in `from_file'
- [2014-12-18T08:31:57+00:00] WARN: Current directory[/var/opt/gitlab]: /opt/gitlab/embedded/cookbooks/gitlab/recipes/users.rb:23:in `from_file'
- ================================================================================
- Recipe Compile Error in /opt/gitlab/embedded/cookbooks/gitlab/recipes/default.rb
- ================================================================================
- Errno::ENOMEM
- -------------
- Cannot allocate memory - fork(2)
- Cookbook Trace:
- ---------------
- /opt/gitlab/embedded/cookbooks/gitlab/libraries/helper.rb:81:in `service_up?'
- /opt/gitlab/embedded/cookbooks/gitlab/libraries/helper.rb:72:in `should_notify?'
- /opt/gitlab/embedded/cookbooks/runit/definitions/runit_service.rb:202:in `block (2 levels) in from_file'
- /opt/gitlab/embedded/cookbooks/runit/definitions/runit_service.rb:191:in `block in from_file'
- /opt/gitlab/embedded/cookbooks/gitlab/definitions/redis_service.rb:59:in `block in from_file'
- /opt/gitlab/embedded/cookbooks/gitlab/recipes/redis.rb:19:in `from_file'
- /opt/gitlab/embedded/cookbooks/gitlab/recipes/default.rb:87:in `block in from_file'
- /opt/gitlab/embedded/cookbooks/gitlab/recipes/default.rb:85:in `each'
- /opt/gitlab/embedded/cookbooks/gitlab/recipes/default.rb:85:in `from_file'
- Relevant File Content:
- ----------------------
- /opt/gitlab/embedded/cookbooks/gitlab/libraries/helper.rb:
- 74:
- 75: def self.not_listening?(service_name)
- 76: File.exists?("/opt/gitlab/service/#{service_name}/down") && service_down?(service_name)
- 77: end
- 78:
- 79: def self.service_up?(service_name)
- 80: o = Mixlib::ShellOut.new("/opt/gitlab/bin/gitlab-ctl status #{service_name}")
- 81>> o.run_command
- 82: o.exitstatus == 0
- 83: end
- 84:
- 85: def self.service_down?(service_name)
- 86: o = Mixlib::ShellOut.new("/opt/gitlab/bin/gitlab-ctl status #{service_name}")
- 87: o.run_command
- 88: o.exitstatus == 3
- 89: end
- 90:
- Running handlers:
- [2014-12-18T08:31:58+00:00] ERROR: Running exception handlers
- Running handlers complete
- [2014-12-18T08:31:58+00:00] ERROR: Exception handlers complete
- [2014-12-18T08:31:58+00:00] FATAL: Stacktrace dumped to /opt/gitlab/embedded/cookbooks/cache/chef-stacktrace.out
- Chef Client failed. 0 resources updated in 3.643872575 seconds
- [2014-12-18T08:31:58+00:00] ERROR: Cannot allocate memory - fork(2)
- [2014-12-18T08:31:58+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement