Fail2ban wont start


(Bob Reiber) #21

Now I get a slightly different message that includes: .
To force a start use “systemctl reset-failed fail2ban.service” followed by “sysemctl start fail2ban.service” again.

Can’t tell what’s happening after doing the first command but after the second command I’m back to square 1

Do I need to reboot?


(Jeremy Lizzotte) #22

Has Fail2ban issue been resolved yet? I have FreePBX 15 PBXes that wont start Fail2Ban, even after upgrading sysadmin.


(Bob Reiber) #23

I dont think so. I just tried upgrading sys admin and the firewall and see no difference.


(Yois) #24

Did either of you try this:


(Jeremy Lizzotte) #25

Yes and that did not work, same error message. I looked through all of these recent threads before I left the question asking if it was resolved


(Yois) #26

(Jeremy Lizzotte) #27

Thanks. Unfortunately that did not work.


(Jeremy Lizzotte) #28

Jul 20 12:27:54 xxx systemd[1]: fail2ban.service: control process exited, code=exited status=255
Jul 20 12:27:54 xxx systemd[1]: Failed to start Fail2Ban Service.
Jul 20 12:27:54 xxx systemd[1]: Unit fail2ban.service entered failed state.
Jul 20 12:27:54 xxx systemd[1]: fail2ban.service failed.
Jul 20 12:27:54 xxx systemd[1]: fail2ban.service holdoff time over, scheduling restart.
Jul 20 12:27:54 xxx systemd[1]: Stopped Fail2Ban Service.
Jul 20 12:27:54 xxx systemd[1]: start request repeated too quickly for fail2ban.service
Jul 20 12:27:54 xxx systemd[1]: Failed to start Fail2Ban Service.
Jul 20 12:27:54 xxx systemd[1]: Unit fail2ban.service entered failed state.
Jul 20 12:27:54 xxx systemd[1]: fail2ban.service failed.


(Ralph) #29

Just installed sysadmin 15.0.21.68 update and fail2ban still not running.
Also Restapps and xmpp daemons not running.
Any suggestions please.
Tried all the above methods no change.

Thanks

Ralph


(Ralph) #30

As no answer given on this thread can anyone direct me to similar thread with responses please?
I have not been able to locate it as referred to above.


(David55) #31

Fail2ban won't start after update perhaps?


(Dpbx71) #32

yum reinstall fail2ban
worked for me


(Ralph) #33

did not work for me
still no running fail2ban


(Dpbx71) #34

Got another system with fail2ban errors.

Took a look in journalctl -xe and saw this:
ERROR No file(s) found for glob /var/log/asterisk/zulu_out.log

Solution:
sudo -u asterisk touch /var/log/asterisk/zulu_out.log


(Ralph) #35

Thanks very much. This allowed Instrusion detection to be restarted and thus fail2ban is working.
Still have restapps and xmpp daemons not working since recent upgrades.


(Ralph) #36

restapps just upgraded but still not running as per dashboard


(Ralph) #37

restarted restapps and xmpp manually via cli and all seems to be running now