SV: Problem with ClamAV update
Ugo Bellavance
ugob at CAMO-ROUTE.COM
Tue Jun 14 13:43:15 IST 2005
[ The following text is in the "ISO-8859-1" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
Julian Field wrote:
>
> On 14 Jun 2005, at 12:01, Steen, Glenn wrote:
>
>
>>>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).
>>>
>
>
> Very simple: If you have installed ClamAV under /usr/local then
> that's what needs to be in virus.scanners.conf. If you use my Clam+SA
> package, you will find it automatically corrects virus.scanners.conf
> for you.
Cool. I found the problem. Forgot to manage the .rpmnew. I think it
has been this way a while :(. The .rpmnew had the right path.
>
> Please don't start tweaking my wrapper or autoupdate scripts. You are
> asking (and deserve) a whole world of pain when you upgrade and
> forget to reinstall your "tweak".
>
I wouldn't do that.
Thanks Julian and 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