美文网首页
解决 重启nginx: [alert] kill(20367,

解决 重启nginx: [alert] kill(20367,

作者: 彬彬彬boboc | 来源:发表于2019-01-22 11:21 被阅读0次

[root@localhost/]# nginx -s reload

nginx: [alert] kill(189, 1) failed (3: No such process)    杀死189进程,可是并没有

//需要重新指定nginx.conf配置路径

[root@localhost /]# whereis ngnix

ngnix:[root@localhost/]#

[root@localhost /]# find / -name nginx

/usr/local/nginx/sbin/nginx

[root@localhost /]# find / -name nginx.conf

/usr/local/nginx/conf/nginx.conf

[root@localhost /]# /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf

[root@localhost/]# nginx -s reload      //重启nginx

文章参考:https://www.cnblogs.com/li1204008978/p/7865244.html

相关文章

网友评论

      本文标题:解决 重启nginx: [alert] kill(20367,

      本文链接:https://www.haomeiwen.com/subject/fclljqtx.html