Page 1 of 1
apache httpd server failed to start
Posted: 2018/04/13 03:34:14
by oswaldoln
NOTE: I am doing this in a VirtualBox VM with network: NAT
This is the status of my httpd:
https://gyazo.com/982d2ec2a11f632f180ca134eca968a7
I did apachectl configtest and config is "OK".
I am not sure what's wrong, any idea? This is for a Linux Proj in School.
Re: apache httpd server failed to start
Posted: 2018/04/13 09:41:22
by TrevorH
I checked your image and it has no useful information in it as the screen is not wide enough and you forgot to use the -l switch to systemctl status so it has truncated all the lines. I'd also suggest not using images when your problem is just plain text - cut and paste the lines from the screen and post them here, embedded in [quote][/quote] or [code][/code] tags to preserve formatting etc.
Rerun "systemctl status -l httpd" and read the output. The syntax error line will have a line number on it and you can use that to find out where the error is.
Re: apache httpd server failed to start
Posted: 2018/04/18 15:57:15
by MartyCZ
look at
/var/log/httpd/error_log for more info