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 <p...@patbell.co.uk>
To:     systemd-devel@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@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@bell-computing:~# sudo service nginx-sp start^C
root@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@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@bell-computing:~# ^C
root@bell-computing:~# ^C
root@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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to