Skip to main content

Clamav error when updating

Comments

12 comments

  • cPJustinD
    Hey there! Are you able to reach database.clamav.net from your server using curl? You can verify with the following commands: curl -sIL database.clamav.net
    curl -sIL https://database.clamav.net
    0
  • mmaciel
    Hey there! Are you able to reach database.clamav.net from your server using curl? You can verify with the following commands: curl -sIL database.clamav.net
    curl -sIL https://database.clamav.net

    hey @cPJustinD yeah, apparently it reaches [root@xxx1 ~]# curl -sIL database.clamav.net HTTP/1.1 200 OK Date: Fri, 17 Sep 2021 13:21:10 GMT Content-Type: text/html Connection: keep-alive Last-Modified: Tue, 13 Aug 2019 14:20:59 GMT Accept-Ranges: bytes CF-Cache-Status: DYNAMIC X-Content-Type-Options: nosniff Server: cloudflare CF-RAY: 6902a2da5f9d7fe4-SAN
    [root@ixxx ~]# curl -sIL https://database.clamav.net HTTP/1.1 200 OK Date: Fri, 17 Sep 2021 13:21:24 GMT Content-Type: text/html Connection: keep-alive Last-Modified: Tue, 13 Aug 2019 14:20:59 GMT Accept-Ranges: bytes CF-Cache-Status: DYNAMIC Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" Strict-Transport-Security: max-age=15552000 X-Content-Type-Options: nosniff Server: cloudflare CF-RAY: 6902a32e1a147fea-SAN
    0
  • cPJustinD
    Interesting. I was expecting a timeout since the destination couldn't be reached per the original log entries you provided. Do you see any issues using telnet
    to connect to the database? telnet database.clamav.net 80
    0
  • mmaciel
    Interesting. I was expecting a timeout since the destination couldn't be reached per the original log entries you provided. Do you see any issues using telnet
    to connect to the database? telnet database.clamav.net 80

    yeah, weird it also connects via telnet [root@xxx ~]# telnet database.clamav.net 80 Trying 104.16.219.84... Connected to database.clamav.net. Escape character is '^]'.
    0
  • cPJustinD
    Thank you for that confirmation. I think it would be best to open a support ticket so that our analysts can review the issue more thoroughly and determine what exactly is occurring. You can submit a support request using the "Submit a ticket" link in my signature below. Please be sure to link this thread when opening the ticket and provide the ticket number here so that we can track the issue appropriately. If possible, please post the resolution on this thread as it may help other community members with similar issues.
    0
  • mmaciel
    will do, thanks @cPJustinD edit: another thing @cPJustinD, not related to my problem, but the link in your sig doesn't work... not sure if its a problem on my end, but i tried with different browsers and two different internet providers and it wont open, keeps reloading a page, sometimes it redirects to this be the right place to open a ticket?
    0
  • cPJustinD
    That link brings me to my own account portal, so that should be correct. For reference, the ticket submission process can also be found here:
    0
  • mmaciel
    alright, thanks ticket id #94363922
    0
  • cPJustinD
    Thanks mmaciel! I'll be following the ticket on my end as well.
    0
  • cPJustinD
    I successfully connected to the server via your ticket, and I believe I've identified the issue. I think the problem may be related to IPv6 connections on your server. I've sent a reply to the ticket that may contain sensitive information about your server, so please review my response, and we can continue to discuss the issue in the ticket. I'll be sure to post the official resolution here once you can confirm the issue is resolved.
    0
  • cPRex Jurassic Moderator
    We have some more details about this issue in the article here:
    0
  • mmaciel
    quick update, but shortly before closing the ticket, i reinstalled clamav via whm plugin manager, and left it alone, and today i realized i didn't receive any new mail notification about the failed updates (i would get one every 24hrs when the auto update failed), so i went into whm terminal and ran the freshclam command again, and to my surprise it actually ran without any errors [root@xxx ~]# /usr/local/cpanel/3rdparty/bin/freshclam ClamAV update process started at Wed Sep 22 09:18:35 2021 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.101.5 Recommended version: 0.103.3 DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav main.cvd is up to date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr) Downloading daily-26300.cdiff [100%] daily.cld updated (version: 26300, sigs: 1935161, f-level: 90, builder: raynman) bytecode.cld is up to date (version: 333, sigs: 92, f-level: 63, builder: awillia2) Database updated (8582680 signatures) from database.clamav.net (IP: 104.16.218.84)
    so yeah, pretty weird, a simple reinstallation solved the problem (even tho i had done that already before creating this thread) but anyway, i would like to thank @cPJustinD for his help, he was able to identify the problem and replicate it on a test environment, but unfortunately the cause was yet unknown, so he opened the new article @cPRex linked
    0

Please sign in to leave a comment.