Issues trying to get freshclam working

René Berber r.berber at computer.org
Wed Jul 11 01:45:10 IST 2007


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).

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



More information about the MailScanner mailing list