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

2019-01-22  本文已影响0人  彬彬彬boboc

[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

上一篇 下一篇

猜你喜欢

热点阅读