问题:使用systemctl start nginx.service启动nginx,出现Job for nginx.service failed because the control process

问题:使用systemctl start nginx.service启动nginx,出现Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.

解决:

首先需要杀掉nginx进程

killall -9 nginx
然后启动nginx

systemctl start nginx.service
---------------------
作者:包子源
来源:CSDN
原文:https://blog.csdn.net/ziwoods/article/details/84392146
版权声明:本文为博主原创文章,转载请附上博文链接!

你可能感兴趣的:(问题:使用systemctl start nginx.service启动nginx,出现Job for nginx.service failed because the control process)