Hi All
Please help! Failed to start apache : Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details. The above is the apache error I am getting > journalctl -xn -- Logs begin at Mon 2017-03-06 14:06:17 EST, end at Wed 2017-04-05 11:52:15 EST. -- Apr 05 11:50:37 postiekiddo.com postfix/smtpd[20916]: lost connection after CONNECT from unknown[190.249.188.184] Apr 05 11:50:37 postiekiddo.com postfix/smtpd[20916]: disconnect from unknown[190.249.188.184] Apr 05 11:52:15 postiekiddo.com systemd[1]: Stopped The Apache HTTP Server. -- Subject: Unit httpd.service has finished shutting down -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit httpd.service has finished shutting down. Apr 05 11:52:15 postiekiddo.com systemd[1]: Starting The Apache HTTP Server... -- Subject: Unit httpd.service has begun with start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit httpd.service has begun starting up. Apr 05 11:52:15 postiekiddo.com 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-config-httpd.conf: /etc/httpd/conf.d/system-config-httpd.conf:150: <Directory> was not closed.\n/etc/httpd/conf.d/system-config-httpd.conf:148: <Directory> was not closed. Apr 05 11:52:15 postiekiddo.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE Apr 05 11:52:15 postiekiddo.com 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-config-httpd.conf: /etc/httpd/conf.d/system-config-httpd.conf:150: <Directory> was not closed.\n/etc/httpd/conf.d/system-config-httpd.conf:148: <Directory> was not closed. Apr 05 11:52:15 postiekiddo.com systemd[1]: httpd.service: control process exited, code=exited status=1 Apr 05 11:52:15 postiekiddo.com systemd[1]: Failed to start The Apache HTTP Server. -- Subject: Unit httpd.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit httpd.service has failed. -- -- The result is failed. Apr 05 11:52:15 postiekiddo.com systemd[1]: Unit httpd.service entered failed state. Results of the Service httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled) Active: failed (Result: exit-code) since Wed 2017-04-05 11:53:16 EST; 18s ago Process: 21056 ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop (code=exited, status=1/FAILURE) Process: 21055 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE) Status: "Total requests: 1; Current requests/sec: 0; Current traffic: 0 B/sec" Apr 05 11:53:16 postiekiddo.com 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-config-httpd.conf: /etc/httpd/conf.d/system-config-httpd.conf:150: <Directory> was not closed.\n/etc/httpd/conf.d/system-config-httpd.conf:148: <Directory> was not closed. Apr 05 11:53:16 postiekiddo.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE Apr 05 11:53:16 postiekiddo.com 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-config-httpd.conf: /etc/httpd/conf.d/system-config-httpd.conf:150: <Directory> was not closed.\n/etc/httpd/conf.d/system-config-httpd.conf:148: <Directory> was not closed. Apr 05 11:53:16 postiekiddo.com systemd[1]: httpd.service: control process exited, code=exited status=1 Apr 05 11:53:16 postiekiddo.com systemd[1]: Failed to start The Apache HTTP Server. Apr 05 11:53:16 postiekiddo.com systemd[1]: Unit httpd.service entered failed state.
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel