@fastdrw wrote:
fail2ban will not start due to an error in Distro installation.
This is a repeatable error: (3 installs)using the following command to debug fail2ban error:
fail2ban-client -vvvvvvvvvvvvvvvvvv startERROR Found no accessible config files for ‘filter.d/apache-api’ under /etc/fail2ban
ERROR Unable to read the filter
ERROR Errors in jail ‘apache-api’. Skipping…If you go into the file jail.local and change the enabled = true to false
[apache-api]
enabled = true
filter = apache-api
action = iptables-multiport[name=api, protocol=tcp, port=“http,https”]
sendmail[name=api, dest=admin@totalconnect.ca, sender=uc252@tcci.cloud]
logpath = /var/log/httpd/*access_logfail2ban will restart and run from the CLI.
BUT if you restart fail2ban in the GUI, it changes the false back to true and fail2ban STOPS RUNNING again.
Posts: 4
Participants: 2