[systemd-devel] nginx won't restart

Pat Bell pat at patbell.co.uk
Mon Oct 30 17:38:19 UTC 2017


I stopped nginx and then restarted too quickly (or so the logs tell me). 
But now it still won't start.

root at bell-computing:~# sudo service nginx-sp start
Job for nginx-sp.service failed because the control process exited with 
error code. See "systemctl status nginx-sp.service" and "journalctl -xe" 
for details.
root at bell-computing:~# sudo service nginx-sp start^C
root at bell-computing:~# sudo service nginx-sp start
Job for nginx-sp.service failed because the control process exited with 
error code. See "systemctl status nginx-sp.service" and "journalctl -xe" 
for details.
root at bell-computing:~# systemctl status nginx-sp.service
● nginx-sp.service - nginx-sp
    Loaded: loaded (/lib/systemd/system/nginx-sp.service; enabled; 
vendor preset: enabled)
    Active: inactive (dead) (Result: exit-code) since Mon 2017-10-30 
17:27:42 UTC; 7s ago
   Process: 2311 ExecStartPre=/opt/sp/nginx/sbin/nginx -t (code=exited, 
status=1/FAILURE)

Oct 30 17:27:41 bell-computing.com systemd[1]: nginx-sp.service: Control 
process exited, code=exited status=1
Oct 30 17:27:41 bell-computing.com systemd[1]: Failed to start nginx-sp.
Oct 30 17:27:41 bell-computing.com systemd[1]: nginx-sp.service: Unit 
entered failed state.
Oct 30 17:27:41 bell-computing.com systemd[1]: nginx-sp.service: Failed 
with result 'exit-code'.
Oct 30 17:27:42 bell-computing.com systemd[1]: nginx-sp.service: Service 
hold-off time over, scheduling restart.
Oct 30 17:27:42 bell-computing.com systemd[1]: Stopped nginx-sp.
Oct 30 17:27:42 bell-computing.com systemd[1]: nginx-sp.service: Start 
request repeated too quickly.
Oct 30 17:27:42 bell-computing.com systemd[1]: Failed to start nginx-sp.
root at bell-computing:~# ^C
root at bell-computing:~# ^C
root at bell-computing:~# journalctl -xe
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nginx-sp.service has failed.
--
-- The result is failed.
Oct 30 17:27:41 bell-computing.com systemd[1]: nginx-sp.service: Unit 
entered failed state.
Oct 30 17:27:41 bell-computing.com systemd[1]: nginx-sp.service: Failed 
with result 'exit-code'.
Oct 30 17:27:42 bell-computing.com systemd[1]: nginx-sp.service: Service 
hold-off time over, scheduling restart.
Oct 30 17:27:42 bell-computing.com systemd[1]: Stopped nginx-sp.
-- Subject: Unit nginx-sp.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nginx-sp.service has finished shutting down.
Oct 30 17:27:42 bell-computing.com systemd[1]: nginx-sp.service: Start 
request repeated too quickly.
Oct 30 17:27:42 bell-computing.com systemd[1]: Failed to start nginx-sp.
-- Subject: Unit nginx-sp.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nginx-sp.service has failed.
--
-- The result is failed.

WHat now?


tia

Pat


More information about the systemd-devel mailing list