- 积分
- 29
- 威望
-
- 金钱
-
- 注册时间
- 2019-5-3
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
CentOS7, lnmp1.6, Nginx重启时报错要怎么办?
# systemctl restart nginx
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
● nginx.service - LSB: starts the nginx web server
Loaded: loaded (/etc/rc.d/init.d/nginx; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2019-07-03 17:43:48 CST; 2min 53s ago
Docs: man:systemd-sysv-generator(8)
Process: 24371 ExecStop=/etc/rc.d/init.d/nginx stop (code=exited, status=0/SUCCESS)
Process: 24378 ExecStart=/etc/rc.d/init.d/nginx start (code=exited, status=1/FAILURE)
Jul 03 17:43:48 systemd[1]: Stopped LSB: starts the nginx web server.
Jul 03 17:43:48 nginx[24378]: Starting nginx... nginx (pid 24163) already running.
Jul 03 17:43:48 systemd[1]: Starting LSB: starts the nginx web server...
Jul 03 17:43:48 systemd[1]: nginx.service: control process exited, code=exited status=1
Jul 03 17:43:48 systemd[1]: Failed to start LSB: starts the nginx web server.
Jul 03 17:43:48 systemd[1]: Unit nginx.service entered failed state.
Jul 03 17:43:48 systemd[1]: nginx.service failed.
|
|