Results 1 to 4 of 4

Thread: ClamAV will not update database using freshclam

  1. #1
    Join Date
    Mar 2012
    Location
    Little Rock, AR
    Beans
    40
    Distro
    Ubuntu 18.04 Bionic Beaver

    ClamAV will not update database using freshclam

    I've installed the latest version of ClamAV and it will not download the database virus definitions for some reason.

    Here is the message I get after trying to update in the terminal:

    Fri Feb 14 09:28:55 2020 -> !Download failed (28) Fri Feb 14 09:28:55 2020 -> ! Message: Timeout was reachedFri Feb 14 09:28:55 2020 -> !getcvd: Can't download main.cvd from https://database.clamav.net/main.cvd
    Fri Feb 14 09:28:55 2020 -> Giving up on https://database.clamav.net...
    Fri Feb 14 09:28:55 2020 -> !Update failed for database: main
    Fri Feb 14 09:28:55 2020 -> ^fc_update_databases: fc_update_database failed: Connection failed (5)
    Fri Feb 14 09:28:55 2020 -> !Database update process failed: Connection failed (5)
    Fri Feb 14 09:28:55 2020 -> !Update failed.
    I looked on the ClamAV website for troubleshooting freshclam and none of the suggestions had anything to do with downloads. It was mostly talking about DNS connections. I checked to make sure that the hostname resolved using the terminal and got this outcome which I assume means it sees it.

    database.clamav.net is an alias for database.clamav.net.cdn.cloudflare.net.database.cl amav.net.cdn.cloudflare.net has address 104.16.219.84
    database.clamav.net.cdn.cloudflare.net has address 104.16.218.84
    database.clamav.net.cdn.cloudflare.net has IPv6 address 2606:4700::6810:da54
    database.clamav.net.cdn.cloudflare.net has IPv6 address 2606:4700::6810:db54
    I also checked the freshclam.config file as suggested here: https://ubuntuforums.org/showthread....lamav+database and I did not find a proxy server entry at all on the file, so there was no way to comment it out.

    Does anyone know what I can do to get it to update? TIA.

  2. #2
    Join Date
    Sep 2014
    Location
    United States
    Beans
    72
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: ClamAV will not update database using freshclam

    This appears to be a network issue. You've checked that you can download from https://database.clamav.net/main.cvd?

  3. #3
    Join Date
    Mar 2012
    Location
    Little Rock, AR
    Beans
    40
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: ClamAV will not update database using freshclam

    Yes I download it just fine. Its not a network issue I guess.

  4. #4
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    14,735
    Distro
    Kubuntu 19.10 Eoan Ermine

    Re: ClamAV will not update database using freshclam

    In my /etc/freshclam.conf, db.local.clamav.net is the database server, not database.clamav.net.

    Code:
    DatabaseMirror db.local.clamav.net
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •