mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
Fail2ban not working #238
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TheMukeshPatel on 5/22/2024
CloudPanel version(s) affected
v2.4.2
Description
Fail2ban is not working on the latest CloudPanel v2.4.2 that on Ubuntu 24.
How to reproduce
Installed the latest Cloudpanel using the Installer script. On this fresh installation, Fail2ban not working.
`root@Ubuntu-24:~# systemctl status fail2ban
× fail2ban.service - Fail2Ban Service
Loaded: loaded (/usr/lib/systemd/system/fail2ban.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Wed 2024-05-22 15:59:15 UTC; 6min ago
Duration: 289ms
Docs: man:fail2ban(1)
Main PID: 25572 (code=exited, status=255/EXCEPTION)
CPU: 147ms
May 22 15:59:15 Ubuntu-24 systemd[1]: Started fail2ban.service - Fail2Ban Service.
May 22 15:59:15 Ubuntu-24 fail2ban-server[25572]: 2024-05-22 15:59:15,478 fail2ban.configreader [25572]: WARNING 'allowipv6' not defined in 'Definition'. Using default one: 'auto'
May 22 15:59:15 Ubuntu-24 fail2ban-server[25572]: 2024-05-22 15:59:15,529 fail2ban [25572]: ERROR No module named 'asynchat'
May 22 15:59:15 Ubuntu-24 systemd[1]: fail2ban.service: Main process exited, code=exited, status=255/EXCEPTION
May 22 15:59:15 Ubuntu-24 systemd[1]: fail2ban.service: Failed with result 'exit-code'.
`
Possible Solution
No response
Additional Context
No response