Hi,
What is the output of this command?
systemctl status fail2ban
Can you start it from the commandline?
systemctl start fail2ban
systemctl status fail2ban
● fail2ban.service - Fail2Ban Service
Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; vendor preset: enabled)
Drop-In: /lib/systemd/system/fail2ban.service.d
└─50-ensure-log.conf
Active: failed (Result: exit-code) since Wed 2022-02-16 23:33:30 CET; 10h ago
Docs: man:fail2ban(1)
Process: 19772 ExecStop=/usr/bin/fail2ban-client stop (code=exited, status=255)
Process: 19768 ExecStart=/usr/bin/fail2ban-server -xf start (code=exited, status=255)
Process: 19764 ExecStartPre=/bin/sh -c umask 077; touch /var/log/fail2ban.log (code=exite
Process: 19761 ExecStartPre=/bin/mkdir -p /run/fail2ban (code=exited, status=0/SUCCESS)
Main PID: 19768 (code=exited, status=255)
CPU: 164ms
Warning: Journal has been rotated since unit was started. Log output is incomplete or unava
I have no output when I launch systemctl start fail2ban. When I try the status command after the start command, I get that :
systemctl status fail2ban
● fail2ban.service - Fail2Ban Service
Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; vendor preset: enabled)
Drop-In: /lib/systemd/system/fail2ban.service.d
└─50-ensure-log.conf
Active: failed (Result: exit-code) since Thu 2022-02-17 10:17:05 CET; 52s ago
Docs: man:fail2ban(1)
Process: 26715 ExecStop=/usr/bin/fail2ban-client stop (code=exited, status=255)
Process: 26709 ExecStart=/usr/bin/fail2ban-server -xf start (code=exited, status=255)
Process: 26705 ExecStartPre=/bin/sh -c umask 077; touch /var/log/fail2ban.log (code=exite
Process: 26703 ExecStartPre=/bin/mkdir -p /run/fail2ban (code=exited, status=0/SUCCESS)
Main PID: 26709 (code=exited, status=255)
CPU: 162ms
Feb 17 10:17:05 minouchat systemd[1]: Starting Fail2Ban Service...
Feb 17 10:17:05 minouchat systemd[1]: Started Fail2Ban Service.
Feb 17 10:17:05 minouchat fail2ban-server[26709]: 2022-02-17 10:17:05,695 fail2ban
Feb 17 10:17:05 minouchat fail2ban-server[26709]: 2022-02-17 10:17:05,704 fail2ban
Feb 17 10:17:05 minouchat systemd[1]: fail2ban.service: Main process exited, code=exited, s
Feb 17 10:17:05 minouchat fail2ban-client[26715]: 2022-02-17 10:17:05,761 fail2ban
Feb 17 10:17:05 minouchat systemd[1]: fail2ban.service: Control process exited, code=exited
Feb 17 10:17:05 minouchat systemd[1]: fail2ban.service: Unit entered failed state.
Feb 17 10:17:05 minouchat systemd[1]: fail2ban.service: Failed with result 'exit-code'