Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 14th July 2007, 20:20
cruz cruz is offline
Senior Member
 
Join Date: Apr 2007
Posts: 365
Thanks: 51
Thanked 2 Times in 2 Posts
Default output

-rwxr-xr-x 1 root root 9423 2006-12-10 16:44 /usr/bin/fail2ban-client
Reply With Quote
Sponsored Links
  #12  
Old 15th July 2007, 14:37
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Can you try
Code:
/etc/init.d/fail2ban restart
again? Do you get any error messages? Do you see fail2ban then in the output of
Code:
ps aux
?
Any errors in the logs?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #13  
Old 20th July 2007, 20:56
cruz cruz is offline
Senior Member
 
Join Date: Apr 2007
Posts: 365
Thanks: 51
Thanked 2 Times in 2 Posts
Default restart

HTML Code:
Restarting authentication failure monitor: fail2ban
this is what I get when trying to restart. the program is not running when I enter ps aux.
I found this error in the log file
HTML Code:
t maxRetry = 5
2007-07-20 10:47:50,077 fail2ban.filter : INFO   Set findtime = 600
2007-07-20 10:47:50,081 fail2ban.actions: INFO   Set banTime = 600
2007-07-20 10:47:50,091 fail2ban.filter : INFO   Set failregex = (?:(?:Authentication failure|Failed [-/\w+]+) for(?: [iI](?:llegal|nvalid) user)?|[Ii](?:llegal|nvalid) user|ROOT LOGIN REFUSED) .*(?: from|FROM) (?:::f{4,6}:)?(?P<host>\S+)
2007-07-20 10:47:50,094 fail2ban.filter : INFO   Set ignoreregex =
2007-07-20 10:47:50,101 fail2ban.actions.action: INFO   Set actionBan = iptables -I fail2ban-<name> 1 -s <ip> -j DROP
2007-07-20 10:47:50,105 fail2ban.actions.action: INFO   Set actionStop = iptables -D INPUT -p <protocol> --dport <port> -j fail2ban-<name>
iptables -F fail2ban-<name>
iptables -X fail2ban-<name>
2007-07-20 10:47:50,109 fail2ban.actions.action: INFO   Set actionStart = iptables -N fail2ban-<name>
iptables -A fail2ban-<name> -j RETURN
i
root log refused.

Last edited by cruz; 20th July 2007 at 21:07. Reason: more info
Reply With Quote
  #14  
Old 21st July 2007, 19:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

I'm not sure why fail2ban doesn't start on your system...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #15  
Old 27th June 2013, 18:33
susnake susnake is offline
Junior Member
 
Join Date: May 2013
Location: Russia, Siberia, Novosibirsk
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I had the same error. I just reinstalled the fail2ban and it worked.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem install perl modules Cirox Installation/Configuration 10 16th May 2007 17:04
VMWare Server Free License - Invalid bardgd HOWTO-Related Questions 6 19th November 2006 18:50
install Net::DNS chrno Installation/Configuration 4 5th September 2006 18:01
/usr/bin/make install install HTML::Parser -- NOT OK oddo Installation/Configuration 4 14th March 2006 19:32
Mandriva 10.2 Perfect Setup Install Problems... ctroyp Installation/Configuration 12 30th December 2005 17:04


All times are GMT +2. The time now is 16:15.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.