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!