Hi all, In ClamAV 0.102, the ReceiveTimeout should be set to `0` to disable it so the download completes on a slower connection. We made this change in the default on 0.102.2, but for 0.102.1, you will need to set it to `0` manually if you encounter this issue. Also some distros seem to provide a freshclam.conf where the ReceiveTimeout is set. 0.102.2 users may also have to change the conf in this case.
Matus, it's okay to run `sudo freshclam`. Freshclam will switch to the DatabaseOwner ("clamav") account to do the update. Regards, Micah On 4/16/20, 8:39 AM, "clamav-users on behalf of Matus UHLAR - fantomas" <clamav-users-boun...@lists.clamav.net on behalf of uh...@fantomas.sk> wrote: 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, uh...@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 ! _______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml _______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml