LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-11-2016, 02:56 PM   #1
grigory
Member
 
Registered: Oct 2015
Posts: 133

Rep: Reputation: Disabled
I get an error right after Fail2ban restart in Ubuntu 14.04


Hello!

I've been having this little issue, after I've installed recently fail2ban on Ubuntu 14.04
Right after I restart fail2ban in the terminal I get an error message. Though I do get [OK], meaning that generally restart went OK. Still I wish to get rid of this probably minor issue. I get this error message:

Code:
WARNING  'ignoreregex' not defined in 'Definition'. Using default one: ''
After some googling, I found a possible solution. Which is to add this:

Code:
ignoreregex =
to fail2ban conf files in /etc/fail2ban/filter.d directory
I've checked all the conf files there and I've seen that line in all of them, EXCEPT for one, which is postfix-sasl.conf
I have to add that [sasl] jail is enabled in my jail.local file

So my question is whether the solution is correct and also I would appreciate some explanation of what it's all about.
 
Old 03-11-2016, 03:06 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Yes,
add
Code:
ignoreregex =
at bottom of file /etc/fail2ban/filter.d/postfix-sasl.conf

and restart fail2ban. Warning should be gone.

Why? People get in a hurry, we all make mistakes, or Keeps us on our Toes? Pick one.
 
1 members found this post helpful.
Old 03-12-2016, 04:56 AM   #3
grigory
Member
 
Registered: Oct 2015
Posts: 133

Original Poster
Rep: Reputation: Disabled
Okay, I'll do that. Thanks!
 
Old 03-12-2016, 06:57 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
You're welcome.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot find the server at start.ubuntu.com error after restart new Ubuntu Install Libellula Linux - Newbie 1 03-26-2013 06:46 PM
Ubuntu Karmic fails to restart - only logo shows briefly, then error message UserName108 Ubuntu 2 07-21-2010 08:58 PM
fail2ban.server : ERROR Unexpected communication error roy-arne Linux - Server 4 04-12-2009 04:43 PM
Apache2 under Ubuntu - Virtual Host error on restart MJWhiteDerm Linux - Server 10 09-23-2007 07:36 PM
ubuntu 5.10 gives me tty error on restart aairez Ubuntu 0 11-08-2005 04:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration