【发布时间】:2015-01-16 16:29:57
【问题描述】:
当我尝试在我的 vps 中启动 nginx 时,它显示以下错误。我正在使用 centos vps。
[sarath@vps111 ~]$ sudo service nginx restart
nginx: the configuration file /opt/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 helper agent: it seems to have crashed during startup for an unknown reason, with exit code 1 (-1: Unknown error)
nginx: configuration file /opt/nginx/conf/nginx.conf test is successful
Stopping nginx: [ OK ]
Starting nginx: nginx: [alert] Unable to start the Phusion Passenger watchdog because it encountered the following error during startup: Cannot create a Unix socket pair: Cannot allocate memory (errno=12) (-1: Unknown error)
此错误是否与 nginx、操作系统或硬件相关?有什么解决办法吗?
【问题讨论】:
标签: ruby-on-rails nginx passenger