After updating to latest fail2ban, FPBX 14 dashboard indicates it is not running even though it is


(Sshomi) #1

Anyone else have this problem.

Generic FreePBX v14 on CE7 updated to latest stable FPBX modules.

Before yum update I was running fail2ban-server.noarch 0:0.10.4-1.el7
FPBX v14 dashboard shows fail2ban running

After yum update I am running fail2ban-server.noarch 0:0.10.5-2.el7
And now FreePBX dashboard says fail2ban is not running. But it is still running like it was before the yum update.

systemctl status fail2ban

* fail2ban.service - Fail2Ban Service
   Loaded: loaded (/usr/lib/systemd/system/fail2ban.service; enabled; vendor preset: disabled)
   Active: active (running) since Sat 2020-02-22 21:46:26 PST; 4min 1s ago
     Docs: man:fail2ban(1)
 Main PID: 27157 (f2b/server)
   CGroup: /system.slice/fail2ban.service
           `-27157 /usr/bin/python -s /usr/bin/fail2ban-server -xf start

Of course I tried fwconsole chown and rebooted etc.


(Sshomi) #2

I can confirm that downgrading the fail2ban packages resolves this for me. So something must have changed in the newer version that trips up fpbx detection.

 wget https://extras.getpagespeed.com/redhat/7/noarch/RPMS/fail2ban-0.10.4-1.el7.noarch.rpm
 wget https://extras.getpagespeed.com/redhat/7/noarch/RPMS/fail2ban-sendmail-0.10.4-1.el7.noarch.rpm
 wget https://extras.getpagespeed.com/redhat/7/noarch/RPMS/fail2ban-server-0.10.4-1.el7.noarch.rpm
 wget https://extras.getpagespeed.com/redhat/7/noarch/RPMS/fail2ban-firewalld-0.10.4-1.el7.noarch.rpm

yum downgrade fail2ban-0.10.4-1.el7.noarch.rpm fail2ban-server-0.10.4-1.el7.noarch.rpm fail2ban-firewalld-0.10.4-1.el7.noarch.rpm fail2ban-sendmail-0.10.4-1.el7.noarch.rpm

(Itzik) #3

Report this as a bug please: issues.freepbx.org


(system) closed #4

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