Reply To: RE: Fail2Ban starts and then stops – sends email

VitalPBX Community Support General Discussion Fail2Ban starts and then stops – sends email Reply To: RE: Fail2Ban starts and then stops – sends email

    Gotoogle
    Participant
    Up
    0
    Down

    Further – it stops…

    Dec 05 09:39:01 vitalpbx.local systemd[1]: fail2ban.service holdoff time over, scheduling restart. Dec 05 09:39:01 vitalpbx.local systemd[1]: Starting Fail2Ban Service… [root@vitalpbx ~]# systemctl status fail2ban.service ● fail2ban.service – Fail2Ban Service Loaded: loaded (/usr/lib/systemd/system/fail2ban.service; enabled; vendor preset: disabled) Active: activating (start) since Wed 2018-12-05 09:40:36 +11; 25s ago Docs: man:fail2ban(1) Control: 15489 (fail2ban-client) CGroup: /system.slice/fail2ban.service ├─15175 /usr/bin/python2 -s /usr/bin/fail2ban-server -s /var/run/fail2ban/fail2ban.sock -p /var/run/fail2ban/fail2ban.pid -x -b └─15489 /usr/bin/python2 -s /usr/bin/fail2ban-client -x start Dec 05 09:40:36 vitalpbx.local systemd[1]: Starting Fail2Ban Service… [root@vitalpbx ~]# systemctl status fail2ban.service ● fail2ban.service – Fail2Ban Service Loaded: loaded (/usr/lib/systemd/system/fail2ban.service; enabled; vendor preset: disabled) Active: deactivating (final-sigterm) (Result: exit-code) Docs: man:fail2ban(1) Process: 17104 ExecStart=/usr/bin/fail2ban-client -x start (code=exited, status=1/FAILURE) CGroup: /system.slice/fail2ban.service └─16558 /usr/bin/python2 -s /usr/bin/fail2ban-server -s /var/run/fail2ban/fail2ban.sock -p /var/run/fail2ban/fail2ban.pid -x -b Dec 05 10:05:10 vitalpbx.local fail2ban-client[17104]: File “/usr/bin/fail2ban-client”, line 153, in __ping Dec 05 10:05:10 vitalpbx.local fail2ban-client[17104]: return self.__processCmd([[“ping”]], False) Dec 05 10:05:10 vitalpbx.local fail2ban-client[17104]: File “/usr/bin/fail2ban-client”, line 185, in __processCmd Dec 05 10:05:10 vitalpbx.local fail2ban-client[17104]: client.close() Dec 05 10:05:10 vitalpbx.local fail2ban-client[17104]: File “/usr/lib/python2.7/site-packages/fail2ban/client/csocket.py”, line 55, in close Dec 05 10:05:10 vitalpbx.local systemd[1]: fail2ban.service: control process exited, code=exited status=1 Dec 05 10:05:10 vitalpbx.local fail2ban-client[17104]: self.__csock.sendall(CSPROTO.CLOSE + CSPROTO.END) Dec 05 10:05:10 vitalpbx.local fail2ban-client[17104]: File “/usr/lib64/python2.7/socket.py”, line 224, in meth Dec 05 10:05:10 vitalpbx.local fail2ban-client[17104]: return getattr(self._sock,name)(*args) Dec 05 10:05:10 vitalpbx.local fail2ban-client[17104]: socket.error: [Errno 32] Broken pipe

    0