You are not logged in.

#1 2011-12-26 08:34:40

jeff story
Member
Registered: 2009-05-31
Posts: 238
Website

FAIL2BAN .... Broken by recent update [SOLVED]

Mods,

I think this should also be posted in  " Announcements, Package & Security Advisories" section .... I can't post there.

A recent update broke fail2ban.  I installed the "community-testing" version and fail2ban is back up and running on my system.


see:

https://bbs.archlinux.org/viewtopic.php?id=132153

https://bugs.archlinux.org/task/22926?p … g=fail2ban

download current testing version: http://www.archlinux.org/packages/commu … /download/

Last edited by jeff story (2011-12-26 08:51:50)


Check out my website for info on the Arch Linux Installer

Offline

#2 2011-12-26 13:01:13

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: FAIL2BAN .... Broken by recent update [SOLVED]

I'm not sure if cherrypicking packages from [testing] or [community-testing] is acceptable, maybe a downgrade would be better.

Offline

#3 2011-12-27 09:23:57

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: FAIL2BAN .... Broken by recent update [SOLVED]

The daemon won't start since it is missing the /var/run/fail2ban dir.

My solution:

[root@archlin log]# /usr/bin/fail2ban-server -f
2011-12-27 10:20:39,334 fail2ban.server : INFO   Starting Fail2ban v0.8.4
2011-12-27 10:20:39,334 fail2ban.server : ERROR  Unable to create PID file: [Errno 2] No such file or directory: '/var/run/fail2ban/fail2ban.pid'
2011-12-27 10:20:39,334 fail2ban.server : ERROR  Could not start server: Unable to bind socket /var/run/fail2ban/fail2ban.sock
2011-12-27 10:20:39,334 fail2ban.server : ERROR  Unable to remove PID file: [Errno 2] No such file or directory: '/var/run/fail2ban/fail2ban.pid'
2011-12-27 10:20:39,334 fail2ban.server : INFO   Exiting Fail2ban
[root@archlin log]# ls -la /var/run/fail2ban/
ls: cannot access /var/run/fail2ban/: No such file or directory
[root@archlin log]# mkdir /var/run/fail2ban
[root@archlin log]# rc.d start fail2ban
:: Starting fail2ban                                                     [DONE] 

Offline

Board footer

Powered by FluxBB