[Logwatch] Logwatch on Slackware 9.1
Thu, 4 Dec 2003 10:42:43 -0500
You were correct, copying /lib eliminated the error.
However, I still was not able to have the output sent via mail. The default
location for the mailer on Slackware is /usr/bin/mail, so I changed this in
When that didn't work, I created a symlink /bin/mail pointing to
/usr/bin/mail and changed the entry in logwatch.conf back to the original
value. This seems to have fixed my mail problem.
----- Original Message -----
From: "Dino Nardini" <firstname.lastname@example.org>
To: "Jared Priddy" <email@example.com>; <firstname.lastname@example.org>
Sent: Thursday, December 04, 2003 9:59 AM
Subject: Re: [Logwatch] Logwatch on Slackware 9.1
> Hello there,
> You must move the /lib directory under /etc/log.d as well. It contains
> Logwatch.pm file, which you are missing.
> Cheers... Dino
> At 09:24 AM 04/12/2003 -0500, Jared Priddy wrote:
> >Is ths supported?
> >I created the directory /etc/log.d and moved the conf/ and scripts/ there
> >per the instructions, and changed the mailer in logwatch.conf to match my
> >system and changed use MkTemp to no. I wanted to test it so I ran
> >logwatch.pl from the command line. I opened /var/log/messages, and
> >that logwatch had marked the files, but root never recieved the output in
> >its mailbox.
> >So I ran logwatch with these options
> >/usr/sbin/logwatch --detail 10 --logfile messages --debug 10 --save
> >Most of the services did not have any entries in the output file (as
> >expected since this is a new system) but the ones on which I expected log
> >entries I recieved errors instead. For example, sshd:
> > --------------------- SSHD Begin ------------------------
> >DEBUG: Inside OnlyService for sshd
> >Can't locate Logwatch.pm in @INC (@INC contains: /etc/log.d//lib
> >/usr/lib/perl5/5.8.0/i486-linux /usr/lib/perl5/5.8.0
> >x /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at
> >/etc/log.d/scripts/services/sshd line 14.
> >BEGIN failed--compilation aborted at /etc/log.d/scripts/services/sshd
> > ---------------------- SSHD End -------------------------
> >Line 14 of scripts/services/sshd is
> > use Logwatch ':all';
> >I got the same type of output for named and portsentry (which aren't
> >installed), mountd and pam_unix.
> >Logwatch mailing list
> Rivendell Software - Dynamic Web Solutions
> Tel 902.461.1697
> Fax 902.461.3765