It is caused by iptables, and the solution is here at the end of the
page:

http://www.fail2ban.org/wiki/index.php/Fail2ban_talk:Community_Portal

"fail2ban.action.action ERROR on startup/restart

I had multiple fail2ban.action.action ERROR on startup/restart. It seems
there was a "race" condition with iptables. I solved the problem
completely on my system by editing /usr/bin/fail2ban-client and adding a
time.sleep(0.1)

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

adding " time.sleep(0.1)" worked like a charm for me. it extends the
restart time by 20 or so seconds, but works great.

-- 
fail2ban not execute command to start jail
https://bugs.launchpad.net/bugs/403808
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to