部署 passenger+nginx passenger logging agent 错误

dfh511 · 2015年03月27日 · 1970 次阅读

我在 centos 6.5 上部署了 passenger+nginx,用的方法是 gem install passenger passenger-install-nginx-module 整个过程没有错误提示,然后我运行 sudo ~/nginx/sbin/nginx

出现错误提示: nginx: [alert] Unable to start the Phusion Passenger watchdog because it encountered the following error during startup: Unable to start the Phusion Passenger logging agent: it seems to have crashed during startup for an unknown reason, with exit code 1 (-1: Unknown error)

运行 sudo ~/nginx/sbin/nginx -t 说明设置正确,但出现相同错误 nginx: the configuration file /home/lq/nginx/conf/nginx.conf syntax is ok nginx: [alert] Unable to start the Phusion Passenger watchdog because it encountered the following error during startup: Unable to start the Phusion Passenger logging agent: it seems to have crashed during startup for an unknown reason, with exit code 1 (-1: Unknown error) nginx: configuration file /home/lq/nginx/conf/nginx.conf test is successful

请问这是什么原因?需要怎么处理?谢谢

相关系统如下: ruby 2.1.0 rails 4.2.1 gem 2.4.6 passenger 5.0.5 nginx 1.6.2

暂无回复。
需要 登录 后方可回复, 如果你还没有账号请 注册新账号