nginx: [error] invalid PID number "" in ...

1、查看进程

ps -ef|grep nginx 

2、进入nginx安装目录sbin下,执行命令:

./nginx -t

 如下显示:

syntax is ok
test is successful

 

3、继续执行命令:

nginx -c /usr/local/webserver/nginx/conf/nginx.conf
nginx -s reload

posted on 2019-06-13 15:23  漠白  阅读(2339)  评论(0编辑  收藏  举报

导航