[prev in list] [next in list] [prev in thread] [next in thread] 

List:       clamav-users
Subject:    Re: [Clamav-users] Clamstats
From:       Chris <cpollock () earthlink ! net>
Date:       2006-09-28 11:06:18
Message-ID: 200609280606.26132.cpollock () earthlink ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday 27 September 2006 8:38 pm, John Fleming wrote:
> Mine doesn't like using `localhost` or `mydomain.com` or `nn.nnn.nnn.nn`
> (my IP)
>
> What is wrong here??  Thanks!  - John
>
> my $logfile = "/var/log/clamav/clamav.log";
> my $fclogfile = "/var/log/clamav/freshclam.log";
> my $host = `localhost`;
>

Mine is set as below, notice my $host just has 'hostname', I believe that 
variable is read from somewhere else, but not knowing perl I can't say for 
sure. This is how mine is setup:

my $CLAMAV_ROOT = "/var/log/clamav/";
my $logfile = $CLAMAV_ROOT . "clamd.log";
my $fclogfile = $CLAMAV_ROOT . "freshclam.log";
my $host = `hostname`;
-- 
Chris

[Attachment #5 (application/pgp-signature)]

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic