Koozali.org: home of the SME Server

Obsolete Releases => SME Server 9.x => Topic started by: Michail Pappas on March 17, 2016, 11:36:10 AM

Title: [SOLVED] 9.1: freshclam does not download signatures
Post by: Michail Pappas on March 17, 2016, 11:36:10 AM
Just finished migrating a 8.2 32-bit server to 9.1, using the USB disk method. All seems well with the exception of virus signatures:
Code: [Select]
# freshclam
ClamAV update process started at Thu Mar 17 12:27:55 2016
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.99 Recommended version: 0.99.1
DON'T PANIC! Read http://www.clamav.net/support/faq
WARNING: Can't download main.cvd from db.gr.clamav.net
Trying again in 5 secs...
ClamAV update process started at Thu Mar 17 12:28:00 2016
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.99 Recommended version: 0.99.1
DON'T PANIC! Read http://www.clamav.net/support/faq
WARNING: Can't download main.cvd from db.gr.clamav.net
Trying again in 5 secs...
ClamAV update process started at Thu Mar 17 12:28:05 2016
WARNING: Your ClamAV installation is OUTDATED!
[...]
ClamAV update process started at Thu Mar 17 12:28:58 2016
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.99 Recommended version: 0.99.1
DON'T PANIC! Read http://www.clamav.net/support/faq
ERROR: Can't download main.cvd from database.clamav.net
Giving up on database.clamav.net...
Update failed. Your network may be down or none of the mirrors listed in /etc/freshclam.conf is working. Check http://www.clamav.net/doc/mirrors-faq.html for possible reasons.


Trying with a db.de.clamav.net mirror instead of db.gr.clamav.net:
Code: [Select]
# freshclam
ClamAV update process started at Thu Mar 17 12:33:59 2016
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.99 Recommended version: 0.99.1
DON'T PANIC! Read http://www.clamav.net/support/faq
WARNING: getfile: Unknown response from remote server (IP: 62.201.161.84)
WARNING: Can't download main.cvd from db.de.clamav.net
Trying again in 5 secs...
ClamAV update process started at Thu Mar 17 12:34:05 2016
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.99 Recommended version: 0.99.1
DON'T PANIC! Read http://www.clamav.net/support/faq
WARNING: getfile: Unknown response from remote server (IP: 62.201.161.84)
WARNING: Can't download main.cvd from db.de.clamav.net
Trying again in 5 secs...
ClamAV update process started at Thu Mar 17 12:34:10 2016
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.99 Recommended version: 0.99.1
DON'T PANIC! Read http://www.clamav.net/support/faq
WARNING: getfile: Unknown response from remote server (IP: 178.63.73.246)
WARNING: Can't download main.cvd from db.de.clamav.net
Trying again in 5 secs...
ClamAV update process started at Thu Mar 17 12:34:15 2016
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.99 Recommended version: 0.99.1
DON'T PANIC! Read http://www.clamav.net/support/faq
WARNING: getfile: Unknown response from remote server (IP: 144.76.28.11)
WARNING: Can't download main.cvd from db.de.clamav.net
Trying again in 5 secs...
...
ERROR: Can't download main.cvd from database.clamav.net
Giving up on database.clamav.net...
Update failed. Your network may be down or none of the mirrors listed in /etc/freshclam.conf is working. Check http://www.clamav.net/doc/mirrors-faq.html for possible reasons.


Ran also the /usr/bin/refreshclam script; failed again! Any idea what I should check next?


My configuration (ported obviously from 8.2):
Code: [Select]
# config show clamav
clamav=service
    ArchiveBlockEncrypted=no
    Checks=24
    DNSDatabaseInfo=current.cvd.clamav.net
    DatabaseMirror=db.de.clamav.net
    Debug=no
    DetectBrokenExecutables=no
    FilesystemScan=disabled
    FilesystemScanExclude=/proc,/sys,/usr/share,/var
    FilesystemScanFilesystems=/home/e-smith/files
    FilesystemScanReportTo=admin
    FilesystemScanUnofficialSigs=no
    Foreground=yes
    HTTPProxyPassword=
    HTTPProxyPort=
    HTTPProxyServer=
    HTTPProxyUsername=
    HeuristicScanPrecedence=yes
    IdleTimeout=60
    LeaveTemporaryFiles=no
    LogClean=no
    LogFileUnlock=yes
    LogTime=no
    LogVerbose=yes
    MaxAttempts=6
    MaxConnectionQueueLength=30
    MaxDirectoryRecursion=20
    MaxFileSize=15M
    MaxFiles=1500
    MaxRecursion=8
    MaxThreads=20
    Quarantine=disabled
    QuarantineDirectory=/var/spool/clamav/quarantine
    ReadTimeout=300
    ScanArchive=yes
    ScanHTML=yes
    ScanMail=yes
    ScanOLE2=yes
    ScanPE=yes
    ScanRAR=no
    SelfCheck=1800
    ShowProxySettings=no
    ShowUpdateSettings=no
    SignaturesUpdated=unknown
    UpdateNonOfficeHrs=disabled
    UpdateOfficeHrs=disabled
    UpdateWeekend=disabled
    status=enabled
Title: Re: 9.1: freshclam does not download signatures
Post by: Michail Pappas on March 17, 2016, 11:55:17 AM
Please disregard/close this. After playing around with a zillion mirror servers, it managed to download both main and daily signatures databases.
Title: Re: [SOLVED] 9.1: freshclam does not download signatures
Post by: kb-ohnemus on March 19, 2016, 01:38:49 PM
I have the same problem here. Which mirror did work? Thanks.
Title: Re: [SOLVED] 9.1: freshclam does not download signatures
Post by: janet on March 19, 2016, 08:02:07 PM
kb-ohnemus

See
https://wiki.contribs.org/Clamav:freshclam_update
Title: Re: [SOLVED] 9.1: freshclam does not download signatures
Post by: kb-ohnemus on March 19, 2016, 09:32:38 PM
It worked, thanks a lot.