简体   繁体   English

Hhvm重新启动后无法读取任何有意义的pid的pid文件/ var / run / hhvm / pid

[英]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.

相关问题 无法打开“ /var/run/tor/tor0.pid”进行写入:多个实例后,权限被拒绝 - Unable to open “/var/run/tor/tor0.pid” for writing: Permission denied after multiple instances Elasticsearch 1.6在ubuntu pid-file上重启 - Elasticsearch 1.6 reboot on ubuntu pid-file centos 7:nginx无法从文件/run/nginx.pid中读取PID:参数无效 - centos 7: nginx Failed to read PID from file /run/nginx.pid: Invalid argument postgresql:数据目录无效 | 启动后无法打开 PID 文件 /var/run/postgresql/10-main.pid(还没有?):没有这样的文件或目录 - postgresql: Invalid data directory | Can't open PID file /var/run/postgresql/10-main.pid (yet?) after start: No such file or directory 来自pid文件/var/run/mysqld/mysqld.pid的mysqld_safe mysqld防止服务器重启 - mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid prevent from server restart 完成一个过程(通过pid)后运行命令 - Run command after one process (by pid) complete 以用户身份存储守护程序的pid文件 - Storing pid file for a daemon run as user 错误! 服务器退出而不更新PID文件(/usr/local/var/mysql/Bridge.local.pid) - ERROR! The server quit without updating PID file (/usr/local/var/mysql/Bridge.local.pid) 在PID中用perl尾部文件 - tail a file in perl with PID Linux中的PID文件 - PID file in linux
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM