[BlueOnyx:23759] Re: Fail2ban cannot be restarted

Michael Stauber mstauber at blueonyx.it
Thu Mar 19 11:53:30 -05 2020


Hi Meaulnes,

> Mar 19 17:30:02 vs fail2ban-server[26348]: 2020-03-19 17:30:02,434
> fail2ban.configreader   [26348]: ERROR   Found no accessible config
> files for 'filter.d/sshd-ddos' under /etc/fail2ban

My guess (from what I've just seen from another 5209R) is that some
config files are still present from the old version of Fail2ban and they
don't seem to be compatible anymore.

Please run "find /etc/fail2ban/ -name *.rpmnew" and see what it turns
up. If it reports something like this ...

~]# find /etc/fail2ban/ -name *.rpmnew
/etc/fail2ban/jail.d/98-blueonyx-services.conf.rpmnew
/etc/fail2ban/filter.d/pam-generic.conf.rpmnew

... then it tells you which files to rename:

mv /etc/fail2ban/jail.d/98-blueonyx-services.conf.rpmnew
/etc/fail2ban/jail.d/98-blueonyx-services.conf

mv /etc/fail2ban/filter.d/pam-generic.conf.rpmnew
/etc/fail2ban/filter.d/pam-generic.conf

Then restart fail2ban with "systemctl restart fail2ban" and see if it
works again.

Another way is to uninstall/reinstall the PKG. The uninstall will delete
the /etc/fail2ban directory and the reinstall then has no issues putting
the correct config files into the right places.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list