Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Technical

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 3rd June 2011, 21:08
baldur2630 baldur2630 is offline
Join Date: Jan 2007
Location: Belgium
Posts: 30
Thanks: 3
Thanked 1 Time in 1 Post
Default Fail2ban dorsn work with *error_log

I have 4 Virtual name-based hosts on my CentOS 5.6 server.

Each one has itś own error_log in /var/log/httpd

If I do fail2ban-regex '/var/log/httpd/*error_log' '/etc/fail2ban/filter.d/apache-pma.conf' I get no results. if I do fail2ban-regex '/var/log/httpd/server1-error_log' '/etc/fail2ban/filter.d/apache-pma.conf' I get lots of results.

I have *error_log in my Jail.conf and that isn't working, but if I change this to server1-error log, it works fine, but then server2, server3 and server4 aren;t using fail2ban at all.

What is going on here - any ideas?
Reply With Quote
Sponsored Links


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
fail2ban filter for Kerio Mailserver taittinger_hi Installation/Configuration 4 23rd December 2009 00:24
Fail2ban only ban on first time. ivomendonca Installation/Configuration 1 30th October 2009 19:48
Need help with fail2ban on centos 5.3 rlischer Installation/Configuration 3 14th August 2009 12:47
Webalizer returns no output,getnameinfo didn't return any usable information! CarbonCopy Server Operation 1 11th August 2009 04:46
Cant get any messenger program to work SimplyMepis 6.0 gtoman Technical 1 13th November 2006 16:26

All times are GMT +2. The time now is 01:52.

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