The following warnings occurred:
Warning [2] "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? - Line: 613 - File: inc/plugins/myadvertisements.php PHP 7.3.33 (Linux)
File Line Function
/inc/class_plugins.php 38 errorHandler->error
/inc/class_plugins.php 38 require_once
/inc/init.php 239 pluginSystem->load
/global.php 20 require_once
/printthread.php 16 require_once
Warning [2] "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? - Line: 654 - File: inc/plugins/myadvertisements.php PHP 7.3.33 (Linux)
File Line Function
/inc/class_plugins.php 38 errorHandler->error
/inc/class_plugins.php 38 require_once
/inc/init.php 239 pluginSystem->load
/global.php 20 require_once
/printthread.php 16 require_once
Warning [2] "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? - Line: 701 - File: inc/plugins/myadvertisements.php PHP 7.3.33 (Linux)
File Line Function
/inc/class_plugins.php 38 errorHandler->error
/inc/class_plugins.php 38 require_once
/inc/init.php 239 pluginSystem->load
/global.php 20 require_once
/printthread.php 16 require_once
Warning [2] "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? - Line: 749 - File: inc/plugins/myadvertisements.php PHP 7.3.33 (Linux)
File Line Function
/inc/class_plugins.php 38 errorHandler->error
/inc/class_plugins.php 38 require_once
/inc/init.php 239 pluginSystem->load
/global.php 20 require_once
/printthread.php 16 require_once
Warning [2] "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? - Line: 801 - File: inc/plugins/myadvertisements.php PHP 7.3.33 (Linux)
File Line Function
/inc/class_plugins.php 38 errorHandler->error
/inc/class_plugins.php 38 require_once
/inc/init.php 239 pluginSystem->load
/global.php 20 require_once
/printthread.php 16 require_once



Linux & WebHosting Discussion and Support Forum
how to fix " Message: Rule processing failed " in cpanel Apache - Printable Version

+- Linux & WebHosting Discussion and Support Forum (https://serveradminsupport.com/forum)
+-- Forum: News / Security Updates / Security Related stuffs (https://serveradminsupport.com/forum/forumdisplay.php?fid=17)
+--- Forum: Server Level / Application Level Hardening (https://serveradminsupport.com/forum/forumdisplay.php?fid=20)
+--- Thread: how to fix " Message: Rule processing failed " in cpanel Apache (/showthread.php?tid=13)



how to fix " Message: Rule processing failed " in cpanel Apache - Chris.G - 11-09-2016

Hi 

I a getting such an error in the modsecurity logs in a cpanel server. I am not able to pinpoint the issue or rule which is getting triggered and I hired a sysadmin as well and he also is unable to fix it

Do you have any idea ?


RE: how to fix " Message: Rule processing failed " in cpanel Apache - Techyllinux - 11-09-2016

Hi Chris

Did you checked disabling the modsec rules or any of the rules ?

I had some similar issues with OWSAP Modsecrule enabled in a cpanel server and If I believe it was due to some modsec rules which needed to be registered on some honey pot site.

Let me check my old mails and will update you the exact reply as I had contacted cpanel staff on those days

Hi Chris

This is the fix which worked for me on that day .

===================
This error is likely due to the 'REQUEST-10-IP-REPUTATION.conf' OWASP rule, which can be disabled at WHM > Security Center »ModSecurity™ Vendors » Select Vendor Rule Sets. This rule actually requires an API key from 'http://www.projecthoneypot.org/httpbl_api.php' to fully utilize the rule.

It doesn't appear this API key has been added to your configuration. This can be added via WHM > Security Center »ModSecurity™ Configuration » Configure Global Directives > "Project Honey Pot".
===================

Please try this and let me know if all is fine after this..


RE: how to fix " Message: Rule processing failed " in cpanel Apache - Chris.G - 11-09-2016

Hi

I guess that worked and that was the case. I will be monitoring the logs from now and will update this thread if there is any more such error.

Thanks a lot Techyllinux !!!!! You helped me once again..