Skip to content

Instantly share code, notes, and snippets.

@pbogunovich
Created March 11, 2013 15:35
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 pbogunovich/5135088 to your computer and use it in GitHub Desktop.
Save pbogunovich/5135088 to your computer and use it in GitHub Desktop.
[2013-03-11T15:34:17+00:00] INFO: Processing service[collectd] action restart (ra_graphite::client line 47)
================================================================================
Error executing action `restart` on resource 'service[collectd]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of /etc/init.d/collectd start ----
STDOUT: Starting statistics collection and monitoring daemon: collectd
STDERR: Parse error in file `/etc/collectd/collectd.conf', line 1 near `': syntax error, unexpected $end, expecting UNQUOTED_STRING or OPENBRAC or EOL
yyparse returned error #1
configfile: Cannot read file `/etc/collectd/collectd.conf'.
Unable to read config file /etc/collectd/collectd.conf.
Error: Reading the config file failed!
Read the syslog for details.
---- End output of /etc/init.d/collectd start ----
Ran /etc/init.d/collectd start returned 1
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/ra_graphite/recipes/client.rb
47: service 'collectd' do
48: action :restart
49: end
Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/ra_graphite/recipes/client.rb:47:in `from_file'
service("collectd") do
service_name "collectd"
pattern "collectd"
retries 0
enabled true
recipe_name "client"
supports {:status=>false, :restart=>false, :reload=>false}
running true
cookbook_name "ra_graphite"
startup_type :automatic
retry_delay 2
action [:restart]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment