Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
After gnome updates - fail2ban won't start [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
trigggl
Apprentice
Apprentice


Joined: 26 Aug 2007
Posts: 250
Location: Arkansas

PostPosted: Wed Nov 19, 2008 4:09 pm    Post subject: After gnome updates - fail2ban won't start [solved] Reply with quote

Can anyone think of why Fail2Ban won't start after the rather large Gnome update? There were a lot of updates there and I have no idea if and which ones would have "broken" fail2ban. I'm glad I switched my ssh to a non-standard port or else I would be blasted by brute force attacks.

I guess I'll check my kernel to make sure iptables support is still there. Otherwise, I don't have a clue.
_________________
Greg


Last edited by trigggl on Wed Nov 19, 2008 4:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
trigggl
Apprentice
Apprentice


Joined: 26 Aug 2007
Posts: 250
Location: Arkansas

PostPosted: Wed Nov 19, 2008 4:28 pm    Post subject: Reply with quote

Well, that was easy. I just had to check the fail2ban website and try a few commands from there.

Code:
fail2ban-client start
2008-11-19 10:22:58,485 fail2ban.server : INFO   Starting Fail2ban v0.8.3
2008-11-19 10:22:58,487 fail2ban.server : INFO   Starting in daemon mode

ERROR  Could not start server. Maybe an old socket file is still present. Try to remove /var/run/fail2ban/fail2ban.sock. If you used fail2ban-client to start the server, adding the -x option will do it


So of course I tried with the -x option.

Code:
fail2ban-client -x start
2008-11-19 10:23:57,654 fail2ban.server : INFO   Starting Fail2ban v0.8.3
2008-11-19 10:23:57,655 fail2ban.server : INFO   Starting in daemon mode


It started. Problem solved. I guess I should restart the system at some point to make sure it persists. This happened after a power outage, so perhaps there are a few other things that are corrupted or orphaned.
_________________
Greg
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum