Fail2Ban not starting after auto "security" updates


#21

You will have to now fix the jail for apache-api that neither has a log file to watch, as defined in your `/etc/fail2ban/filter.d/apache-api’ file, you can similarly ‘touch’ it for a work around, this also needs to be a bug that you report

Understand that at this point you are not protected by either of those ‘jails’

(I believe that current versions of fail2ban will not outright fail for a mis-configured jail)


#22

Thanks for the info, I will try the touch workaround in a few moments.
I didn’t leave the system running without the firewall, it was shutdown.


#23

This is what fixed it for me:
/var/www/html/admin/modules/sysadmin/hooks/fail2ban-apache-config

Found it on:
https://community.freepbx.org/t/fail2ban-wont-start-after-update/76810/52


#25

This fixed the same issue for me, thanks Chris.