Issues trying to get freshclam working

Julian Field MailScanner at ecs.soton.ac.uk
Wed Jul 11 14:48:41 IST 2007



René Berber wrote:
> Kathryn Allan wrote:
>
>   
>> I have just done a make install of clamav using ./configuration --prefix=
>> so that it puts config file in /etc/clamd.conf for example.
>>     
>
> Wrong procedure.
>
> If you want clamd.conf in /etc use --sysconfdir=/etc .
>
>   
>> That all went smoothly but when I try and run freshclam i get the
>> following error
>> -bash: /usr/local/bin/freshclam: No such file or directory
>>
>> Where do I change where it looks for freshclam?
>>     
>
> Have you tried `which freshclam`?  If you want to change the location used by
> MailScanner, then you'll have to change lib/clamav-autoupdate, but that's not
> the recommended procedure, better uninstall your clamav and re-install with the
> --sysconfigdir option (no --prefix).
>   
You shouldn't need to edit any autoupdate or wrapper script. They get 
their information from /etc/MailScanner/virus.scanners.conf file, that's 
the one you should edit.
Any edits to autoupdate or wrapper scripts will get overwritten by your 
next MailScanner upgrade. Changes to virus.scanners.conf will be preserved.

> It's probably under /bin (thanks to your wrong use of the --prefix parameter),
> even if /bin did not exist before.
>   

Jules

-- 
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk



More information about the MailScanner mailing list