fail2ban failed to start: ERROR Error in action definition sendmail-whois

Refers to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 12:42:42 UTC

Modified:

2016-12-21 19:02:03 UTC

0

Was this article helpful?


Have more questions?

Submit a request

fail2ban failed to start: ERROR Error in action definition sendmail-whois

Symptoms

fail2ban fails to start with the following error:

ERROR Found no accessible config files for 'action.d/sendmail-whois' under /etc/fail2ban
ERROR Error in action definition sendmail-whois[name=SSH, dest=webmaster@domain.tld, sender=fail2ban@example.com, sendername="Fail2Ban"]
ERROR Errors in jail 'ssh-iptables'. Skipping...

Cause

sendmail-whois.conf is missing in /etc/fail2ban/action.d

Resolution

For rpm based distro:

rpm -ql fail2ban | grep sendmail-whois.conf| xargs -i cp {} /etc/fail2ban/action.d

For deb based distro:

dpkg -L fail2ban| grep sendmail-whois.conf | xargs -i cp {} /etc/fail2ban/action.d
Have more questions? Submit a request
Please sign in to leave a comment.