Cannot update Atomic rule set on CentOS 5: HTTP Error 404: Not Found Trying other mirror

Created:

2017-04-04 11:37:40 UTC

Modified:

2017-08-08 13:25:16 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot update Atomic rule set on CentOS 5: HTTP Error 404: Not Found Trying other mirror

Applicable to:

  • Plesk 12.0 for Linux

Symptoms

The following error appears after logging in to Plesk administration panel:

Error: Failed to update the ModSecurity rule set: modsecurity_ctl failed: gpg: key 4520AFA9: "Atomicorp (Atomicorp Official Signing Key) <support@atomicorp.com>" not changed gpg: Total number processed: 1 gpg: unchanged: 1 gpg: Signature made Mon Apr 3 19:43:23 2017 CEST using RSA key ID 4520AFA9 gpg: Good signature from "Atomicorp (Atomicorp Official Signing Key) <support@atomicorp.com>" 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. http://mirror.centos.org/centos/5.11/os/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again Command '/bin/bash < /tmp/tmpu4_dqX/aum-plesk-installer' returned non-zero exit status 1 Unable to download tortix rule set

Atomic rule set cannot be updated:

[root@server yum.repos.d]# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -f UpdateModSecurityRuleSet
[2017-04-04 13:19:51] ERR [util_exec] proc_close() failed
[2017-04-04 13:19:51] ERR [panel] modsecurity_ctl failed: gpg: key 4520AFA9: "Atomicorp (Atomicorp Official Signing Key) <support@atomicorp.com>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
gpg: Signature made Mon Apr 3 19:43:23 2017 CEST using RSA key ID 4520AFA9
gpg: Good signature from "Atomicorp (Atomicorp Official Signing Key) <support@atomicorp.com>"
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
http://ct.mirror.garr.it/mirrors/CentOS/5.11/extras/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://centos.mirrors.as250.net/5.11/extras/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: extras. Please verify its path and try again
Command '/bin/bash < /tmp/tmpEcn4SS/aum-plesk-installer' returned non-zero exit status 1
Unable to download tortix rule set

Cause

Incorrect Yum repositories configuration. The enabled ones are obsolete.

Resolution

1. Check the actual repository at http://mirror.centos.org/centos/5/readme

2. Update /etc/yum.repos.d/CentOS-Base.repo . For example:

[base]
name=CentOS-$releasever - Base
baseurl=http://vault.centos.org/5.11/os/i386/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

[updates]
name=CentOS-$releasever - Updates
baseurl=http://vault.centos.org/5.11/updates/i386/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

[extras]
name=CentOS-$releasever - Extras
baseurl=http://vault.centos.org/5.11/extras/i386/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

3. Update the Atomic ruleset:

# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -f UpdateModSecurityRuleSet

Have more questions? Submit a request
Please sign in to leave a comment.