Winnstorm
Basic Pleskian
Hi,
Im trying to change my modsecurity rules from Comodo to Atomicorp, but when i try to change it on Settings I receive the following error:
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 Fri Aug 25 12:33:21 2017 ART 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. http://apt.sw.be/redhat/el6/en/x86_64/dag/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'apt.sw.be'" Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: dag. Please verify its path and try again Command '/bin/bash < /tmp/tmpd9RIPh/aum' returned non-zero exit status 1 Unable to download tortix rule set
from ssh i executed the following command
# /var/asl/bin/aum -uf
Checking versions ...
AUM version is current: package asl is not installed [PASS]
df: `/etc/httpd/conf/modsecurity.d/rules/tortix/modsec': No such file or directo ry
df: no file systems processed
Updating Web Application Firewall to 201709080414: updated [PASS]
Warning: Not an array or iterable object in foreach, variable is NULL in src/com ponent/c_apache.php on line 29
Restarting Apache ...
Generating report ...
Finished
-------------------------------------------------------------------------------
Errors were encountered:
L CODE SOURCE MESSAGE
- ---- ----------------------------- ------------------------------------------
2 23 c_modsec::tortix_conf_generat Low space detected writing to tortix_waf.co nf - 0 /
2 1 c_modsec::tortix_conf_generat An error occurred attempting to open file / etc/httpd/conf/modsecurity.d/rules/tortix/modsec/tortix_waf.conf
2 48 ASLRBC Reverting all changes
2 48 ASLRBC::rollback_file Could not retrieve versions for /etc/asl/sy stem.properties
2 48 ASLRBC::rollback_file No valid previous version found for /etc/ht tpd//conf.d/00_mod_security.conf
2 48 ASLRBC::rollback_file No valid previous version found for /etc/ht tpd/conf/modsecurity.d/rules/tortix/modsec/tortix_waf.conf
2 9901 ASLCommon::cmd_exec ERROR: '(1) /usr/sbin/apachectl -t 2>&1 >/d ev/null -- [Fri Sep 08 12:35:40 2017] [warn] module unique_id_module is already loaded, skipping||httpd: Syntax error on line 227 of /etc/httpd/conf/httpd.conf: Syntax error on line 8 of /etc/httpd/conf.d/00_mod_security.conf: Could not ope n configuration file /etc/httpd/conf/modsecurity.d/rules/tortix/modsec/tortix_wa f.conf: No such file or directory'
How can i fix it to make modsecurity works again??
Thanks!!
Im trying to change my modsecurity rules from Comodo to Atomicorp, but when i try to change it on Settings I receive the following error:
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 Fri Aug 25 12:33:21 2017 ART 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. http://apt.sw.be/redhat/el6/en/x86_64/dag/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'apt.sw.be'" Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: dag. Please verify its path and try again Command '/bin/bash < /tmp/tmpd9RIPh/aum' returned non-zero exit status 1 Unable to download tortix rule set
from ssh i executed the following command
# /var/asl/bin/aum -uf
Checking versions ...
AUM version is current: package asl is not installed [PASS]
df: `/etc/httpd/conf/modsecurity.d/rules/tortix/modsec': No such file or directo ry
df: no file systems processed
Updating Web Application Firewall to 201709080414: updated [PASS]
Warning: Not an array or iterable object in foreach, variable is NULL in src/com ponent/c_apache.php on line 29
Restarting Apache ...
Generating report ...
Finished
-------------------------------------------------------------------------------
Errors were encountered:
L CODE SOURCE MESSAGE
- ---- ----------------------------- ------------------------------------------
2 23 c_modsec::tortix_conf_generat Low space detected writing to tortix_waf.co nf - 0 /
2 1 c_modsec::tortix_conf_generat An error occurred attempting to open file / etc/httpd/conf/modsecurity.d/rules/tortix/modsec/tortix_waf.conf
2 48 ASLRBC Reverting all changes
2 48 ASLRBC::rollback_file Could not retrieve versions for /etc/asl/sy stem.properties
2 48 ASLRBC::rollback_file No valid previous version found for /etc/ht tpd//conf.d/00_mod_security.conf
2 48 ASLRBC::rollback_file No valid previous version found for /etc/ht tpd/conf/modsecurity.d/rules/tortix/modsec/tortix_waf.conf
2 9901 ASLCommon::cmd_exec ERROR: '(1) /usr/sbin/apachectl -t 2>&1 >/d ev/null -- [Fri Sep 08 12:35:40 2017] [warn] module unique_id_module is already loaded, skipping||httpd: Syntax error on line 227 of /etc/httpd/conf/httpd.conf: Syntax error on line 8 of /etc/httpd/conf.d/00_mod_security.conf: Could not ope n configuration file /etc/httpd/conf/modsecurity.d/rules/tortix/modsec/tortix_wa f.conf: No such file or directory'
How can i fix it to make modsecurity works again??
Thanks!!