• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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