• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Error: modsecurity_ctl failed: START httpd_modules_ctl --enable security2,unique_id

Kingsley

Silver Pleskian
Hello;

I am trying to install custom rules from Install ModSecurity Rules to Plesk with Manual - Malware Expert i have done everything and i keep getting one error to another now i dont want to use it again and i can't turn ON Modsecurity because i keep getting the below error.

Code:
Error: modsecurity_ctl failed: START httpd_modules_ctl --enable security2,unique_id
websrvmng: /usr/local/psa/admin/sbin/apache_control_adapter execution failed:
May 25 18:22:49 sprout1.sproutserver.com systemd[1]: Starting The Apache HTTP Server...
May 25 18:22:49 sprout1.sproutserver.com httpd[860767]: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/security2.conf: Syntax error on line 6 of /etc/httpd/conf/modsecurity.d/zz_rules.conf: No matches for the wildcard '*.conf' in '/etc/httpd/conf/modsecurity.d/rules/custom', failing (use IncludeOptional if required)
May 25 18:22:49 sprout1.sproutserver.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
May 25 18:22:49 sprout1.sproutserver.com kill[860769]: kill: cannot find process ""
May 25 18:22:49 sprout1.sproutserver.com systemd[1]: httpd.service: control process exited, code=exited status=1
May 25 18:22:49 sprout1.sproutserver.com systemd[1]: Failed to start The Apache HTTP Server.
May 25 18:22:49 sprout1.sproutserver.com systemd[1]: Unit httpd.service entered failed state.
May 25 18:22:49 sprout1.sproutserver.com systemd[1]: httpd.service failed.
websrvmng: /usr/local/psa/admin/sbin/apache_control_adapter execution failed:
May 25 18:22:49 sprout1.sproutserver.com systemd[1]: Starting The Apache HTTP Server...
May 25 18:22:49 sprout1.sproutserver.com httpd[860767]: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/security2.conf: Syntax error on line 6 of /etc/httpd/conf/modsecurity.d/zz_rules.conf: No matches for the wildcard '*.conf' in '/etc/httpd/conf/modsecurity.d/rules/custom', failing (use IncludeOptional if required)
May 25 18:22:49 sprout1.sproutserver.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
May 25 18:22:49 sprout1.sproutserver.com kill[860769]: kill: cannot find process ""
May 25 18:22:49 sprout1.sproutserver.com systemd[1]: httpd.service: control process exited, code=exited status=1
May 25 18:22:49 sprout1.sproutserver.com systemd[1]: Failed to start The Apache HTTP Server.
May 25 18:22:49 sprout1.sproutserver.com systemd[1]: Unit httpd.service entered failed state.
May 25 18:22:49 sprout1.sproutserver.com systemd[1]: httpd.service failed.

Update: i was able to get it working, but then i can't see the custom rule.
 
Back
Top