Page 1 of 1
problem starting apache
Posted: 2021/05/08 09:49:10
by Hatem Badran
I have this problem
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
Re: problem starting apache
Posted: 2021/05/08 10:16:21
by scottro
Were there any noticeable errors in either of those? Often it's a syntax error (more easily found in the systemctl status httpd.service than journalctl which is usually very long. Also, apachectl -t will test syntax before attempting to start.
Re: problem starting apache
Posted: 2021/05/08 16:12:59
by jlehtone
The default config of httpd does write to
/var/log/httpd/ too.
There might be something that journal does not have.
With journalctl one can focus on messages from httpd.service with
The
-x makes messages more verbose and the
-e jumps to end (like 'G' in 'less' session).