New installation of freePBX 16
This is still a problem
failban is running but intruder detection will not start
In order to get fail2ban to start, I have rm /etc/fail2ban/jail.local
Then I try to start Intrusion Detection. It won’t start and fail2ban craps out.
. [root@freepbx16oncentos78-s-1vcpu-1gb-amd-sfo3-01 fail2ban]# systemctl status fail2ban | more ● fail2ban.service - Fail2Ban Service Loaded: loaded (/usr/lib/systemd/system/fail2ban.service; enabled; vendor preset: disabled) Active: failed (Result: start-limit) since Sun 2022-03-27 08:35:20 +07; 5min ago Process: 7332 ExecStop=/usr/bin/fail2ban-client stop (code=exited, status=0/SUCCESS) Process: 7497 ExecStart=/usr/bin/fail2ban-client -x start (code=exited, status=255) Process: 7495 ExecStartPre=/bin/mkdir -p /var/run/fail2ban (code=exited, status=0/SUCCESS) Main PID: 7287 (code=exited, status=0/SUCCESS) Mar 27 08:35:20 freepbx16oncentos78-s-1vcpu-1gb-amd-sfo3-01 systemd: fail2ban.service: cont--More--
It won’t start again until I remove jail.local again
U P D A T E
I have reinstalled. Now there is no Intrusion Detection tab in the firewall settings.
Fail2ban is active.
I have cleared the cache, as was suggested