Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail2ban fails on Ubuntu 24.04 #2634

Open
enoch85 opened this issue May 14, 2024 · 2 comments
Open

Fail2ban fails on Ubuntu 24.04 #2634

enoch85 opened this issue May 14, 2024 · 2 comments
Labels

Comments

@enoch85
Copy link
Member

enoch85 commented May 14, 2024

root@nextcloud:/etc/apache2/sites-available# systemctl status fail2ban
× fail2ban.service - Fail2Ban Service
     Loaded: loaded (/usr/lib/systemd/system/fail2ban.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Tue 2024-05-14 14:01:40 CEST; 5s ago
   Duration: 105ms
       Docs: man:fail2ban(1)
    Process: 256724 ExecStart=/usr/bin/fail2ban-server -xf start (code=exited, status=255/EXCEPTION)
   Main PID: 256724 (code=exited, status=255/EXCEPTION)
        CPU: 104ms

May 14 14:01:40 nextcloud systemd[1]: Started fail2ban.service - Fail2Ban Service.
May 14 14:01:40 nextcloud fail2ban-server[256724]: 2024-05-14 14:01:40,657 fail2ban.configreader   [256724]: WARNING 'allowipv6' not defined in 'Definition'. Using default one: 'auto'
May 14 14:01:40 nextcloud fail2ban-server[256724]: 2024-05-14 14:01:40,677 fail2ban                [256724]: ERROR   No module named 'asynchat'
May 14 14:01:40 nextcloud systemd[1]: fail2ban.service: Main process exited, code=exited, status=255/EXCEPTION
May 14 14:01:40 nextcloud systemd[1]: fail2ban.service: Failed with result 'exit-code'.
@enoch85 enoch85 changed the title `Fail2ban fails on Ubuntu 24.04 Fail2ban fails on Ubuntu 24.04 May 15, 2024
@memesalot
Copy link

This is a bug with fail2ban and Ubuntu 24.04 with the current version off apt. Install the .deb manually from the fail2ban github releases. Issue will go away.

@enoch85
Copy link
Member Author

enoch85 commented Jun 3, 2024

Yeah, I'm waiting for a new release. We won't do any special case here. We want it as default as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants