(乘客代理)信号已收到。正常关闭

(乘客代理)信号已收到。正常关闭

我有一个正在 aws ec2 实例上部署的 rails 应用程序,这是我第一次使用 Rubber Gem,为此我一直关注本教程。删除默认的 nginx 配置并进行初始部署(我提到的教程的第 5 步)后,每当我尝试使用公共 IP 或 DNS 访问我的应用程序时,我都会收到 403 Forbidden nginx 屏幕。在检查服务器上的 nginx 错误日志时,我发现了这一点。我已经在这个问题上困扰了很长时间,任何帮助都将不胜感激。谢谢。

tail -f /var/log/nginx/error.log
[ 2015-07-10 05:49:13.7236 13522/7fc24be3a780 age/Wat/Main.cpp:1264 ]: Starting PassengerAgent watchdog...
[ 2015-07-10 05:49:13.7526 13525/7f2f7f588780 age/Hel/Main.cpp:944 ]: Starting PassengerAgent server...
[ 2015-07-10 05:49:13.7529 13525/7f2f7f588780 age/Hel/Main.cpp:237 ]: PassengerAgent server running in multi-application mode.
[ 2015-07-10 05:49:13.7550 13525/7f2f7f588780 age/Hel/Main.cpp:698 ]: PassengerAgent server online, PID 13525
[ 2015-07-10 05:49:13.7851 13530/7f39b592e780 age/Log/Main.cpp:442 ]: Starting PassengerAgent logger...
[ 2015-07-10 05:49:13.7863 13530/7f39b592e780 age/Log/Main.cpp:323 ]: PassengerAgent logger online, PID 13530
[ 2015-07-10 05:49:13.7876 13525/7f2f7f588780 age/Hel/Main.cpp:857 ]: Watchdog seems to be killed; forcing shutdown of all subprocesses

[ 2015-07-10 05:49:13.7877 13525/7f2f79042700 age/Hel/Main.cpp:508 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
2015/07/10 05:49:13 [alert] 9729#0: Required key 'core_address' is missing (-1: Unknown error)

答案1

我遇到了同样的问题,并且能够通过将 rubber-passenger_nginx.yml 中的 Passenger 版本更新为 Passenger_version: '1:5.0.13-1~ lsb_release -sc1' 来解决问题。

相关内容