Symptoms
-
The similar error is shown on Plesk Home page:
PLESK_ERROR: Error Message:
Failed to install the ModSecurity rule set: modsecurity_ctl failed: gpg: key 4520AFA9: “Atomicorp (Atomicorp Official Signing Key) [email protected]” not changed gpg: Total number processed: 1 gpg: unchanged: 1 gpg: Signature made Tue Oct 16 12:25:50 2018 UTC using RSA key ID 4520AFA9 gpg: Good signature from “Atomicorp (Atomicorp Official Signing Key) [email protected]” gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: 1818 66DF 9DAC A40E 5B42 9B08 FFBD 5D0A 4520 AFA9 TERM environment variable not set. Required ruleset configs were not downloaded: /etc/httpd/conf/modsecurity.d/rules/tortix/modsec/asl.conf Unable to download tortix rule set -
On Windows:
Failed to install the ModSecurity rule set: modsecuritymng failed: The system cannot find the path specified. (Error code 3) at Open file 'C:Program Files (x86)PleskPrivateTemp772143e5-001c42ee9c3fmodsecwindowstortix_waf.conf'
at (VFile::open line 104)
at createAtomicConfig(C:Program Files (x86)PleskPrivateTemp772143e5-d909-11ea-b81d-001c42ee9c3fmodsecwindows)(ModSecurity::AtomicRuleSet::createAtomicConfig line 32)
at install(C:Program Files (x86)PleskPrivateTempba455EB.tmp, C:Program Files (x86)PleskModSecurityrules)(ModSecurity::TortixRuleSet::install line 125)
at installRuleSet(tortix, )(ModSecurity::Adapter::installRuleSet line 62)
at installRuleSet(tortix, , true)(ModSecurityManager::installRuleSet line 47)
at execute console command --install-ruleset(vconsoleapp::start line 93)
at execute "C:Program Files (x86)Pleskadminbinmodsecuritymng" --install-ruleset --with-backup "--ruleset=tortix"(vconsoleapp::run line 110)
(Error code 1) -
Updating rules manually throw the same error.
C:> “%plesk_bin%modsecuritymng” –install-ruleset –with-backup “–ruleset=tortix”
-
On Linux:
In/var/log/plesk/panel.log
the following messages can be found:Errors were encountered:
L CODE SOURCE MESSAGE
- ---- ----------------------------- ------------------------------------------
[0m[0;33m2 6 Core::distributed_update File not found www3.atomicorp.com /channels/rules/plesk/modsec-201812061016.tar.bz2
[0m[0;33m2 302 Core::distributed_update remote fail: E_GEN_RETRY 22 .. www6.atomicorp.com/channels/rules/plesk/modsec-201812061016.tar.bz2
[0m[0;33m2 6 Core::distributed_update File not found www6.atomicorp.com /channels/rules/plesk/modsec-201812061016.tar.bz2
[0m[0;33m2 302 Core::distributed_update remote fail: E_GEN_RETRY 22 .. www2.atomicorp.com/channels/rules/plesk/modsec-201812061016.tar.bz2
...
stderr:
Continue execution.Required ruleset configs were not downloaded: /etc/httpd/conf/modsecurity.d/rules/tortix/modsec/asl.conf
Unable to download tortix rule set
Cause
A temporary issue on Atomicorp side
Resolution
Ignore the error till the next Daily Maintenance task execution or run the update manually:
-
Connect to the server via SSH;
-
Run manual update:
# plesk daily UpdateModSecurityRuleSet