Hi, I have an issue with fail2ban on one of our systems. Initially it wouldn’t start so I did a ton of stuff trying to get it to work and am at the point now where I don’t know what the systemctl status fail2ban.service command is telling me is wrong. Also, the status in intrusion detection says “It seems that you are missing the necessary files to start Intrusion Detection.” I finally tried to uninstall fail2ban with “yum remove fail2ban-fpbx” so I could reinstall it, but both commands fail. Trying to remove it gives me “Error: Trying to remove “sangoma-pbx16”, which is protected” and trying to reinstall just says it’s already installed. The problem is I don’t know what files are missing and I can’t get it to just reinstall them.
[root@xxxx-pbx ~]# systemctl status fail2ban.service
● fail2ban.service - Fail2Ban Service
Loaded: loaded (/usr/lib/systemd/system/fail2ban.service; disabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Mon 2025-10-27 19:26:14 EDT; 13h ago
Process: 3065 ExecStart=/usr/bin/fail2ban-client -x start (code=exited, status=1/FAILURE)
Process: 3063 ExecStartPre=/bin/mkdir -p /var/run/fail2ban (code=exited, status=0/SUCCESS)
Oct 27 19:26:14 xxxx.xxxxx.xxxx.xxxx systemd[1]: fail2ban.service failed.
Oct 27 19:26:14 xxxx.xxxxx.xxxx.xxxx systemd[1]: fail2ban.service holdoff time over, scheduling restart.
Oct 27 19:26:14 xxxx.xxxxx.xxxx.xxxx systemd[1]: Stopped Fail2Ban Service.
Oct 27 19:26:14 xxxx.xxxxx.xxxx.xxxx systemd[1]: start request repeated too quickly for fail2ban.service
Oct 27 19:26:14 xxxx.xxxxx.xxxx.xxxx systemd[1]: Failed to start Fail2Ban Service.
Oct 27 19:26:14 xxxx.xxxxx.xxxx.xxxx systemd[1]: Unit fail2ban.service entered failed state.
Oct 27 19:26:14 xxxx.xxxxx.xxxx.xxxx systemd[1]: fail2ban.service failed.
Oct 27 19:26:19 xxxx.xxxxx.xxxx.xxxx systemd[1]: start request repeated too quickly for fail2ban.service
Oct 27 19:26:19 xxxx.xxxxx.xxxx.xxxx systemd[1]: Failed to start Fail2Ban Service.
Oct 27 19:26:19 xxxx.xxxxx.xxxx.xxxx systemd[1]: fail2ban.service failed.