解决 重启nginx: [alert] kill(189, 1) failed (3: No such process)

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决 重启nginx: [alert] kill(189, 1) failed (3: No such process)相关的知识,希望对你有一定的参考价值。

解决 nginx: [alert] kill(189, 1) failed (3: No such process)

[[email protected]/]# nginx -s reload
nginx: [alert] kill(189, 1) failed (3: No such process)  杀死189进程,可是并没有
[[email protected] /]# whereis ngnix
ngnix:[[email protected]/]# 
[[email protected] /]# find / -name nginx 
/usr/local/src/nginx/sbin/nginx
[[email protected] /]# find / -name nginx.conf
/usr/local/src/nginx/conf/nginx.conf
[[email protected] /]# /usr/local/src/nginx/sbin/nginx -c /usr/local/src/nginx/conf/nginx.conf
[[email protected]/]# nginx -s reload               







以上是关于解决 重启nginx: [alert] kill(189, 1) failed (3: No such process)的主要内容,如果未能解决你的问题,请参考以下文章

nginx重启不生效是咋回事

nginx: [alert] kill(1726, 1) failed

kill -9杀掉nginx主进程、reload失败解决办法

nginx 重启 ps -ef|grep nginx kill -HUP 主进程号

linux下如何重启nginx

linux重启nginx后出现nginx的pid丢失的解决方案