###当然のエラー
普段capistrano + nginx + unicorn でデプロイを行っているのですが、以下のエラーが出て対処に困っています。
###発生している問題・エラーメッセージ
00:18 unicorn:restart 01 kill -s USR2 $(< /var/www/Vook/current/tmp/pids/unicorn.pid) 01 kill: 01 sending signal to 2933 failed 01 : 01 そのようなプロセスはありません (Backtrace restricted to imported tasks) cap aborted! SSHKit::Runner::ExecuteError: Exception while executing as Daik@xx.xxx.xxx.xxx: xxxx exit status: 1 kill stdout: Nothing written kill stderr: kill: sending signal to 2933 failed: そのようなプロセスはありません SSHKit::Command::Failed: kill exit status: 1 kill stdout: Nothing written kill stderr: kill: sending signal to 2933 failed: そのようなプロセスはありません /Users/takayadaiki/projects/Vook/lib/capistrano/tasks/unicorn.rb:22:in `reload_unicorn' /Users/takayadaiki/projects/Vook/lib/capistrano/tasks/unicorn.rb:51:in `block (3 levels) in <top (required)>' Tasks: TOP => unicorn:restart (See full trace by running task with --trace) The deploy has failed with an error: Exception while executing as Daiki@52.197.206.151: kill exit status: 1 kill stdout: Nothing written kill stderr: kill: sending signal to 2933 failed: そのようなプロセスはありません ** DEPLOY FAILED ** Refer to log/capistrano.log for details. Here are the last 20 lines: DEBUG [b077b009] Command: if test ! -d /var/www/Vook/releases/20160915034056; then echo "Directory does not exist '/var/www/Vook/releases/20160915034056'" 1>&2; false;… DEBUG [b077b009] Finished in 0.067 seconds with exit status 0 (successful). INFO [0bb365da] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as Daiki@52.197.206.151 DEBUG [0bb365da] Command: cd /var/www/Vook/releases/20160915034056 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.1.3" RAILS_ENV="production" ; $HOME/.rbenv/bi… INFO [0bb365da] Finished in 2.535 seconds with exit status 0 (successful). INFO [60ff3f88] Running /usr/bin/env ln -s /var/www/Vook/releases/20160915034056 /var/www/Vook/releases/current as Daiki@xx.xxx.xxx.xxx DEBUG [60ff3f88] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.1.3" ; /usr/bin/env ln -s /var/www/Vook/releases/20160915034056 /var/www/Vook/releases/cu… INFO [60ff3f88] Finished in 0.124 seconds with exit status 0 (successful). INFO [07e249f1] Running /usr/bin/env mv /var/www/Vook/releases/current /var/www/Vook as Daiki@52.197.206.151 DEBUG [07e249f1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.1.3" ; /usr/bin/env mv /var/www/Vook/releases/current /var/www/Vook ) INFO [07e249f1] Finished in 0.061 seconds with exit status 0 (successful). DEBUG [d1f1d93c] Running [ -f /var/www/Vook/current/tmp/pids/unicorn.pid ] as Daiki@xx.xxx.xxx.xxx DEBUG [d1f1d93c] Command: [ -f /var/www/Vook/current/tmp/pids/unicorn.pid ] DEBUG [d1f1d93c] Finished in 0.092 seconds with exit status 0 (successful). INFO [8cb33115] Running /usr/bin/env kill -s USR2 $(< /var/www/Vook/current/tmp/pids/unicorn.pid) as Daiki@52.197.206.151 DEBUG [8cb33115] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.1.3" ; /usr/bin/env kill -s USR2 $(< /var/www/Vook/current/tmp/pids/unicorn.pid) ) DEBUG [8cb33115] kill: DEBUG [8cb33115] sending signal to 2933 failed DEBUG [8cb33115] : DEBUG [8cb33115] そのようなプロセスはありません
###該当のソースコード
正直、どこが悪いのか見当もつかないのでご指摘していただけると嬉しいです。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/09/19 05:18