部署 passenger+nginx passenger logging agent 错误

dfh511 · March 27, 2015 · 1971 hits

我在 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

No Reply at the moment.
You need to Sign in before reply, if you don't have an account, please Sign up first.