systemctl status nginx

● nginx.service - LSB: starts the nginx web server
   Loaded: loaded (/etc/init.d/nginx; generated; vendor preset: enabled)
  Drop-In: /etc/systemd/system/nginx.service.d
           └─limits.conf
   Active: failed (Result: exit-code) since Wed 2018-02-14 17:46:35 MSK; 5s
ago
     Docs: man:systemd-sysv-generator(8)
  Process: 8890 ExecStop=/etc/init.d/nginx stop (code=exited,
status=0/SUCCESS)
  Process: 8892 ExecStart=/etc/init.d/nginx start (code=exited,
status=1/FAILURE)
    Tasks: 0 (limit: 9830)
   CGroup: /system.slice/nginx.service

Feb 14 17:46:35 gateway systemd[1]: Stopped LSB: starts the nginx web
server.
Feb 14 17:46:35 gateway systemd[1]: Starting LSB: starts the nginx web
server...
Feb 14 17:46:35 gateway nginx[8892]: Starting nginx:
Feb 14 17:46:35 gateway systemd[1]: nginx.service: Control process exited,
code=exited status=1
Feb 14 17:46:35 gateway systemd[1]: Failed to start LSB: starts the nginx
web server.
Feb 14 17:46:35 gateway systemd[1]: nginx.service: Unit entered failed
state.
Feb 14 17:46:35 gateway systemd[1]: nginx.service: Failed with result
'exit-code'.
_____________
journalctl -xe

-- Unit nginx.service has finished shutting down.
Feb 14 17:49:14 gateway systemd[1]: Starting LSB: starts the nginx web
server...
-- Subject: Unit nginx.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit nginx.service has begun starting up.
Feb 14 17:49:14 gateway nginx[9378]: Starting nginx:
Feb 14 17:49:14 gateway systemd[1]: nginx.service: Control process exited,
code=exited status=1
Feb 14 17:49:14 gateway systemd[1]: Failed to start LSB: starts the nginx
web server.
-- Subject: Unit nginx.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit nginx.service has failed.
--
-- The result is failed.
Feb 14 17:49:14 gateway systemd[1]: nginx.service: Unit entered failed
state.
Feb 14 17:49:14 gateway systemd[1]: nginx.service: Failed with result
'exit-code'.

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?21,278548,278559#msg-278559

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru

Ответить