From: Yaroslav H. <li...@on...> - 2006-03-22 22:28:09
|
I am sorry everyone for being silent -- didn't mention that there is such an active discussion :-) I am running Debian unstable (why anything else if there is Debian? :-))) with logwatch 7.1-2 I observed the weird logwatch behavior, as Ben reported, that even though file is present under /etc/logwatch/conf/logfiles/fail2ban.conf logwatch says that it is not there... since at the moment I was anxious to make a rule for logwatch, not to fix logwatch problems, I just installed fail2ban scripts system-wide. so there seems to be a problem with 7.1 logwatch and location of the files -- I believe they have been changing files location recently, which probably lead to discoved by both of us bug On Wed, 22 Mar 2006, Rarig, Harry wrote: > Ben, > Try > logwatch --debug Med --print --service fail2ban > or > logwatch --debug High --print --service fail2ban > and see if that helps identify the root cause of your problem. > Cheers! > From: Benjamin Donnachie [mailto:ben...@py...] > Sent: Wednesday, March 22, 2006 3:37 PM > To: Rarig, Harry > Cc: fai...@li... > Subject: Re: [Fail2ban-users] Add fail2ban to your logwatch daily report > Rarig, Harry wrote: > > Here they are guyz...knock yerselves out! ;-) > > If you are running Fedora Core 3, you can untar these directly from "/" into the correct logwatch directory locations. > Many thanks! > I'm using the cAos distro with Logwatch 7.1 and the files needed to be > installed under /etc/logwatch. Unfortunately, it keeps failing with an > error about a file even though it exists: > # /usr/sbin/logwatch --print --service fail2ban > *** Error: There is no logfile defined. Do you have a > /etc/logwatch/conf/logfiles/fail2ban.conf file ? > # ls /etc/logwatch/conf/logfiles/fail2ban.conf > /etc/logwatch/conf/logfiles/fail2ban.conf > I should be catching up on work at the moment, so I'll look into it later. > Take care, -- .-. =------------------------------ /v\ ----------------------------= Keep in touch // \\ (yoh@|www.)onerussian.com Yaroslav Halchenko /( )\ ICQ#: 60653192 Linux User ^^-^^ [175555] |