Bug 517266 - fail2ban.server : ERROR Unexpected communication error
Summary: fail2ban.server : ERROR Unexpected communication error
Keywords:
Status: CLOSED DUPLICATE of bug 508171
Alias: None
Product: Fedora
Classification: Fedora
Component: fail2ban
Version: 11
Hardware: All
OS: Linux
low
urgent
Target Milestone: ---
Assignee: Axel Thimm
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-13 10:27 UTC by Eddie Lania
Modified: 2009-08-27 16:48 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-27 16:48:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Eddie Lania 2009-08-13 10:27:42 UTC
Description of problem:

Since I upgarded the server from Fedora 10 to 11.
In the fail2ban.log are many messages:
fail2ban.server : ERROR  Unexpected communication error




Version-Release number of selected component (if applicable):

fail2ban-0.8.3-19.fc11.noarch


How reproducible: All the time.


Steps to Reproduce:
1.
2.
3.
  
Actual results: fail2ban.server : ERROR  Unexpected communication error


Expected results: No error


Additional info:

Comment 1 Eddie Lania 2009-08-13 10:29:42 UTC
Oh, I forgot, the tekst below is also in the fail2ban.log since the upgrade to FC11:

Exiting Fail2ban
cannot release un-aquired lock
Traceback (most recent call last):
  File "/usr/bin/fail2ban-server", line 126, in start
    self.__server.start(self.__conf["socket"], self.__conf["force"])
  File "/usr/share/fail2ban/server/server.py", line 98, in start
    logSys.info("Exiting Fail2ban")
  File "/usr/lib/python2.6/logging/__init__.py", line 1033, in info
    self._log(INFO, msg, args, **kwargs)
  File "/usr/lib/python2.6/logging/__init__.py", line 1141, in _log
    self.handle(record)
  File "/usr/lib/python2.6/logging/__init__.py", line 1151, in handle
    self.callHandlers(record)
  File "/usr/lib/python2.6/logging/__init__.py", line 1188, in callHandlers
    hdlr.handle(record)
  File "/usr/lib/python2.6/logging/__init__.py", line 664, in handle
    self.release()
  File "/usr/lib/python2.6/logging/__init__.py", line 618, in release
    self.lock.release()
  File "/usr/lib/python2.6/threading.py", line 136, in release
    raise RuntimeError("cannot release un-aquired lock")
RuntimeError: cannot release un-aquired lock

Comment 2 Leo 2009-08-27 14:30:46 UTC
fail2ban is not working with python 2.6 (default in Fedora 11). Unfortunately there is no legacy package for python 2.5 in Fedora 11.

See Bug 508171 for further details.

Comment 3 Axel Thimm 2009-08-27 16:48:14 UTC

*** This bug has been marked as a duplicate of bug 508171 ***


Note You need to log in before you can comment on or make changes to this bug.