Skip to content

Instantly share code, notes, and snippets.

@neagle
Created February 25, 2014 15:23
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 neagle/9210964 to your computer and use it in GitHub Desktop.
Save neagle/9210964 to your computer and use it in GitHub Desktop.
================================================================================
Error executing action `start` on resource 'service[postfix]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of /sbin/service postfix start ----
STDOUT: Starting postfix: [FAILED]
STDERR:
---- End output of /sbin/service postfix start ----
Ran /sbin/service postfix start returned 1
Resource Declaration:
---------------------
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/postfix/recipes/default.rb
59: service "postfix" do
60: supports :status => true, :restart => true, :reload => true
61: action :enable
62: action :start
63: end
Compiled Resource:
------------------
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/postfix/recipes/default.rb:59:in `from_file'
service("postfix") do
action [:start]
supports {:status=>true, :restart=>true, :reload=>true}
retries 0
retry_delay 2
service_name "postfix"
pattern "postfix"
startup_type :automatic
cookbook_name :postfix
recipe_name "default"
end
[2014-02-25T10:22:32-05:00] INFO: Running queued delayed notifications before re-raising exception
[2014-02-25T10:22:32-05:00] INFO: template[/etc/postfix/main.cf] sending restart action to service[postfix] (delayed)
[2014-02-25T10:22:33-05:00] INFO: service[postfix] restarted
[2014-02-25T10:22:33-05:00] ERROR: Running exception handlers
[2014-02-25T10:22:33-05:00] ERROR: Exception handlers complete
[2014-02-25T10:22:33-05:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2014-02-25T10:22:33-05:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
No error message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment