执行 service nginx start或者restart命令出现下面错误
[[email protected] ~]# service nginx restart
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
莫名奇妙的出现了这个错误,查看logs也没什么发现,之后就停止了nginx的进程,再运行service nginx start,又可以了,具体出错原因现在还不清楚。
查看nginx进程命令
ps -ef | grep nginx
pkill -9 nginx
原文地址:https://www.cnblogs.com/readingstuff/p/9136498.html
时间: 2024-10-30 05:21:38