在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
标签:gpo log number /usr pid 错误 解决方案 ror reload
在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"
标签:gpo log number /usr pid 错误 解决方案 ror reload
原文地址:https://www.cnblogs.com/senlinyang/p/8482859.html