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 0.94 -> 0.97.6 proper way

Discussion in 'General Discussion' started by cyexx, Jan 8, 2013.

  1. cyexx

    cyexx Well-Known Member

    Joined:
    Sep 3, 2004
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    I have searched ahead of time and no clear path with a centos cpanel server to update the clamav software just definitions which will not update now since so far out of range.

    The problem is that yum does not see where cpanel installed clamav so it will not update it.

    CENTOS 5.8 i686 standard
    WHM 11.34.1 (build 6
     
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    cPanel installs ClamAV from source. Trying to install a ClamAV RPM package will likely break it, or at least break its integration with cPanel. You can update ClamAV to the latest version that cPanel supports by uninstalling it and then reinstalling it in Home » cPanel » Manage Plugins.
     
  3. cyexx

    cyexx Well-Known Member

    Joined:
    Sep 3, 2004
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    Jared,

    I will try that out and advise
     
  4. cyexx

    cyexx Well-Known Member

    Joined:
    Sep 3, 2004
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    Jared
    Update

    I uninstalled via the plugin and then reinstalled and the plugin page shows this
    Name: clamavconnector
    Author: cPanel Inc.
    Installed Version: 0.97.6-3.2
    Version: 0.97.6-3.2
    Description: Virus Protection for Email and Filemanager Uploads
    Price: free

    But under ssh I get this
    root@kasei [~]# /usr/local/bin/clamscan -V
    ClamAV 0.94/16447/Tue Jan 8 20:19:43 2013
    root@kasei [~]#
    root@kasei [~]# freshclam
    ClamAV update process started at Tue Jan 8 22:36:33 2013
    WARNING: Your ClamAV installation is OUTDATED!
    WARNING: Local version: 0.94 Recommended version: 0.97.6
    DON'T PANIC! Read http://www.clamav.net/support/faq
    main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven)
    daily.cvd is up to date (version: 16447, sigs: 513768, f-level: 63, builder: guitar)
    root@kasei [~]#

    So please advise on this, thanks in advance
     
  5. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Do you have any ClamAV RPM package installed? Does this command give any output?

    Code:
    # rpm -qa|grep -i clam
    There should be no output. If any ClamAV package is installed, remove it and then reinstall the cPanel ClamAV plugin.

    If you submit a ticket, we should be able to find the cause of this relatively quickly.
     
  6. cyexx

    cyexx Well-Known Member

    Joined:
    Sep 3, 2004
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    Jared,

    I ran the command with no output, going to open a ticket
     
  7. cyexx

    cyexx Well-Known Member

    Joined:
    Sep 3, 2004
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    Ticket entered - 3624461
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    The ticket noted the existence of the following file:

    Code:
    /usr/local/bin/clamscan
    This likely originated from a custom installation of ClamAV that was removed at some point. The correct binary (as provided by cPanel) is stored at /usr/bin/clamscan. Thus, "/usr/local/bin/clamscan" was moved out of the way to resolve this issue.

    Thank you.
     
Loading...

Share This Page