capistrano を使用して新しいコードを Amazon EC2 インスタンスにデプロイしようとしましたが、突然、次のエラーが発生しました。
servers: ["IP"]
[IP] executing command
*** [err :: IP] cat:
*** [err :: IP] /home/deployer/fileto/current/tmp/pids/unicorn.pid
*** [err :: IP] : No such file or directory
*** [err :: IP]
*** [err :: IP] sh: 1: kill:
*** [err :: IP] Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
*** [err :: IP] kill -l [exitstatus]
*** [err :: IP]
command finished in 371ms
failed: "sh -c 'kill -s USR2 `cat /home/deployer/project_name/current/tmp/pids/unicorn.pid`'" on IP
2 時間前にコードを正常にデプロイしましたが、今試してみると、このエラー メッセージが表示されます。
2 時間前にすべてが正常に機能していた場合、インスタンスとデプロイ プロセス全体に何が起こったのでしょうか?
編集:実行すると
kill -s USR2cat /home/deployer/fileto/current/tmp/pids/unicorn.pid
私は得る
cat: /home/deployer/fileto/current/tmp/pids/unicorn.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]