Error:The system experienced the following error when it attempted to install the “OWASP ModSecurity Core Rule Set V3.0”

Issue while installing Comodo's WAF rules in cPanel -

Error:The system experienced the following error when it attempted to install the “OWASP ModSecurity Core Rule Set V3.0” vendor: API failure: The system could not validate the new Apache configuration because httpd exited with a nonzero value. Apache produced the following error: httpd: Syntax error on line 224 of /etc/apache2/conf/httpd.conf: Syntax error on line 32 of /etc/apache2/conf.d/modsec2.conf: Syntax error on line 28 of /etc/apache2/conf.d/modsec/modsec2.cpanel.conf: Could not open configuration file /etc/apache2/conf.d/modsec_vendor_configs/OWASP/modsecurity_crs_10_setup.conf: No such file or directory 

Solution -

1. Manually edit /var/cpanel/modsec_cpanel_conf_datastore file with your favorite editor.
2. Removed all active configs, active vendors, disabled rules, and updates.
3. Just keep disabled rule.
4. Save the file.
5. Login to WHM >> Home >> Security Center >> Modsecurity Vendors >> Manage Vendors >> OWASP ModSecurity Core Rule Set >> click +install.
6. Modsecurity rules will be installed without any issue.

That's all!

Was this answer helpful?

 Print this Article

Also Read

A fatal error has occurred Cannot write to cache directory /tmp

While accessing WebMail client I was getting an error as below - A fatal error has occured...

Error: Website not found. If the website was recently renamed or moved please edit the install to save the new location (Files & Tables tab).

I was getting below error when opening installatron for all installs - Error message - Error:...

Loopback test error: `Operation timed out after 8000 milliseconds with 0 bytes received - WordPress issue

I was getting below while generating backup from BackupBuddy ( in WordPress ) on LiteSpeed server...

Is it possible to add multiple backup destinations on the cPanel server?

Is it possible to add multiple backup destinations on the cPanel server?Solution :- Yes, its...

#145 - Table './database_name/table_name' is marked as crashed and should be repair

I was getting below error while accessing one site - Error in establishing database...

Powered by WHMCompleteSolution