Skip to content

Instantly share code, notes, and snippets.

@randomcamel
Created May 5, 2013 23:42
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 randomcamel/5522598 to your computer and use it in GitHub Desktop.
Save randomcamel/5522598 to your computer and use it in GitHub Desktop.
Chef context of carbon-cache failing to start in the graphite-chef recipe.
[2013-05-05T23:37:03+00:00] INFO: Processing service[carbon-cache] action enable (graphite::carbon line 68)
[2013-05-05T23:37:03+00:00] INFO: Processing service[carbon-cache] action start (graphite::carbon line 68)
================================================================================
Error executing action `start` on resource 'service[carbon-cache]'
================================================================================
Chef::Exceptions::Exec
----------------------
/sbin/start carbon-cache returned 1, expected 0
Resource Declaration:
---------------------
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/graphite/recipes/carbon.rb
67:
68: service "carbon-cache" do
69: provider Chef::Provider::Service::Upstart
70: action [ :enable, :start ]
71: end
Compiled Resource:
------------------
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/graphite/recipes/carbon.rb:68:in `from_file'
service("carbon-cache") do
service_name "carbon-cache"
retry_delay 2
retries 0
recipe_name "carbon"
pattern "carbon-cache"
action [:enable, :start]
cookbook_name :graphite
startup_type :automatic
supports {:status=>false, :restart=>false, :reload=>false}
provider Chef::Provider::Service::Upstart
end
[2013-05-05T23:37:04+00:00] ERROR: Running exception handlers
[2013-05-05T23:37:04+00:00] ERROR: Exception handlers complete
[2013-05-05T23:37:04+00:00] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out
[2013-05-05T23:37:04+00:00] FATAL: Chef::Exceptions::Exec: service[carbon-cache] (graphite::carbon line 68) had an error: Chef::Exceptions::Exec: /sbin/start carbon-cache returned 1, expected 0
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
@Brennan-Parks
Copy link

Did you get this figured out? I'm having the exact same problem on CentOS 6.4

@gwaldo
Copy link

gwaldo commented Nov 19, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment