Fail2ban failing to start on new install


#1

As the title says, I installed a new FreePBX server (VM) (version 15.0.17.43)
All was good, did module and system updates, still good.
The problem started when I added a new network card.
Now the fail2ban won’t start.

[[email protected] ~]# systemctl start fail2ban.service
Job for fail2ban.service failed because the control process exited with error code. See "systemctl status fail2ban.service" and "journalctl -xe" for details.

[[email protected] ~]# 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 Thu 2021-08-05 17:57:57 UTC; 45s ago
  Process: 5889 ExecStart=/usr/bin/fail2ban-client -x start (code=exited, status=255)
  Process: 5887 ExecStartPre=/bin/mkdir -p /var/run/fail2ban (code=exited, status=0/SUCCESS)

Aug 05 17:57:57 freepbx.sangoma.local systemd[1]: Failed to start Fail2Ban Service.
Aug 05 17:57:57 freepbx.sangoma.local systemd[1]: Unit fail2ban.service entered failed state.
Aug 05 17:57:57 freepbx.sangoma.local systemd[1]: fail2ban.service failed.
Aug 05 17:57:57 freepbx.sangoma.local systemd[1]: fail2ban.service holdoff time over, scheduling restart.
Aug 05 17:57:57 freepbx.sangoma.local systemd[1]: Stopped Fail2Ban Service.
Aug 05 17:57:57 freepbx.sangoma.local systemd[1]: start request repeated too quickly for fail2ban.service
Aug 05 17:57:57 freepbx.sangoma.local systemd[1]: Failed to start Fail2Ban Service.
Aug 05 17:57:57 freepbx.sangoma.local systemd[1]: Unit fail2ban.service entered failed state.
Aug 05 17:57:57 freepbx.sangoma.local systemd[1]: fail2ban.service failed.

I have another FreePBX server that I installed in the same way and it works perfectly…

Thanks for the help


(Dan Corwin) #2

I as well am having this issue.

automagic install
passwd
immediately do a ‘yum update’
followed by ‘fwconsole ma updateall’
then ‘fwconsole restart’

wham errors.

Haven’t even opened the web interface yet.


(system) closed #3

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