Apache keeps restarting after enabling mod_security

Refers to:

  • Plesk 12.5 for Linux
  • Plesk 11.5 for Linux

Created:

2016-11-16 13:08:58 UTC

Modified:

2016-12-21 20:03:43 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Apache keeps restarting after enabling mod_security

Symptoms

Apache keeps restarting after enabling mod_security . The following error is shown in panel.log :

ERR [1] httpd: Syntax error on line 213 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf.d/security2.conf: Cannot load /etc/httpd/modules/mod_security2.so into server: /etc/httpd/modules/mod_security2.so: cannot open shared object file: No such file or directory

Cause

Corrupted mod_security installation.

Resolution

Reinstall mod_security using Plesk autoinstaller.

Have more questions? Submit a request
Please sign in to leave a comment.