• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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