在ubunru16.04上重信更改了nginx的配置后,重新reload包一下的错误
nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"
解决方案
sudo /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
sudo /usr/local/nginx/sbin/nginx -s reload
Posted 木易森林
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"相关的知识,希望对你有一定的参考价值。
在ubunru16.04上重信更改了nginx的配置后,重新reload包一下的错误
nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"
sudo /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
sudo /usr/local/nginx/sbin/nginx -s reload
以上是关于nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"的主要内容,如果未能解决你的问题,请参考以下文章
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"