[英]Hhvm Unable to read pid file /var/run/hhvm/pid for any meaningful pid after reboot
I have hhvm installed on my server and it was working perfect until I had restart the server. 我在服务器上安装了hhvm,在重新启动服务器之前,它一直运行良好。 On the log of hhvm i see this error: 在hhvm的日志中,我看到此错误:
Unable to read pid file /var/run/hhvm/pid for any meaningful pid 无法读取任何有意义的pid的pid文件/ var / run / hhvm / pid
I tried to give permission to that file doing 我试图授予该文件权限
sudo chmod +rw /var/run/hhvm/pid 须藤chmod + rw / var / run / hhvm / pid
bu still that problem occured. 但是仍然发生了问题。 I really need to fix this issue but i have no idea what i have to do :( 我确实需要解决此问题,但我不知道该怎么办:(
any help will be really appreciated, 任何帮助将不胜感激,
My OS is ubuntu 12.4 我的操作系统是ubuntu 12.4
If HHVM isn't running, you can just delete that file. 如果HHVM没有运行,则可以删除该文件。 The error is saying that it doesn't contain a valid PID, most likely because it wasn't cleaned up properly on reboot so it still has the old PID in it. 错误是说它不包含有效的PID,很可能是因为它在重新启动时未正确清理,因此它仍然包含旧的PID。
I had the same problem. 我有同样的问题。 It turned out that another service was listening on port 9000. 原来,另一个服务正在侦听端口9000。
典型的启动命令:
hhvm --mode daemon -d hhvm.server.type=fastcgi -d hhvm.server.port=9000 -c /etc/hhvm/server.ini
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.