Page 1 of 1

error mod_security since this week end

Posted: Mon Nov 21, 2016 3:03 pm
by heiny
Got this: 2 9901 ASLCommon::cmd_system ERROR: '/bin/cp -af /var/asl/rules/modsec/
template-* /var/asl/data/templates/ >/dev/
null 2>&1 (1)'
3 18 c_modsec::apply_rules Failed to copy file /var/asl/rules/modsec/
waf_classes -> /var/asl/data/waf_classes

When asl -s -f or aum -uf

When I ls -l /var/asl/rules/modsec/ I got :

-rw-rw-rw- 1 root root 0 Nov 21 11:43 10_asl_rules.conf

How can I get all rules back ?

Re: error mod_security since this week end

Posted: Wed Nov 23, 2016 5:18 pm
by mikeshinn
Whats the output of:

aum -uf

Re: error mod_security since this week end

Posted: Fri Nov 25, 2016 11:09 am
by heiny
2 9901 ASLCommon::cmd_system ERROR: '/bin/cp -af /var/asl/rules/modsec/
template-* /var/asl/data/templates/ >/dev/
null 2>&1 (1)'
3 18 c_modsec::apply_rules Failed to copy file /var/asl/rules/modsec/
waf_classes -> /var/asl/data/waf_classes

Re: error mod_security since this week end

Posted: Sat Nov 26, 2016 7:57 am
by stealthtech1
heiny, have you managed to fix this as i'm getting this exact same error and the output of my folders are the same.

Please let me know

thanks

Re: error mod_security since this week end

Posted: Mon Nov 28, 2016 11:36 am
by heiny
We didn't fix that yet.

We disabled mod_sec in ASL for now. I was supposed to open a ticket last week about that. Will do it today.