<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Found it, I had a typo in the conf file; stopping an restarting
      mean it was picked up!<br>
    </p>
    <div class="moz-forward-container"><br>
      <br>
      -------- Forwarded Message --------
      <table class="moz-email-headers-table" cellspacing="0"
        cellpadding="0" border="0">
        <tbody>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Subject:
            </th>
            <td>[systemd-devel] nginx won't restart</td>
          </tr>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Date: </th>
            <td>Mon, 30 Oct 2017 18:38:19 +0100</td>
          </tr>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT">From: </th>
            <td>Pat Bell <a class="moz-txt-link-rfc2396E" href="mailto:pat@patbell.co.uk"><pat@patbell.co.uk></a></td>
          </tr>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT">To: </th>
            <td><a class="moz-txt-link-abbreviated" href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.freedesktop.org</a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <pre>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: <a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a>
--
-- 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: <a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a>
--
-- 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: <a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a>
--
-- Unit nginx-sp.service has failed.
--
-- The result is failed.

WHat now?


tia

Pat
_______________________________________________
systemd-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel">https://lists.freedesktop.org/mailman/listinfo/systemd-devel</a>
</pre>
    </div>
  </body>
</html>