nginx: [alert] kill(2712, 1) failed (3: No such process)

重新加载配置文件时报错

[root@localhost html]# nginx -s reload
nginx: [alert] kill(2712, 1) failed (3: No such process)

解决方法

重新启动nginx
[root@localhost sbin]# ps -ef | grep nginx
nobody     2866      1  0 12:42 ?        00:00:00 nginx: worker process
root      41592 113624  0 12:59 pts/2    00:00:00 grep --color=auto nginx
[root@localhost sbin]# kill -9 2866
[root@localhost sbin]# nginx
[root@localhost html]# nginx -s reload

你可能感兴趣的:(bug,nginx,服务器,前端)