You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



ClamAV not updating daily database

Author (Read 25419 times)

0 Members and 1 Guest are viewing this topic.

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

LinuksLajt

  • New to Forums
  • *
  • 8
    Posts
  • Reputation: 1
  • Former UNIX system administrator
    • View Profile

  • 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

 

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

LinuksLajt

  • New to Forums
  • *
  • 8
    Posts
  • Reputation: 1
  • Former UNIX system administrator
    • View Profile

  • 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 »
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section