• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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