Job for nginx.service failed because the control process exited with error code. See "systemctl s...

启动nginx的时候报错

Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.


考虑是端口占用:

```

ps -aux | grep nginx //检查nginx是否已经启动

pkill -9 nginx //如果已经启动结束即可

systemctl start nginx.service //启动

```

你可能感兴趣的:(Job for nginx.service failed because the control process exited with error code. See "systemctl s...)