The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ClamAV not updating (centos 64)

Discussion in 'Security' started by CpanSSH, Nov 8, 2013.

  1. CpanSSH

    CpanSSH Member

    Joined:
    Nov 7, 2013
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I get this error on my email

    LibClamAV Warning: **************************************************
    LibClamAV Warning: *** The virus database is older than 7 days! ***
    LibClamAV Warning: *** Please update it as soon as possible. ***
    LibClamAV Warning: **************************************************



    I open the ssh and write freshclam to update the ClamAV and it says to me command not found

    - - - Updated - - -

    Any idea how to update the ClamAV?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Which version of cPanel is installed on your system? You can check this with a command such as:

    Code:
    cat /usr/local/cpanel/version
    Have you tried uninstalling and then installing the ClamAV plugin via "WHM Home » cPanel » Manage Plugins"?

    Thank you.
     
  3. CpanSSH

    CpanSSH Member

    Joined:
    Nov 7, 2013
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    11.40.0.16

    Yes i tried but nothing!
     
  4. lsimic

    lsimic Registered

    Joined:
    Nov 13, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    same problem here. Problem started after the latest cPanel/whm update to 11.40.x.
    After trying to update virus DB manualy:

    root@xxxx [/home]# freshclam
    ClamAV update process started at Wed Nov 13 11:16:26 2013
    WARNING: Your ClamAV installation is OUTDATED!
    WARNING: Local version: 0.97.8 Recommended version: 0.98
    DON'T PANIC! Read http://www.clamav.net/support/faq
    main.cld is up to date (version: 55, sigs: 2424225, f-level: 60, builder: neo)
    Downloading daily-18104.cdiff [100%]
    Downloading daily-18105.cdiff [100%]
    daily.cld updated (version: 18105, sigs: 498521, f-level: 63, builder: neo)
    bytecode.cld is up to date (version: 230, sigs: 43, f-level: 63, builder: dgoddard)
    Database updated (2922789 signatures) from database.clamav.net (IP: 193.92.150.194)
    root@xxxx [/home]# clamscan -r -i -l /var/mouse.posluh.hr_20131113.log
    LibClamAV Warning: **************************************************
    LibClamAV Warning: *** The virus database is older than 7 days! ***
    LibClamAV Warning: *** Please update it as soon as possible. ***
    LibClamAV Warning: **************************************************

    Any info on this?
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    There are a few different cases open on ClamAV at this time. First, ensure you have updated to the latest version of cPanel available on your build tier with the following command:

    Code:
    /scripts/upcp --force
    Next, try running the following command manually to check for any errors:

    Code:
    /usr/local/cpanel/3rdparty/bin/freshclam
    Note that messages related to a newer version of ClamAV are normal. There are plans to include ClamAV 0.98 in cPanel version 11.40.1.

    Thank you.
     
  6. CharlesEarl

    CharlesEarl Registered

    Joined:
    Apr 9, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I'm going to toss in my 2 cents on this as well. I'm experiencing the same error as of the 11.40.0 release and as of build 19 the error continues.

    At 1:20 this am I got this email.

    But at 7am I got this email

    Did you notice the signature counts don't match?
    ClamAV was installed prior to the update and working without error.
     
  7. CharlesEarl

    CharlesEarl Registered

    Joined:
    Apr 9, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Turns out symlinks are not setup properly and there was a duplicate database created when the upgrade happened. I've changed references in cron to use /usr/local/cpanel/3rdparty/bin/ and dropped the duplicate database.
     
  8. XenomediaBV

    XenomediaBV Well-Known Member

    Joined:
    Sep 3, 2009
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    The Netherlands
    cPanel Access Level:
    Root Administrator
    I believe this should also be fixed. The version in cPanel is not updated either:

    Code:
    Name: clamavconnector
    Author: cPanel Inc.
    Installed Version:
    Version: 0.97.8-3.6
    Description: Virus Protection for Email and Filemanager Uploads
    Price: free
    Latest ClamAV® stable release is: 0.98
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Yes, please see the following from my last response:

    Thank you.
     
  10. XenomediaBV

    XenomediaBV Well-Known Member

    Joined:
    Sep 3, 2009
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    The Netherlands
    cPanel Access Level:
    Root Administrator
    Ah, ok. Thank you.
     
  11. XenomediaBV

    XenomediaBV Well-Known Member

    Joined:
    Sep 3, 2009
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    The Netherlands
    cPanel Access Level:
    Root Administrator
    Just a remark. We're running WHM 11.40.1 (build 9) for some time now. Are the plans to include ClamAV 0.98 moved to a later cPanel version?
     
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    ClamAV 0.98 is already available in the version of cPanel that you referenced (11.40.1.9). If you are referring to ClamAV 0.98.1, then yes, there are plans to include that in a future build of cPanel versions 11.40 and 11.42 per internal case 87881.

    Thank you.
     
  13. Misbelieve

    Misbelieve Registered

    Joined:
    May 11, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
  14. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    569
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Reading the link in question (which was moved). It states:

    Update failed. Your network may be down or none of the mirrors listed in freshclam.conf is working.

    It's not your lucky day. Freshclam tried every possible way to download the updates but failed. Usually this means that all the mirrors in your local pool are down or not synchronized, or something really nasty happened. Please wait a few minutes and try again. Remember to pass the -v option to freshclam.
    It is also possible that you recently had a prolonged network outage and freshclam blacklisted all the mirrors: remove mirrors.dat from the DatabaseDirectory and try again.
    If the problem persists, you may need to remove all files in DatabaseDirectory, and then re-run freshclam to pull a new copy of all of them.
    Finally, check the "mirror status page":/mirrors.html and perhaps send the output of freshclam -v to mirror-admin at clamav dot net.

    So, it would appear that you may have (or had) a network problem. That would need to be addressed first. Then see if freshclam updates.
     
  15. Trane Francks

    Trane Francks Well-Known Member

    Joined:
    Jun 19, 2012
    Messages:
    56
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Machida, Tokyo, Japan
    cPanel Access Level:
    Root Administrator
    I'm seeing this in e-mail:

    Code:
    WARNING: Your ClamAV installation is OUTDATED!
        WARNING: Local version: 0.98.1 Recommended version: 0.98.4
    I can understand a lag in deploying updates, but 3 engine releases behind is a bit much. When can we expect an update to be deployed on STABLE?
     
  16. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    ClamAV version 0.98.3 is currently available in all build tiers utilizing cPanel version 11.44, and version ClamAV 0.98.4 is already under testing for implementation with cPanel. There is currently no exact time frame available on when 11.44 will make it's way to the "Stable" build tier, but you can review the following document for information on how the release process works:

    cPanel - Versions and Release Process

    Thank you.
     
  17. Trane Francks

    Trane Francks Well-Known Member

    Joined:
    Jun 19, 2012
    Messages:
    56
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Machida, Tokyo, Japan
    cPanel Access Level:
    Root Administrator
    Thanks, Michael. I'm quite up to speed on the release process. I'm rather surprised to see the AV engines being locked to release tiers rather than being independent in the same manner as EasyApache. There are security implications with having the clamav engine so far out of step.
     
  18. PbG

    PbG Well-Known Member

    Joined:
    Mar 11, 2003
    Messages:
    241
    Likes Received:
    0
    Trophy Points:
    16
    I agree I am switching to Release as a result of this. However I would rather remain on stable releases and receive these updates.

     
Loading...

Share This Page