Difference between revisions of "Fail2ban talk:Community Portal"
Line 22: | Line 22: | ||
Now it is working the version 0.6.2 installed from an RPM. I will try again 0.8.0 but later. | Now it is working the version 0.6.2 installed from an RPM. I will try again 0.8.0 but later. | ||
Thanks | Thanks | ||
+ | |||
+ | Can someone tell me why I´m getting these errors with fail2ban? | ||
+ | |||
+ | 2007-07-07 17:22:09,608 fail2ban.actions.action: CRITICAL Unable to restore environment | ||
+ | 2007-07-08 01:57:43,008 fail2ban.actions.action: ERROR iptables -D INPUT -p tcp --dport http -j fail2ban-apache | ||
+ | iptables -F fail2ban-apache | ||
+ | iptables -X fail2ban-apache returned 100 | ||
+ | 2007-07-08 01:57:43,933 fail2ban.actions.action: ERROR iptables -D INPUT -p tcp --dport ssh -j fail2ban-ssh | ||
+ | iptables -F fail2ban-ssh | ||
+ | iptables -X fail2ban-ssh returned 100 | ||
+ | |||
+ | I´m using Debian Etch | ||
+ | |||
+ | Thanks! |
Revision as of 00:55, 13 July 2007
I am finding this error a few times on different scripts when installing on CentOS
byte-compiling /usr/share/fail2ban/server/mytime.py to mytime.pyc
File "/usr/share/fail2ban/server/mytime.py", line 49 @staticmethod ^
SyntaxError: invalid syntax
Any ideas
Are you sure that you have Python 2.4? Annotations are available since Python 2.4. --Lostcontrol 15:53, 8 May 2007 (CEST)
I got 2.4.3 root@usa2 [~]# python -V Python 2.4.3
I installed 2.5.1 and still the same problem.
Now it is working the version 0.6.2 installed from an RPM. I will try again 0.8.0 but later. Thanks
Can someone tell me why I´m getting these errors with fail2ban?
2007-07-07 17:22:09,608 fail2ban.actions.action: CRITICAL Unable to restore environment 2007-07-08 01:57:43,008 fail2ban.actions.action: ERROR iptables -D INPUT -p tcp --dport http -j fail2ban-apache iptables -F fail2ban-apache iptables -X fail2ban-apache returned 100 2007-07-08 01:57:43,933 fail2ban.actions.action: ERROR iptables -D INPUT -p tcp --dport ssh -j fail2ban-ssh iptables -F fail2ban-ssh iptables -X fail2ban-ssh returned 100
I´m using Debian Etch
Thanks!