-
Notifications
You must be signed in to change notification settings - Fork 55
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
Failed to access socket path: /var/run/fail2ban/fail2ban.sock. Is fail2ban running? #58
Comments
Debian 10 is not supported yet. Changing If you have some time feel free to add support for Debian 10 |
I have not tried it yet with
|
Any updates on this? |
Hello! I've tried it with renaming the paths from /var/run/... into /run/... at the
Status |
seems to work just fine.
no role changes were needed |
It looks like it has something to do with your setup |
Hello!
Fail2ban installed on Bitrix VM. |
Maybe your logpath is wrong, you can check if there is a /var/log folder |
Hi everybody, I could solve with chmod, I think is the access permission on the directory: chmod -x /var/run/ |
@dammdev Can you create a PR (targeting the affected OS versions)? |
Hello, @dammdev I tried I just came across this issue. I am not sure what information is relevant. Let me know if any other information is needed. I am on Ubuntu 22.04. I had to start the service, the guide I was following stated "The service automatically starts.". I assume this is not true anymore? There may be more confusion because this is on a popular Akamai/Linode guide https://www.linode.com/docs/guides/using-fail2ban-to-secure-your-server-a-tutorial/ I will report an issue on the guide to get that removed. I had to run:
after that Thank you. |
I think in recent versions |
I am curious if fail2ban is supported by Debian 12? I tried running it by typing And it's giving this error |
No, not yet. But feel free to add a PR. |
I think i have found a work around. the problem stems from a missing line "sshd_backend = systemd" under /etc/fail2ban/paths-debian.conf file. after adding it, fail2ban works like normal under Debian 12. credits here : |
Also on Debian 12. The pid points to Strangely, running
|
Previously ansible-fail2ban always worked for me on Debian. But now when using your unmodified role (even with just the default sshd jail) I always get:
But when I install manually with the same configurations it works. Tried multiple times with various settings, but can't figure out why it is not working:
Tested on Debian 10 buster
When cutting the fail2ban role to its bare essentials it works again:
==== minimal fail2ban role ====
The text was updated successfully, but these errors were encountered: