Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Fail2Ban Errors
PostPosted: Tue Apr 06, 2010 2:18 pm 
Offline
Newbie

Joined: Tue Apr 06, 2010 2:15 pm
Posts: 3
I am seeing these errors more frequently in the fail2ban.log This is a new setup - Ubuntu 8.04. No LAMP stack installed.

fail2ban.actions.action: ERROR iptables -n -L INPUT | grep -q fail2ban-ssh returned 100

fail2ban.actions.action: CRITICAL Unable to restore environment


Top
   
 Post subject:
PostPosted: Tue Apr 06, 2010 4:50 pm 
Offline
Newbie

Joined: Tue Apr 06, 2010 2:15 pm
Posts: 3
I think I found part of the problem. It didn't look like IPTABLES was installed. Is it not installed as part of the package in Ubuntu 8.04?

when I issued the command iptables -L

I got back:
-bash: iptables: command not found

I ran:
apt-get install iptables

Then restarted Fail2Ban - I'll see if that clears up my fail2ban.log


Top
   
 Post subject:
PostPosted: Wed Apr 07, 2010 4:09 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
It's recommended, not required:

http://packages.ubuntu.com/hardy/fail2ban

It looks like it was required in dapper (7.10), but changed to recommended in 8.04 and all later releases.


Top
   
 Post subject:
PostPosted: Wed Apr 07, 2010 4:12 pm 
Offline
Newbie

Joined: Tue Apr 06, 2010 2:15 pm
Posts: 3
Thanks Guspaz. It (iptables) eliminated the errors I was seeing in the log for fail2ban.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group