You are Here:
Download Linux Lite 5.4 Final today - See Release Announcements



X Close Ad
X Close Ad
[ SOLVED ] ClamAV not updating daily database

Author (Read 20544 times)

0 Members and 8 Guests are viewing this topic.

ClamAV not updating daily database
« on: April 20, 2021, 10:43:03 AM »
 

LinuksLajt

  • New to Forums
  • *
  • 8
    Posts
  • Country: ca
  • Reputation: 1
  • Former UNIX system administrator

  • Linux Lite: 3.8 32bit

  • CPU: Intel Atom N2600

  • MEMORY: 1Gb

  • Kernel: 4.x
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.
Last Edit: April 21, 2021, 09:29:29 AM by LinuksLajt
 


Re: ClamAV not updating daily database
« Reply #1 on: April 20, 2021, 12:25:51 PM »
 

LinuksLajt

  • New to Forums
  • *
  • 8
    Posts
  • Country: ca
  • Reputation: 1
  • Former UNIX system administrator

  • Linux Lite: 3.8 32bit

  • CPU: Intel Atom N2600

  • MEMORY: 1Gb

  • Kernel: 4.x
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

 


Tags:
 

X Close Ad
X Close Ad

Download Linux Lite 5.4 Final today - See Release Announcements