[Pkg-clamav-devel] Bug#743305: clamav-freshclam: Stops downloading updates (daily.cvd) from local mirror

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Tue Apr 1 16:28:23 UTC 2014


Hi Simon,

thanks for this bug report.

On 01.04.2014 17:45, Simon Hobson wrote:
> I have a private mirror set up so that only one machine needs to download updates. These are then shared via Apache and other machines are configured to use this main server as their sole mirror.
> This was working fine with the previous version (0.97), but stopped working after the recent updates to 0.98.1

In 0.98 a configuration option for a private mirror was added.
Your freshclam.conf has 'PrivateMirror disabled', so I'm a little bit 
surprised that it works at all. How did you point freshclam to your 
private mirror?

Please try this again with 'PrivateMirror <IP-adress>' and let us know, 
if it works.

> Config file: clamd.conf
> -----------------------
[...]
> DatabaseDirectory = "/var/lib/clamav"
[...]
>
> Config file: freshclam.conf
> ---------------------------
[...]
> DatabaseDirectory = "/var/lib/clamav/"
[...]
> PrivateMirror disabled
[...]
>
> Database information
> --------------------
> Database directory: /var/lib/clamav/
> WARNING: freshclam.conf and clamd.conf point to different database directories

If you want to get rid of this warning, just remove the trailing slash 
from the DatabaseDirectory in freshclam.conf.

Best regards,
Andreas



More information about the Pkg-clamav-devel mailing list