SV: Problem with ClamAV update

Steen, Glenn Glenn.Steen at AP1.SE
Tue Jun 14 12:01:54 IST 2005


Ugo Bellavance wrote:
> Steen, Glenn wrote:
>> Perhaps you'll see something in /tmpClamav.update.log (or whatever
>> it'scalled ... I'm @home:-)? 
>> 
> 
> I found out that the problem is that my autoupdate script calls
> /usr/bin/freshclam instead of /usr/local/freshclam.  But the script is
> the same as on my other servers.  I tried removing /usr/bin/freshclam,
> removing libs in /usr/libs, uninstall + reinstall ClamAV, but it still
> tries to run /usr/bin/freshclam.
> 
> Anyone has an idea about where I should go from now?
> 
> Regards,

Looking at a copy of clamav-autoupdate you have:
------
$PackageDir = shift || "/usr/local";

$LogFile = "/tmp/ClamAV.update.log";

$ClamUpdateCommand = "$PackageDir/bin/freshclam";

-----
And since $PackageDir is set from the third column in
/etc/MailScanner/virus.scanners.conf (when called from
update_virus_scanners,
 it seems you need change that from /usr to /usr/local ... provided
you've
installed lcamav to /usr/local (which it seems you've done).

HtH
-- Glenn

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list