fail2ban activation error Found no accessible config files for 'filter.d/ssh' under /etc/fail2ban

Created:

2016-11-16 13:11:13 UTC

Modified:

2017-04-24 12:03:36 UTC

0

Was this article helpful?


Have more questions?

Submit a request

fail2ban activation error Found no accessible config files for 'filter.d/ssh' under /etc/fail2ban

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

fail2ban activation failed with the following error message:

Error: f2bmng failed: ERROR Found no accessible config files for 'filter.d/ssh' under /etc/fail2ban
ERROR No section: 'Definition'
ERROR No section: 'Definition'
ERROR Unable to read the filter
ERROR Errors in jail 'ssh'. Skipping...
ERROR:f2bmng:Failed to start fail2ban service

Cause

fail2ban misconfiguration

Resolution

  1. Edit /etc/fail2ban/jail.local
  2. Rename [ssh] section to [sshd] in
  3. Activate fail2ban in Plesk
Have more questions? Submit a request
Please sign in to leave a comment.