Skip to content

[Ubuntu 24.04] Error: fail2ban [5004]: ERROR No module named 'asynchat' #119

Open
@EggEnormous

Description

@EggEnormous

While setting up fail2ban while following the instructions more or less to the letter, I experienced the following issue.

On using:

sudo fail2ban-client start

I receive the error:

fail2ban [5004]: ERROR   No module named 'asynchat'

This was fixed using the advice found at the resolution of fail2ban/fail2ban#3487:

wget https://launchpad.net/ubuntu/+source/fail2ban/1.1.0-1/+build/28291332/+files/fail2ban_1.1.0-1_all.deb
sudo dpkg -i fail2ban_1.1.0-1_all.deb

systemctl enable fail2ban
service fail2ban start
fail2ban-client status

My apologies for breaking any etiquette. I don't use Github often and figured this would be helpful for future users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions