Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: clamav update failed

  1. #1
    Join Date
    Mar 2020
    Beans
    50
    Distro
    Ubuntu 18.04 Bionic Beaver

    Unhappy clamav update failed

    since the last 1 month clam av is not getting updated.

    clamtk reports antivirus signatures outdated.

    sudo freshclam starts the update which is about 56 mb but the update fails at around 17-18 mb.

    this is with a fresh install of both 18.04.4 & 19.10.

    tried various repositories but to no avail.

    Code:
    clamscan -V
    gives me this : ClamAV 0.102.2

    please have a look here :

    clamav feb.jpg

    & here :

    clamav march.jpg
    Last edited by ipv; 4 Weeks Ago at 07:01 AM.

  2. #2
    Join Date
    May 2007
    Beans
    171
    Distro
    Xubuntu

    Re: clamav update failed

    A bit down on this page, there's some tips about freshclam:
    https://www.clamav.net/documents/cla...s-database-faq

    My Freshclam updates have been working fine.

  3. #3
    Join Date
    Sep 2014
    Location
    United States
    Beans
    174
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: clamav update failed

    Freshclam works in my environment. Appears to be a network issue on your side.

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

    Re: clamav update failed

    Check /etc/freshclam.conf and make sure it has a line like this:
    Code:
    DatabaseMirror db.local.clamav.net
    I responded to a post here a couple of weeks back where someone reported having troubles with freshclam, and he had a different DatabaseMirror entry. I know this works because my ClamAV installation updates every day.

    I believe db.local.clamav.net points to a Cloudflare instance that routes to the proper server depending on where you're located. The server that freshclam reports using
    Code:
    Database updated (6768029 signatures) from db.local.clamav.net (IP: 104.16.218.84)
    is in Cloudflare's range of IP addresses (see "whois 104.16.0.0").
    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

  5. #5
    Join Date
    Mar 2020
    Beans
    50
    Distro
    Ubuntu 18.04 Bionic Beaver

    Exclamation Re: clamav update failed

    Quote Originally Posted by EuclideanCoffee View Post
    Freshclam works in my environment. Appears to be a network issue on your side.
    on the same machine with the same internet connection with debian buster clamav has absolutely no issues.

    this problem has surfaced on ubuntu since a month & is also prevalent on neon which is an ubuntu derivative.

    Quote Originally Posted by SeijiSensei View Post
    Check /etc/freshclam.conf and make sure it has a line like this:
    Code:
    DatabaseMirror db.local.clamav.net
    here is what i did :

    Code:
    sudo nano /etc/freshclam.conf
    it was empty not even a single letter / word in it. so i pasted what you wrote, saved & exited. here is what it looks like now :

    conf.jpg
    Last edited by ipv; 4 Weeks Ago at 06:58 AM.

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

    Re: clamav update failed

    freshclam.conf should definitely not be empty, so maybe it's in a different location on your system. Use "locate freshclam.conf" to find it.

    (My servers run CentOS, not Ubuntu, so Ubuntu may store the freshclam.conf in a different location.)

    It's always good practice to examine any configuration files for new software you are using.
    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

  7. #7
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    11,030
    Distro
    Ubuntu

    Re: clamav update failed

    freshclam.conf should be in the /etc/clamav directory.
    Or at least that's were is was last time I ran clam.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  8. #8
    Join Date
    Mar 2020
    Beans
    50
    Distro
    Ubuntu 18.04 Bionic Beaver

    Exclamation Re: clamav update failed

    Quote Originally Posted by SeijiSensei View Post
    freshclam.conf should definitely not be empty, so maybe it's in a different location on your system. Use "locate freshclam.conf" to find it.

    (My servers run CentOS, not Ubuntu, so Ubuntu may store the freshclam.conf in a different location.)

    It's always good practice to examine any configuration files for new software you are using.
    Quote Originally Posted by deadflowr View Post
    freshclam.conf should be in the /etc/clamav directory.
    Or at least that's were is was last time I ran clam.
    Code:
    sudo nano /etc/clamav/freshclam.conf
    gives me this :

    conf2.jpg

    does it require any corrections?
    Last edited by ipv; 4 Weeks Ago at 07:07 AM.

  9. #9
    Join Date
    Mar 2020
    Beans
    50
    Distro
    Ubuntu 18.04 Bionic Beaver

    Lightbulb Re: clamav update failed

    bug reported on launchpad ubuntu. bug acknowledged. work in progress.
    Last edited by ipv; 4 Weeks Ago at 07:09 AM.

  10. #10
    Join Date
    Feb 2010
    Location
    South of the Maple Trees
    Beans
    Hidden!
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: clamav update failed

    Quote Originally Posted by ipv View Post
    sudo nano /etc/clamav/freshclam.conf gives me this :

    https://postimg.cc/GHtX3nNZ

    does it require any corrections?
    Why make people go to intrusive sites when you can post images here?

Page 1 of 2 12 LastLast

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
  •