Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#58 fail2ban.actions.action: ERROR occurs often during restart

open
nobody
None
5
2011-03-12
2011-03-12
dude4linux
No

I have two servers running fail2ban, one version 0.8.3 and the other 0.8.4. Both servers frequently log fail2ban.actions.action: ERROR's when fail2ban is restarted. The errors occur with various jails, sometimes when starting but mostly when stopping the jails. See the attached file for snippets from both log files.

I followed the suggestion I found at http://www.tutos-gameserver.fr/mybb/thread-826.html adding the line " time.sleep(0.1)" as follows:

def __processCmd(self, cmd, showRet = True):
beautifier = Beautifier()
for c in cmd:
time.sleep(0.1)
beautifier.setInputCmd(c)

This change seems to have fixed the errors on both servers. I haven't seen this problem reported here, so I'm reporting it on behalf of Cyril Levert and Soldat Ryan.

Discussion

  • dude4linux
    dude4linux
    2011-03-12

    fail2ban.log snippets

     
    Attachments