• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

Resolved /var/awp/etc/config: No such file or directory, Failed to update the ModSecurity rule set

finbarr69

Basic Pleskian
Server operating system version
CentOS Linux release 7.9.2009 (Core)
Plesk version and microupdate number
Plesk Obsidian Web Host Edition Version 18.0.52 Update #3
A few days ago, all my web servers began producing a 500 error and my server was down for a day before I realised the cause was a missing file :

/etc/httpd/conf/modsecurity.d/rules/tortix/modsec/tortix_waf.conf

I created the missing file by simply touching it. After I restarted apache, all the sites started working again.

I don't know if it is related, but now anacron job 'cron.daily' is reporting:

/etc/cron.daily/aum_nightly.sh: line 2: /var/awp/etc/config: No such file or directory

It seems to be something to do with Atomic?

Perhaps a mod_security rule-set has not applied correctly. Is there anything I should be doing?

Plesk tells me "Failed to update the ModSecurity rule set" and gives me details to click on which shows :

Failed to update the ModSecurity rule set: modsecurity_ctl failed: Command '['sed', '-i', '-e', 's#^MODSEC_RULES_PATH\\s*=.*#MODSEC_RULES_PATH="/etc/httpd/conf/modsecurity.d/rules/tortix/modsec"#g', '-e', 's#^RESTART_APACHE\\s*=.*#RESTART_APACHE="no"#g', '-e', 's#^AUTOMATIC_UPDATES\\s*=.*#AUTOMATIC_UPDATES="no"#g', '-e', 's#^MODSEC_50_PLESK\\s*=.*#MODSEC_50_PLESK="yes"#g', '/etc/asl/config']' returned non-zero exit status 2.

Thanks

Brian
 
Back
Top