ClamAV log problem
Peter Bonivart
peter at UCGBOOK.COM
Wed Jun 25 23:00:23 IST 2003
According to your log below it doesn't actually say that ClamAV was
updated but rather that it is trying to update it, compare to the line
for F-prot, it's from the wrapper script. You seem to be missing the log
line from ClamAV's update script which is called by
update_virus_scanners. When I run it I get this:
Jun 25 23:52:06 rocco update.virus.scanners: Found clamav installed
Jun 25 23:52:06 rocco update.virus.scanners: Updating clamav
Jun 25 23:52:06 rocco ClamAV-autoupdate[2210]: ClamAV did not need updating
A successful update would log this:
Jun 25 18:00:06 rocco ClamAV-autoupdate[8083]: ClamAV updated
That's the line you're missing, you have logs from the wrapper and from
F-prot's update script but not from ClamAV's.
Try running /opt/MailScanner/lib/clamav-autoupdate manually to see if it
logs anything.
/Peter Bonivart
--Unix lovers do it in the Sun
Gerry Doris wrote:
> I have both ClamAV and F-Prot installed. I've noticed that everytime that
> update_virus_scanners runs it leaves a message in /var/log/maillog saying
> that ClamAV was updated. I've checked the ClamAV log file in /tmp but it
> only shows the update every so often as expected.
>
> Here's what's appearing in my maillog...
>
> Jun 25 17:06:13 tiger update.virus.scanners: Found clamav installed
> Jun 25 17:06:13 tiger update.virus.scanners: Updating clamav
> Jun 25 17:06:14 tiger update.virus.scanners: Found f-prot installed
> Jun 25 17:06:14 tiger update.virus.scanners: Updating f-prot
> Jun 25 17:06:15 tiger F-Prot autoupdate[27175]: F-Prot did not need updating.
>
> I'm assuming this should be really easy to fix but I can't figure out how.
> It seems that the ClamAV update script always returns 0 whether an update
> was done or not???
>
> --
> Gerry
>
> "The lyfe so short, the craft so long to learne" Chaucer
>
More information about the MailScanner
mailing list