nginx: [error] invalid PID number "" in "/usr/local/webserver/nginx/logs/nginx.pid&qu

Posted 戈丫汝

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了nginx: [error] invalid PID number "" in "/usr/local/webserver/nginx/logs/nginx.pid&qu相关的知识,希望对你有一定的参考价值。

进入nginx文件下,例如 :/usr/local/nginx/sbin

[[email protected] /]# cd /usr/local/nginx/sbin

 运行命令:

[[email protected] /]# ./nginx -c /usr/local/webserver/nginx/conf/nginx.conf

 重新加载:

[[email protected] /]# ./nginx -s reload

 



 



以上是关于nginx: [error] invalid PID number "" in "/usr/local/webserver/nginx/logs/nginx.pid&qu的主要内容,如果未能解决你的问题,请参考以下文章

nginx: [error] invalid PID number "" in "/run/ngin

nginx: [error] invalid PID number ““ in “/data/nginx/logs/nginx.pid“

nginx: [error] invalid PID number “” in “/usr/local/var/run/nginx/nginx.pid”

nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"

nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"

解决 nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"