I restarted my dedicated server and now my website will not connect. I figured out it is because Apache won't start. I get the error in the image below:

enter image description here

It says at first

job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

then when I go to that it says that there is a syntax error on line 12 and that points to a log

enter image description here

Any ideas on how to fix and get apache to start?

New contributor
Tevin Mosley is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • 2
    Please don't post images about text output, instead paste the text direct into the question. – Ingo Feb 11 at 0:34
  • try logging into /var/log directory .... perhaps /var/log/apache2/logs/modsec_audit.log – jsotola Feb 11 at 8:17

Your Answer

Tevin Mosley is a new contributor. Be nice, and check out our Code of Conduct.

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.