重啓nginx報錯:[error] invalid PID number "" in "/application/nginx-1.13.3/logs/nginx.pid"

[root@ceshi ~]# /application/nginx/sbin/nginx -s reload
nginx: [error] invalid PID number "" in "/application/nginx-1.13.3/logs/nginx.pid"nginx

解決的方法:app

執行:/application/nginx/sbin/nginx  -c /application/nginx-1.13.3/conf/nginx.confio

而後就能夠從新啓動了方法

相關文章
相關標籤/搜索