• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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