Software - Support > Other

ClamAV not updating daily database

(1/1)

LinuksLajt:
ClamAV was recently updated to 103.2 (via Install Updates):

sudo freshclam -V
WARNING: Ignoring deprecated option SafeBrowsing at /etc/clamav/freshclam.conf:22
ClamAV 0.103.2/25930/Tue Sep 15 09:55:28 2020

I use ClamAV only occasionally, with a wrapper Shell script based on the tutorial in the Help Manual. It fails in the first step:

sudo freshclam
WARNING: Ignoring deprecated option SafeBrowsing at /etc/clamav/freshclam.conf:22
Tue Apr 20 10:29:21 2021 -> ClamAV update process started at Tue Apr 20 10:29:21 2021
Tue Apr 20 10:29:21 2021 -> daily database available for update (local version: 25930, remote version: 26146)
Current database is 216 versions behind.
Downloading database patch # 25931...
Time:    0.3s, ETA:    0.0s [========================>]        16B/16B
Tue Apr 20 10:29:30 2021 -> ^downloadPatch: Can't download daily-25931.cdiff from https://database.clamav.net/daily-25931.cdiff
Tue Apr 20 10:29:30 2021 -> ^Incremental update failed, trying to download daily.cvd
Tue Apr 20 10:30:00 2021 -> ^Download failed (28) Tue Apr 20 10:30:00 2021 -> ^ Message: Timeout was reached
Tue Apr 20 10:30:00 2021 -> ^Can't download daily.cvd from https://database.clamav.net/daily.cvd
Tue Apr 20 10:30:00 2021 -> Trying again in 5 secs...

I disabled the daemon because I do not want to further slow down the computer, and because it is never up long enough for the processes to finish. But the manual process used to work (downloaded the database no matter how far behind it was), although it took a long time to scan even small directories.

LinuksLajt:
Eliminated ReceiveTimeout from /etc/clamav/freshclam.conf. Database was updated and tested, irrespective of how far behind it was.

Before marking this as Solved, I will wait a little while, in case anyone has ideas about speeding up. The main candidates for scanning are e-books directly downloaded from the web. In the script I run

> clamscan -r -i --max-filesize=500M $scan_dir

Navigation

[0] Message Index

Go to full version