New Install no Apache running

pcoeman

Verified User
Joined
Jul 20, 2004
Messages
55
Location
Antwerp, Belgium
Hi all

Debian 8

After new install, HTTP is not running, start it from DA panel: /bin/systemctl start httpd.service >/dev/null 2>&1

Start it manual:

root@seefhoek:/home/patje# systemctl start httpd.service
Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details.


root@seefhoek:/usr/local/directadmin/custombuild# systemctl status httpd.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/etc/systemd/system/httpd.service; enabled)
Active: failed (Result: exit-code) since di 2015-09-01 01:40:07 CEST; 2s ago
Process: 3488 ExecStart=/usr/sbin/httpd $OPTIONS -k start (code=exited, status=1/FAILURE)

sep 01 01:40:07 seefhoek.171.be httpd[3488]: httpd: Syntax error on line 217 of /etc/httpd/conf/httpd.c...tory
sep 01 01:40:07 seefhoek.171.be systemd[1]: httpd.service: control process exited, code=exited status=1
sep 01 01:40:07 seefhoek.171.be systemd[1]: Failed to start The Apache HTTP Server.
sep 01 01:40:07 seefhoek.171.be systemd[1]: Unit httpd.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
root@seefhoek:/usr/local/directadmin/custombuild#

Thnx,
Patrick
 
Hello,

sep 01 01:40:07 seefhoek.171.be httpd[3488]: httpd: Syntax error on line 217 of /etc/httpd/conf/httpd.c...tory

That might be an answer on why your apache does not start.

Run

Code:
systemctl -l status httpd.service


to see what file
the syntax error is in.
 
Back
Top