Skip to content

Instantly share code, notes, and snippets.

@juliandunn
Created September 27, 2012 18:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juliandunn/3795650 to your computer and use it in GitHub Desktop.
Save juliandunn/3795650 to your computer and use it in GitHub Desktop.
chef-expander 10.14.2 won't start
[2012-09-27T14:31:49-04:00] INFO: Processing service[chef-expander] action start (chef-server::rubygems-install line 224)
================================================================================
Error executing action `start` on resource 'service[chef-expander]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of /sbin/service chef-expander start ----
STDOUT: Starting chef-expander: [FAILED]
STDERR: /usr/lib/ruby/site_ruby/1.8/rubygems.rb:233:in `activate': can't activate eventmachine (~> 0.12.10, runtime) for ["chef-expander-10.14.2"], already activated eventmachine-1.0.0 for ["amqp-0.6.7", "chef-expander-10.14.2"] (Gem::LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:249:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:248:in `each'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:248:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:1082:in `gem'
from /usr/sbin/chef-expander:18
---- End output of /sbin/service chef-expander start ----
Ran /sbin/service chef-expander start returned 1
Resource Declaration:
---------------------
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/chef-server/recipes/rubygems-install.rb
223:
224: service "#{svc}" do
225: supports :status => true
226: action [ :enable, :start ]
227: end
228: end
Compiled Resource:
------------------
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/chef-server/recipes/rubygems-install.rb:224:in `from_file'
service("chef-expander") do
updated true
startup_type :automatic
pattern "chef-expander"
service_name "chef-expander"
supports {:status=>true}
recipe_name "rubygems-install"
retry_delay 2
cookbook_name :"chef-server"
retries 0
action [:enable, :start]
end
[2012-09-27T14:31:50-04:00] ERROR: Running exception handlers
[2012-09-27T14:31:50-04:00] ERROR: Exception handlers complete
[2012-09-27T14:31:52-04:00] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out
[2012-09-27T14:31:52-04:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: service[chef-expander] (chef-server::rubygems-install line 224) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /sbin/service chef-expander start ----
STDOUT: Starting chef-expander: [FAILED]
STDERR: /usr/lib/ruby/site_ruby/1.8/rubygems.rb:233:in `activate': can't activate eventmachine (~> 0.12.10, runtime) for ["chef-expander-10.14.2"], already activated eventmachine-1.0.0 for ["amqp-0.6.7", "chef-expander-10.14.2"] (Gem::LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:249:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:248:in `each'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:248:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:1082:in `gem'
from /usr/sbin/chef-expander:18
---- End output of /sbin/service chef-expander start ----
Ran /sbin/service chef-expander start returned 1
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment