Bug 517266

Summary: fail2ban.server : ERROR Unexpected communication error
Product: [Fedora] Fedora Reporter: Eddie Lania <eddie>
Component: fail2banAssignee: Axel Thimm <Axel.Thimm>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: low    
Version: 11CC: Axel.Thimm
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-27 16:48:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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 ***