Fail2ban ERROR /bin/sh iptables No such file or directory

In Fail2ban version 0.9 running on Debian 9 server

fail2ban.action [17325]: ERROR -n -L INPUT | grep -q 'f2b- [ \t]' -- stderr: b'/bin/sh: iptables: No such file or directory\n'

[edit]
/etc/fail2ban/action.d/iptables-common.conf

[change]
iptables = iptables

[to]
/sbin/iptables = iptables

You may also like...