[clamav-users] How to download and update main.cvd and daily.cvd manually AND update mirrors

George gdparlichev at gmail.com
Thu Dec 14 16:28:51 UTC 2017


Dear All,

I am still getting the message that my database is more than 7 days old. I
successfully downloaded and updated main.cvd and daily.cvd manually, as
follows:

wget database.clamav.net/main.cvd
sudo cp main.cvd /var/lib/clamav
wget database.clamav.net/main.cvd
sudo cp daily.cvd /var/lib/clamav

However, I don't know if it's correct, but I couldn't find step-by-step
explanations anywhere.

Additional information:
## Here is my freshclam.log output (given between quotes << >> and deleting
unnecessary repetitions):
<<
ClamAV update process started at Sun Dec 10 10:23:01 2017
WARNING: Can't query current.cvd.clamav.net
WARNING: Invalid DNS reply. Falling back to HTTP mode.
Reading CVD header (main.cvd): Sun Dec 10 10:23:01 2017 -> WARNING: Can't
get information about db.local.clamav.net: Temporary failure in name
resolution
WARNING: Can't read main.cvd header from db.local.clamav.net (IP: )
Trying again in 5 secs...
...
Received signal: wake up
ClamAV update process started at Sun Dec 10 13:24:22 2017
main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder:
sigmgr)
WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
WARNING: Can't download daily.cvd from db.local.clamav.net
Trying again in 5 secs...
>>

# 2 Here is smy freshclam.conf output (because someone suggested to replace
XY with my country code BG (for Bulgaria) in the database mirror section. I
don't know why and where). The freshclam.confis given between the quotes <<
>> :
<<
# Automatically created by the clamav-freshclam postinst
# Comments will get lost when you reconfigure the clamav-freshclam package

DatabaseOwner clamav
UpdateLogFile /var/log/clamav/freshclam.log
LogVerbose false
LogSyslog false
LogFacility LOG_LOCAL6
LogFileMaxSize 0
LogRotate true
LogTime true
Foreground false
Debug false
MaxAttempts 5
DatabaseDirectory /var/lib/clamav
DNSDatabaseInfo current.cvd.clamav.net
AllowSupplementaryGroups false
PidFile /var/run/clamav/freshclam.pid
ConnectTimeout 30
ReceiveTimeout 30
TestDatabases yes
ScriptedUpdates yes
CompressLocalDatabase no
Bytecode true
# Check for new database 24 times a day
Checks 24
DatabaseMirror db.local.clamav.net
DatabaseMirror database.clamav.net
SafeBrowsing Yes
>>

Again, couldn't someone who understands this write a step-by-step article
with explanations on how to download databases and update mirrors manually?

Best regards,
George



More information about the clamav-users mailing list