Skip to content

Instantly share code, notes, and snippets.

@raygunsix
Created December 2, 2011 00:33
Show Gist options
  • Save raygunsix/1420984 to your computer and use it in GitHub Desktop.
Save raygunsix/1420984 to your computer and use it in GitHub Desktop.
EY ssh deploy issue
** [out :: 208.39.112.205:7000] Mobihand Application belongs to community 'AppZone'
** [out :: 208.39.112.205:7000] Finished import - total time: 00:15:36
command finished
* executing `thinking_sphinx:start'
* executing "sudo -p 'sudo password: ' /usr/bin/monit start sphinx_appzone_3312"
servers: ["208.39.112.205", "208.39.112.205"]
*** [deploy:update_code] rolling back
* executing "rm -rf /data/appzone/releases/20111201005532; true"
servers: ["208.39.112.205"]
[208.39.112.205:7000] executing command
[208.39.112.205:7000] executing command
command finished
Please wait while the log file is processed
Executing Post Processing Hooks
* executing `ey_logger:upload_log_to_slice'
* executing "mkdir -p /data/appzone/shared/deploy_logs"
servers: ["208.39.112.205"]
[208.39.112.205:7000] executing command
command finished
servers: ["208.39.112.205"]
** sftp upload #<StringIO:0x111d414c8> -> /data/appzone/shared/deploy_logs/20111201005532-deploy_long-FAILURE.log
[208.39.112.205] /data/appzone/shared/deploy_logs/20111201005532-deploy_long-FAILURE.log
[208.39.112.205] done
* sftp upload complete
Finished Post Processing Hooks
/Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/net-ssh-2.1.4/lib/net/ssh/buffered_io.rb:65:in `recv': Connection reset by peer - recvfrom(2) (Errno::ECONNRESET)
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/net-ssh-2.1.4/lib/net/ssh/buffered_io.rb:65:in `fill'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/net-ssh-2.1.4/lib/net/ssh/transport/packet_stream.rb:85:in `next_packet'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/net-ssh-2.1.4/lib/net/ssh/transport/session.rb:169:in `poll_message'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/net-ssh-2.1.4/lib/net/ssh/transport/session.rb:164:in `loop'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/net-ssh-2.1.4/lib/net/ssh/transport/session.rb:164:in `poll_message'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/net-ssh-2.1.4/lib/net/ssh/connection/session.rb:451:in `dispatch_incoming_packets'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/net-ssh-2.1.4/lib/net/ssh/connection/session.rb:213:in `preprocess'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/processable.rb:17:in `process_iteration'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/processable.rb:43:in `ensure_each_session'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/processable.rb:41:in `each'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/processable.rb:41:in `ensure_each_session'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/processable.rb:17:in `process_iteration'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/command.rb:163:in `process!'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/command.rb:162:in `loop'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/command.rb:162:in `process!'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/command.rb:133:in `process'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/actions/invocation.rb:175:in `run_tree'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/connections.rb:172:in `execute_on_servers'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/net-ssh-2.1.4/lib/net/ssh/connection/channel.rb:549:in `each_slice'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/connections.rb:160:in `each'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/connections.rb:160:in `each_slice'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/connections.rb:160:in `execute_on_servers'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/actions/invocation.rb:173:in `run_tree'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/actions/invocation.rb:145:in `run'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/actions/invocation.rb:211:in `sudo'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/namespaces.rb:186:in `send'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/namespaces.rb:186:in `method_missing'
from ./config/deploy.rb:282:in `load'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/execution.rb:139:in `instance_eval'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/execution.rb:139:in `invoke_task_directly_without_callbacks'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/callbacks.rb:27:in `invoke_task_directly'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/execution.rb:89:in `execute_task'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/namespaces.rb:186:in `send'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/namespaces.rb:186:in `method_missing'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/namespaces.rb:104:in `start'
from profiles/appzone/config/profile_deploy_details.rb:112:in `load'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/execution.rb:139:in `instance_eval'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/execution.rb:139:in `invoke_task_directly_without_callbacks'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/callbacks.rb:27:in `invoke_task_directly'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/execution.rb:89:in `execute_task'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/execution.rb:101:in `find_and_execute_task'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/callback.rb:38:in `call'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/callbacks.rb:128:in `trigger'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/callbacks.rb:128:in `each'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/callbacks.rb:128:in `trigger'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/callbacks.rb:25:in `invoke_task_directly'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/execution.rb:89:in `execute_task'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/execution.rb:101:in `find_and_execute_task'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/callback.rb:38:in `call'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/callbacks.rb:128:in `trigger'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/callbacks.rb:128:in `each'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/callbacks.rb:128:in `trigger'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/callbacks.rb:29:in `invoke_task_directly'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/execution.rb:89:in `execute_task'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/execution.rb:101:in `find_and_execute_task'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/callback.rb:38:in `call'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/callbacks.rb:128:in `trigger'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/callbacks.rb:128:in `each'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/callbacks.rb:128:in `trigger'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/callbacks.rb:29:in `invoke_task_directly'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/execution.rb:89:in `execute_task'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/execution.rb:101:in `find_and_execute_task'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/callback.rb:38:in `call'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/callbacks.rb:128:in `trigger'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/callbacks.rb:128:in `each'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/callbacks.rb:128:in `trigger'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/callbacks.rb:29:in `invoke_task_directly'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/execution.rb:89:in `execute_task'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/namespaces.rb:186:in `send'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/namespaces.rb:186:in `method_missing'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/namespaces.rb:104:in `update_code'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/eycap-0.5.6/lib/eycap/recipes/deploy.rb:63
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/execution.rb:56:in `transaction'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/namespaces.rb:186:in `send'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/namespaces.rb:186:in `method_missing'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/eycap-0.5.6/lib/eycap/recipes/deploy.rb:62
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/execution.rb:139:in `instance_eval'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/execution.rb:139:in `invoke_task_directly_without_callbacks'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/callbacks.rb:27:in `invoke_task_directly'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/execution.rb:89:in `execute_task'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/configuration/execution.rb:101:in `find_and_execute_task'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/cli/execute.rb:46:in `execute_requested_actions_without_help'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/cli/execute.rb:45:in `each'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/cli/execute.rb:45:in `execute_requested_actions_without_help'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/cli/help.rb:19:in `execute_requested_actions'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/cli/execute.rb:34:in `execute!'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/lib/capistrano/cli/execute.rb:14:in `execute'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.5.19/bin/cap:4
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/bin/cap:19:in `load'
from /Users/creid/.rvm/gems/ree-1.8.7-2011.03/bin/cap:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment