[systemd-devel] Fwd: nginx won't restart
Pat Bell
pat at patbell.co.uk
Mon Oct 30 21:37:36 UTC 2017
Found it, I had a typo in the conf file; stopping an restarting mean it
was picked up!
-------- Forwarded Message --------
Subject: [systemd-devel] nginx won't restart
Date: Mon, 30 Oct 2017 18:38:19 +0100
From: Pat Bell <pat at patbell.co.uk>
To: systemd-devel at lists.freedesktop.org
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
_______________________________________________
systemd-devel mailing list
systemd-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20171030/a0e2678f/attachment.html>
More information about the systemd-devel
mailing list