• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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