[clamav-users] clamav: problems with updating definitions database

Matus UHLAR - fantomas uhlar at fantomas.sk
Thu Apr 16 12:39:12 UTC 2020


On 16.04.20 14:18, Christian wrote:
>I installed clamav on friend´s laptop (via teamviewer because she lives
>far away).
>Her system: Linux/Lubuntu 18.04.4 LTS, 64 bit.

why? linux users rarely need antivirus.

>Alas virus-signature-update doesn´t work.
>
>After killing the freshclam-process - in order to update manually

Why? automatic update should work as good as manual. Unless 

> - I
>tried "sudo freshclam".

this is a mistake. freshclam process has to run under user "clamav" - you
may have apparently created files which later instances of freshclam won't
be able to remove/update.

go to /var/lib/clamav, chown all files to clamav:clamav and let freshclam daemon
do its work.

>At first it worked but after 27 MB of download
>it stopped:
>
>Terminal-output:
>
>Apr 15 13:47:47 margret-ThinkPad-T430s freshclam[1505]: Wed Apr 15
>13:47:47 2020 -> ^Download failed (28) Wed Apr 15 13:47:47 2020 -> ^
>Message: Timeout was reached       

slow internet connection probably?
the default on debian is

ReceiveTimeout 30

it's in seconds; you can increase it if really needed.


>Apr 15 13:47:47 margret-ThinkPad-T430s freshclam[1505]: Wed Apr 15
>13:47:47 2020 -> ^getcvd: Can't download daily.cvd from
>https://database.clamav.net/daily.cvd           
>Apr 15 13:47:47 margret-ThinkPad-T430s freshclam[1505]: Wed Apr 15
>13:47:47 2020 -> Trying again in 5
>secs...                                                              
>Apr 15 13:47:52 margret-ThinkPad-T430s freshclam[1505]: Wed Apr 15
>13:47:52 2020 -> daily database available for download (remote version:
>25782)                          
>Apr 15 13:47:56 margret-ThinkPad-T430s freshclam[1505]: Wed Apr 15
>13:47:56 2020 -> Update process terminated
>
>After 5 secs it started again but with the same result.
>And every time it starts at 0 MB. So the update-process never ends.
>
>I´ve got no idea what can be done besides this:
>
>"For offline update, you can also directly download virus definition
>from database: main, daily and then put them into /var/lib/clamav
>(remove old files)."
>(see:
>https://askubuntu.com/questions/114000/how-to-update-clamav-definitions-database
>).
>
>What´s your opinion about that?

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
M$ Win's are shit, do not use it !



More information about the clamav-users mailing list