fail2ban won't start up the following error is displayed:
Error: Unable to make action: Unable to manage service by f2bmng: WARNING Wrong value for 'maxretry' in 'ssh'. Using default one: 'None' WARNING Wrong value for 'bantime' in 'ssh'. Using default one: 'None' ERROR Error in action definition action = iptables[name=SSH, port=ssh, protocol=tcp] ERROR Errors in jail 'ssh'. Skipping... ERROR:f2bmng:Failed to start fail2ban service ('--start', 'fail2ban')
Error in jail 'ssh'
/etc/fail2ban/jail.localand mentioned jail by its name.
action =from action definition. It should look alike :
[ssh] enabled = true filter = sshd action = iptables[name=SSH, port=ssh, protocol=tcp] logpath = /var/log/secure
Note: portname and logpath can be differ