Created
February 25, 2013 03:53
-
-
Save dwradcliffe/5027449 to your computer and use it in GitHub Desktop.
rubygems dbmaster chef error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
** [out :: 33.33.33.12] [2013-02-25T03:27:13+00:00] INFO: Processing service[postgresql] action restart (postgresql::server line 115) | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] ================================================================================ | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] Error executing action `restart` on resource 'service[postgresql]' | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] ================================================================================ | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] Mixlib::ShellOut::ShellCommandFailed | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] ------------------------------------ | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] Expected process to exit with [0], but received '1' | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] ---- Begin output of /etc/init.d/postgresql restart ---- | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] STDOUT: * Restarting PostgreSQL 9.2 database server | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] * Error: pid file is invalid, please manually kill the stale server process. | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] ...fail! | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] STDERR: | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] ---- End output of /etc/init.d/postgresql restart ---- | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] Ran /etc/init.d/postgresql restart returned 1 | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] Resource Declaration: | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] --------------------- | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] # In /home/vagrant/chef/cookbooks/postgresql/recipes/server.rb | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] 115: service "postgresql" do | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] 116: supports :restart => true | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] 117: action [:enable, :start] | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] 118: end | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] Compiled Resource: | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] ------------------ | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] # Declared in /home/vagrant/chef/cookbooks/postgresql/recipes/server.rb:115:in `from_file' | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] service("postgresql") do | |
** [out :: 33.33.33.12] action [:enable, :start] | |
** [out :: 33.33.33.12] supports {:restart=>true} | |
** [out :: 33.33.33.12] retries 0 | |
** [out :: 33.33.33.12] retry_delay 2 | |
** [out :: 33.33.33.12] service_name "postgresql" | |
** [out :: 33.33.33.12] enabled true | |
** [out :: 33.33.33.12] running true | |
** [out :: 33.33.33.12] pattern "postgresql" | |
** [out :: 33.33.33.12] startup_type :automatic | |
** [out :: 33.33.33.12] cookbook_name :postgresql | |
** [out :: 33.33.33.12] recipe_name "server" | |
** [out :: 33.33.33.12] end | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] [2013-02-25T03:27:13+00:00] ERROR: Running exception handlers | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] [2013-02-25T03:27:13+00:00] ERROR: Exception handlers complete | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] [2013-02-25T03:27:13+00:00] FATAL: Stacktrace dumped to /home/vagrant/chef/chef-stacktrace.out | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] [2013-02-25T03:27:13+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: service[postgresql] (postgresql::server line 115) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] ---- Begin output of /etc/init.d/postgresql restart ---- | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] STDOUT: * Restarting PostgreSQL 9.2 database server | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] * Error: pid file is invalid, please manually kill the stale server process. | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] ...fail! | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] STDERR: | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] ---- End output of /etc/init.d/postgresql restart ---- | |
** [out :: 33.33.33.12] | |
** [out :: 33.33.33.12] Ran /etc/init.d/postgresql restart returned 1 | |
** [out :: 33.33.33.12] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment