Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
problem starting apache
-
- Posts: 1
- Joined: 2021/05/08 02:44:23
problem starting apache
I have this problem
Re: problem starting apache
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.
New users should check the FAQ and Read Me First pages
Re: problem starting apache
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).
There might be something that journal does not have.
With journalctl one can focus on messages from httpd.service with
Code: Select all
journalctl -xe -u httpd