Fail2ban not starting

Over the weekend we formatted and rebuilt one of our servers. Everything appears to be ok after the restore except fail2ban wouldn’t start.

I’m getting error:
[root@pbx ~]# fail2ban-client -x start
ERROR Found no accessible config files for ‘filter.d/zulu’ under /etc/fail2ban
ERROR Unable to read the filter
ERROR Errors in jail ‘zulu’. Skipping…

If I comment out ZULU in: vi /etc/fail2ban/jail.local
I can get fail2ban to start. However the Freepbx gui can’t control fail2ban. Also I noticed over night the commented out zulu section in jail.local was back in action.

I also already had the file /etc/fail2ban/filter.d/apache-api.conf

any other ideas?

Ok I created the zulu.conf file under /etc/fail2ban/filter.d/ with contents:
[INCLUDES]
[Definition]
#_daemon = zulu
failregex = Authentication failure from
ignoreregex =

Now working.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.