<div dir="ltr"><div><div><div><div>Hello,<br><br></div>Have you checked that you actually have closing </Directory> in the /etc/httpd/conf.d/system-config-httpd.conf ?<br></div>This looks like pure Apache config syntax error.<br><br></div>Best regards.<br><br></div>Sergei.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 5 April 2017 at 13:55, Gary Lock <span dir="ltr"><<a href="mailto:gary@postiekiddo.com" target="_blank">gary@postiekiddo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="#0563C1" vlink="#954F72" lang="EN-AU"><div class="m_2590083258612430768WordSection1"><p class="MsoNormal">Hi All<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Please help!<u></u><u></u></p><p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm"><b><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#393939">Failed to start apache :<u></u><u></u></span></b></p><p class="MsoNormal" style="margin-bottom:12.0pt;line-height:12.65pt"><b><span style="font-size:12.5pt;font-family:"Courier New";color:#393939">Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details.<u></u><u></u></span></b></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal">The above is the apache error I am getting<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><b><span style="font-size:11.5pt;color:#393939">> journalctl -xn</span></b><span style="font-size:11.5pt;color:#393939"><u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">-- Logs begin at Mon 2017-03-06 14:06:17 EST, end at Wed 2017-04-05 11:52:15 EST. --<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">Apr 05 11:50:37 <a href="http://postiekiddo.com" target="_blank">postiekiddo.com</a> postfix/smtpd[20916]: lost connection after CONNECT from unknown[190.249.188.184]<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">Apr 05 11:50:37 <a href="http://postiekiddo.com" target="_blank">postiekiddo.com</a> postfix/smtpd[20916]: disconnect from unknown[190.249.188.184]<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">Apr 05 11:52:15 <a href="http://postiekiddo.com" target="_blank">postiekiddo.com</a> systemd[1]: Stopped The Apache HTTP Server.<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">-- Subject: Unit httpd.service has finished shutting down<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">-- Defined-By: systemd<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">-- Support: <a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/<wbr>mailman/listinfo/systemd-devel</a><u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">-- <u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">-- Unit httpd.service has finished shutting down.<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">Apr 05 11:52:15 <a href="http://postiekiddo.com" target="_blank">postiekiddo.com</a> systemd[1]: Starting The Apache HTTP Server...<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">-- Subject: Unit httpd.service has begun with start-up<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">-- Defined-By: systemd<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">-- Support: <a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/<wbr>mailman/listinfo/systemd-devel</a><u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">-- <u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">-- Unit httpd.service has begun starting up.<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">Apr 05 11:52:15 <a href="http://postiekiddo.com" target="_blank">postiekiddo.com</a> httpd[21025]: httpd: Syntax error on line 350 of /etc/httpd/conf/httpd.conf: Syntax error on line 148 of /etc/httpd/conf.d/system-<wbr>config-httpd.conf: /etc/httpd/conf.d/system-<wbr>config-httpd.conf:150: <Directory> was not closed.\n/etc/httpd/conf.d/<wbr>system-config-httpd.conf:148: <Directory> was not closed.<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">Apr 05 11:52:15 <a href="http://postiekiddo.com" target="_blank">postiekiddo.com</a> systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">Apr 05 11:52:15 <a href="http://postiekiddo.com" target="_blank">postiekiddo.com</a> httpd[21027]: httpd: Syntax error on line 350 of /etc/httpd/conf/httpd.conf: Syntax error on line 148 of /etc/httpd/conf.d/system-<wbr>config-httpd.conf: /etc/httpd/conf.d/system-<wbr>config-httpd.conf:150: <Directory> was not closed.\n/etc/httpd/conf.d/<wbr>system-config-httpd.conf:148: <Directory> was not closed.<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">Apr 05 11:52:15 <a href="http://postiekiddo.com" target="_blank">postiekiddo.com</a> systemd[1]: httpd.service: control process exited, code=exited status=1<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">Apr 05 11:52:15 <a href="http://postiekiddo.com" target="_blank">postiekiddo.com</a> systemd[1]: Failed to start The Apache HTTP Server.<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">-- Subject: Unit httpd.service has failed<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">-- Defined-By: systemd<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">-- Support: <a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/<wbr>mailman/listinfo/systemd-devel</a><u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">-- <u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">-- Unit httpd.service has failed.<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">-- <u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">-- The result is failed.<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">Apr 05 11:52:15 <a href="http://postiekiddo.com" target="_blank">postiekiddo.com</a> systemd[1]: Unit httpd.service entered failed state.<u></u><u></u></span></pre><p class="MsoNormal">Results of the Service<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">httpd.service - The Apache HTTP Server<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">   Loaded: loaded (/usr/lib/systemd/system/<wbr>httpd.service; disabled)<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">   Active: failed (Result: exit-code) since Wed 2017-04-05 11:53:16 EST; 18s ago<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">  Process: 21056 ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop (code=exited, status=1/FAILURE)<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">  Process: 21055 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">   Status: "Total requests: 1; Current requests/sec: 0; Current traffic:   0 B/sec"<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939"><u></u> <u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">Apr 05 11:53:16 <a href="http://postiekiddo.com" target="_blank">postiekiddo.com</a> httpd[21055]: httpd: Syntax error on line 350 of /etc/httpd/conf/httpd.conf: Syntax error on line 148 of /etc/httpd/conf.d/system-<wbr>config-httpd.conf: /etc/httpd/conf.d/system-<wbr>config-httpd.conf:150: <Directory> was not closed.\n/etc/httpd/conf.d/<wbr>system-config-httpd.conf:148: <Directory> was not closed.<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">Apr 05 11:53:16 <a href="http://postiekiddo.com" target="_blank">postiekiddo.com</a> systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">Apr 05 11:53:16 <a href="http://postiekiddo.com" target="_blank">postiekiddo.com</a> httpd[21056]: httpd: Syntax error on line 350 of /etc/httpd/conf/httpd.conf: Syntax error on line 148 of /etc/httpd/conf.d/system-<wbr>config-httpd.conf: /etc/httpd/conf.d/system-<wbr>config-httpd.conf:150: <Directory> was not closed.\n/etc/httpd/conf.d/<wbr>system-config-httpd.conf:148: <Directory> was not closed.<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">Apr 05 11:53:16 <a href="http://postiekiddo.com" target="_blank">postiekiddo.com</a> systemd[1]: httpd.service: control process exited, code=exited status=1<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">Apr 05 11:53:16 <a href="http://postiekiddo.com" target="_blank">postiekiddo.com</a> systemd[1]: Failed to start The Apache HTTP Server.<u></u><u></u></span></pre><pre style="margin-bottom:12.0pt;line-height:18.0pt;background:whitesmoke"><span style="font-size:11.5pt;color:#393939">Apr 05 11:53:16 <a href="http://postiekiddo.com" target="_blank">postiekiddo.com</a> systemd[1]: Unit httpd.service entered failed state.<u></u><u></u></span></pre><p class="MsoNormal"><u></u> <u></u></p></div></div><br>______________________________<wbr>_________________<br>
systemd-devel mailing list<br>
<a href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/systemd-devel</a><br>
<br></blockquote></div><br></div>