fail2ban not starting under openSuSe 11.0

05-19-09

Seems I’m in fix it mode tonight - amazing what you get done when you don’t have women distracting you!
Anyway it seems that my fail2ban has been broken for quite a while, the resolution of this was me running:
fail2ban-client -x start and that worked ok

So I modified /usr/sbin/rcfail2ban and added the line:
[ -e $FAIL2BAN_SOCKET ] && rm $FAIL2BAN_SOCKET;

Here it is in context:

case "$1" in
start)
echo -n "Starting Fail2Ban "
[ -e $FAIL2BAN_SOCKET ] && rm $FAIL2BAN_SOCKET;
/sbin/startproc $FAIL2BAN_BIN start &>/dev/null
rc_status -v

Well you get the drift. Happy Banning! :-)

Tags: , , , , ,

This entry was posted on Tuesday, May 19th, 2009 at 10:09 pm and is filed under firewall, linux, operating-systems, tips. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply