Web Application Firewall Der ModSecurity-Regelsatz konnte nicht installiert werden: modsecurity_ctl failed:


Hallo,
ich bekomme beim Aktivieren der ModSecurity Firewall Folgenden Fehler.
Code:
Der ModSecurity-Regelsatz konnte nicht installiert werden: modsecurity_ctl failed: gpg: key FFBD5D0A4520AFA9: "Atomicorp (Atomicorp Official Signing Key) <support@atomicorp.com>" not changed gpg: Total number processed: 1 gpg:              unchanged: 1 gpg: assuming signed data in '/tmp/tmpfyn2ho/aum' gpg: Signature made Thu May 16 17:23:40 2019 EDT gpg:                using RSA key FFBD5D0A4520AFA9 gpg: Good signature from "Atomicorp (Atomicorp Official Signing Key) <support@atomicorp.com>" [unknown] 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. --2019-06-01 00:17:49--  https://www.atomicorp.com/RPM-GPG-KEY.atomicorp.txt Resolving www.atomicorp.com (www.atomicorp.com)... 74.208.77.16 Connecting to www.atomicorp.com (www.atomicorp.com)|74.208.77.16|:443... Warning: apt-key output should not be parsed (stdout is not a terminal) connected. HTTP request sent, awaiting response... 200 OK Length: 1694 (1.7K) [text/plain] Saving to: 'STDOUT'      0K .                                                     100%  134M=0s 2019-06-01 00:17:50 (134 MB/s) - written to stdout [1694/1694] W: The repository 'http://security.debian.org/stretch/updates main Release' does not have a Release file. W: The repository 'https://updates.atomicorp.com/channels/tortix-common/debian stretch Release' does not have a Release file. E: Failed to fetch http://security.debian.org/stretch/updates/dists/main/contrib/source/Sources  404  Not Found [IP: 151.101.120.204 80] E: Failed to fetch https://updates.atomicorp.com/channels/tortix-common/debian/dists/stretch/main/binary-amd64/Packages  404  Not Found E: Some index files failed to download. They have been ignored, or old ones used instead. sed: can't read /etc/asl/config: No such file or directory Command '['sed', '-i', '-e', 's#^MODSEC_RULES_PATH\\s*=.*#MODSEC_RULES_PATH="/etc/apache2/modsecurity.d/rules/tortix/modsec"#g', '-e', 's#^RESTART_APACHE\\s*=.*#RESTART_APACHE="no"#g', '-e', 's#^AUTOMATIC_UPDATES\\s*=.*#AUTOMATIC_UPDATES="no"#g', '/etc/asl/config']' returned non-zero exit status 2 Unable to download tortix rule set
Alles was ich bei Google finden konnte,brachte leider keinen erfolg das zu beheben,wie kann ich das beheben/Reparieren?
 
Nicht nett das Log in eine Zeile zu quetschen. Editier das bitte.

Irgendwas stimmt was mit apt bei dir nicht. Lass mal die shell laufen mit:
apt clean
apt update
apt upgrade

Dann poste hier mal zwischen Code-Tags die Ausgabe, wo was hakt.
 
Und ich weiß nicht welchen Regelsatz du da bei ModSecurity nimmst, ich bekomme auf Plesk Onyx (17.8.11) und Debian Stretch (9.9) das ModSecurity aktiviert.
 

Back
Top