nginx.service:退出控制进程,code = exited status = 203

时间:2017-04-14 10:03:14

标签: linux nginx centos

我使用yum在centos7.2上安装了nginx 1.10.2。然后我使用命令systemctl start nginx.service启动它。它显示

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

正在运行systemctl status nginx.service显示

鈼[0m nginx.service - The nginx HTTP and reverse proxy server
   Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor       preset: disabled)
   Active: failed (Result: exit-code) since Fri 2017-04-14 17:00:12 CST; 49min ago
 Main PID: 3617 (code=exited, status=0/SUCCESS)

Apr 14 17:00:12 izwz9hc2sfq1r799vqco2lz systemd[1]: Starting The nginx HTTP and reverse proxy server...
Apr 14 17:00:12 izwz9hc2sfq1r799vqco2lz systemd[1]: nginx.service: control process exited, code=exited status=203
Apr 14 17:00:12 izwz9hc2sfq1r799vqco2lz systemd[1]: Failed to start The nginx HTTP and reverse proxy server.
Apr 14 17:00:12 izwz9hc2sfq1r799vqco2lz systemd[1]: Unit nginx.service entered failed state.
Apr 14 17:00:12 izwz9hc2sfq1r799vqco2lz systemd[1]: nginx.service failed.

请告诉我们如何启动nginx。

0 个答案:

没有答案