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

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

Open
EggEnormous opened this issue Jun 1, 2024 · 0 comments

Comments

@EggEnormous
Copy link

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.

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

No branches or pull requests

1 participant