[clamav-users] Problem to update virus database
G.W. Haywood
clamav at jubileegroup.co.uk
Fri Jan 24 12:20:07 UTC 2020
Hi there,
On Fri, 24 Jan 2020, Doc2disk wrote:
> We see this failure to update on both Centros 6 and 7
> If you stop and start fresh clam or touch the files, the issue goes away for a few days
I do not understand these symptoms. What timeouts are you using?
(See below.)
>> On 24 Jan 2020, at 10:55, Matus UHLAR - fantomas <uhlar at fantomas.sk> wrote:
>>> On 24.01.20 11:10, Tomasz Mejer via clamav-users wrote:
>>> I have installed ClamAV on my Ubuntu 16.04 LTS machine. I can't update
>>> virus database update.
>>> When I run:
>>>
>>> sudo freshclam
>>
>> you should not run freshclam under root user.
Best to create a separate user such as 'clamav' for this stuff.
>>> i got:
>>> "Download failed (28)
>>> "getcvd: Can't download daily.cvd from https://database.clamav.net/daily.cvd
If you enable debug logging you may see more helpful information.
When I see (28) it seems to mean that a timeout has been reached.
Perhaps you can increase the two timeouts in the freshclam daemon
configuration (and I suggest that you then restart the daemon).
The timeouts provided by default are I believe too short, I use 1800
seconds and 600 seconds:
root at pi4b302:~# grep -i timeout /etc/mail/clamav/freshclam.conf
ConnectTimeout 600
ReceiveTimeout 1800
(Yes, this is ClamAV running on a Raspberry Pi4B. :)
>> try running 'https://database.clamav.net/daily.cvd' in /tmp
I think that should read something like
"try running 'wget https://database.clamav.net/daily.cvd'"
HTH
--
73,
Ged.
More information about the clamav-users
mailing list