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

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

[root@iZ25f7emo7cZ /]# cd /usr/local/nginx/sbin

 运行命令:

[root@iZ25f7emo7cZ /]# ./nginx -c /usr/local/webserver/nginx/conf/nginx.conf

 重新加载:

[root@iZ25f7emo7cZ /]# ./nginx -s reload

 



 

posted @ 2018-04-20 17:01  戈丫汝  阅读(594)  评论(0编辑  收藏  举报