[clamav-users] Detected duplicate databases
alvarnell at mac.com
Wed Jan 10 09:20:22 UTC 2018
The first time freshclam pulls down a daily.cdiff file, your daily.cvd file will be decompressed to daily.cld and the .cdiff file added to it. From that point on you should only have the daily.cld file. One exception is that if for some reason freshclam is unable to find needed .cdiff files on a mirror, it will download a new .cvd file which will start the process again.
It is possible to reconfigure freshclam to download .cvd files by disabling incremental updates, but that would be very inefficient use of bandwidth and mirror server time, so unless you have a overriding need for that, I don't recommend it.
On Wed, Jan 10, 2018 at 01:12 AM, Hugo Deprez wrote:
> I have a question about daily.cvd and daily.cld files. If I understood
> correctly, those two files are almost the same : one is compressed, the
> other is not.
> Still I have an issue in my setup :
> If I put both filtes in apache2 server (which act as PrivateMirror) :
> -rw-r--r-- 1 www-data www-data 117892267 07.06.2017 23:38 main.cvd
> -rw-r--r-- 1 www-data www-data 153228 07.12.2017 03:17 bytecode.cvd
> lrwxrwxrwx 1 root root 8 05.01.2018 10:14 main.cld ->
> lrwxrwxrwx 1 root root 9 05.01.2018 10:14 daily.cld ->
> lrwxrwxrwx 1 root root 12 05.01.2018 10:14 bytecode.cld ->
> -rw-r--r-- 1 www-data www-data 43804052 10.01.2018 06:17 daily.cvd
> On the client side I have this Warning :
> LibClamAV Warning: Detected duplicate databases /var/lib/clamav/daily.cvd
> and /var/lib/clamav/daily.cld, please manually remove one of them
> But If I remove the *.cld files on my PrivateMirror I got multiples 404
> errors from the Freshclam clients.
> Is there a way to configure Freshclam in order to grabe only the cvd files
> Best regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3569 bytes
Desc: not available
More information about the clamav-users