简体   繁体   中英

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. On the log of hhvm i see this error:

Unable to read pid file /var/run/hhvm/pid for any meaningful pid

I tried to give permission to that file doing

sudo 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

If HHVM isn't running, you can just delete that file. 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.

I had the same problem. It turned out that another service was listening on port 9000.

典型的启动命令:

hhvm --mode daemon -d hhvm.server.type=fastcgi -d hhvm.server.port=9000 -c /etc/hhvm/server.ini

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM