lnmp restart启动nginx失败。。。

提示如下:Stoping LNMP…
Stoping nginx… nginx: [alert] kill(6036, 15) failed (3: No such process)
failed. Use force-quit
Shutting down MySQL. SUCCESS!
Gracefully shutting down php-fpm . done
Gracefully shutting down php-fpm . done
Starting LNMP…
Starting nginx… nginx (pid ) already running.
Starting MySQL.. SUCCESS!
Starting php-fpm  done
Starting php-fpm  done

于是乎我就lnmp nginx stop,提示如下
Stoping nginx… nginx: [alert] kill(6036, 15) failed (3: No such process)
failed. Use force-quit

再然后我lnmp nginx start,提示如下:
Starting nginx… nginx (pid ) already running.

然后我ps aux | grep nginx,提示如下:
[[email protected] vhost]# ps aux | grep nginx
root      5166  0.0  0.1 103304   892 pts/0    S+   22:20   0:00 grep nginx

军哥这个怎么解。。《通辽网友》:nginx非正常关闭后pid文件没被删除,你可以 rm -f /usr/local/nginx/logs/nginx.pid
后再看一下

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注