• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Issue Fail2ban does not block IPs Couldn t load target

cisco

New Pleskian
Here's my error.
Plesk Onyx 17.8.11 Update #49

fail2ban.action [10650]: ERROR iptables -w -n -L INPUT | grep -q 'f2b-apache[ \t]' -- stdout: ''
fail2ban.action [10650]: ERROR iptables -w -n -L INPUT | grep -q 'f2b-apache[ \t]' -- stderr: ''
fail2ban.action [10650]: ERROR iptables -w -n -L INPUT | grep -q 'f2b-apache[ \t]' -- returned 1
fail2ban.CommandAction [10650]: ERROR Invariant check failed. Trying to restore a sane environment
fail2ban.action [10650]: ERROR iptables -w -D INPUT -p tcp -m multiport --dports http,https,7080,7081 -j f2b-apache
iptables -w -F f2b-apache
iptables -w -X f2b-apache -- stdout: ''
iptables -w -X f2b-apache -- stderr: "iptables v1.6.0: Couldn't load target `f2b-apache':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"
fail2ban.action [10650]: ERROR iptables -w -D INPUT -p tcp -m multiport --dports http,https,7080,7081 -j f2b-apache
iptables -w -F f2b-apache
iptables -w -X f2b-apache -- returned 1
fail2ban.actions [10650]: ERROR Failed to execute ban jail 'plesk-apache' action 'iptables-multiport' info 'CallingMap({'ipjailmatches': <function <lambda> at 0x7fb06bd8c9b0>, 'matches': u
 
Anyway, I'd suggest you try to reinstall fail2ban first.
 
Back
Top