Nick Sternly
New Pleskian
I've upgraded from 12.x to 12.5 and I noticed Fail2ban isn't properly working. When I took a look at the log file i'm getting a few error messages regarding missing files?
2015-09-21 07:15:51,987 fail2ban.action [31802]: ERROR iptables -n -L INPUT | grep -q 'f2b-plesk-proftpd[ \t]' -- stdout: ''
2015-09-21 07:15:51,988 fail2ban.action [31802]: ERROR iptables -n -L INPUT | grep -q 'f2b-plesk-proftpd[ \t]' -- stderr: ''
2015-09-21 07:15:51,988 fail2ban.action [31802]: ERROR iptables -n -L INPUT | grep -q 'f2b-plesk-proftpd[ \t]' -- returned 1
2015-09-21 07:15:51,988 fail2ban.CommandAction [31802]: ERROR Invariant check failed. Trying to restore a sane environment
2015-09-21 07:15:52,091 fail2ban.action [31802]: ERROR iptables -D INPUT -p tcp -m multiport --dports ftp,ftp-data,ftps,ftps-data -j f2b-plesk-proftpd
iptables -F f2b-plesk-proftpd
iptables -X f2b-plesk-proftpd -- stdout: ''
2015-09-21 07:15:52,091 fail2ban.action [31802]: ERROR iptables -D INPUT -p tcp -m multiport --dports ftp,ftp-data,ftps,ftps-data -j f2b-plesk-proftpd
iptables -F f2b-plesk-proftpd
iptables -X f2b-plesk-proftpd -- stderr: "iptables v1.4.21: Couldn't load target `f2b-plesk-proftpd':No such file or directory\n\nTry `iptables -h' or 'iptables --help' for more information.\niptables: No chain/target/match by that name.\niptables: No chain/target/match by that name.\n"
2015-09-21 07:15:52,091 fail2ban.action [31802]: ERROR iptables -D INPUT -p tcp -m multiport --dports ftp,ftp-data,ftps,ftps-data -j f2b-plesk-proftpd
iptables -F f2b-plesk-proftpd
iptables -X f2b-plesk-proftpd -- returned 1
This is the first time trying to use Fail2ban so I'm not sure if it's ever been working.
Currently on a CentOS 7 64bit system which is a dedicated plesk server.
Any ideas?
2015-09-21 07:15:51,987 fail2ban.action [31802]: ERROR iptables -n -L INPUT | grep -q 'f2b-plesk-proftpd[ \t]' -- stdout: ''
2015-09-21 07:15:51,988 fail2ban.action [31802]: ERROR iptables -n -L INPUT | grep -q 'f2b-plesk-proftpd[ \t]' -- stderr: ''
2015-09-21 07:15:51,988 fail2ban.action [31802]: ERROR iptables -n -L INPUT | grep -q 'f2b-plesk-proftpd[ \t]' -- returned 1
2015-09-21 07:15:51,988 fail2ban.CommandAction [31802]: ERROR Invariant check failed. Trying to restore a sane environment
2015-09-21 07:15:52,091 fail2ban.action [31802]: ERROR iptables -D INPUT -p tcp -m multiport --dports ftp,ftp-data,ftps,ftps-data -j f2b-plesk-proftpd
iptables -F f2b-plesk-proftpd
iptables -X f2b-plesk-proftpd -- stdout: ''
2015-09-21 07:15:52,091 fail2ban.action [31802]: ERROR iptables -D INPUT -p tcp -m multiport --dports ftp,ftp-data,ftps,ftps-data -j f2b-plesk-proftpd
iptables -F f2b-plesk-proftpd
iptables -X f2b-plesk-proftpd -- stderr: "iptables v1.4.21: Couldn't load target `f2b-plesk-proftpd':No such file or directory\n\nTry `iptables -h' or 'iptables --help' for more information.\niptables: No chain/target/match by that name.\niptables: No chain/target/match by that name.\n"
2015-09-21 07:15:52,091 fail2ban.action [31802]: ERROR iptables -D INPUT -p tcp -m multiport --dports ftp,ftp-data,ftps,ftps-data -j f2b-plesk-proftpd
iptables -F f2b-plesk-proftpd
iptables -X f2b-plesk-proftpd -- returned 1
This is the first time trying to use Fail2ban so I'm not sure if it's ever been working.
Currently on a CentOS 7 64bit system which is a dedicated plesk server.
Any ideas?