Results 1 to 7 of 7

Thread: ClamAV / Freshclam Installation Outdated Problem

  1. #1
    Member
    Join Date
    Mar 2004
    Posts
    14

    Default ClamAV / Freshclam Installation Outdated Problem

    Hi,
    About two days ago I got a message in my log
    saying that ClamAV was outdated.
    So I upgraded to the latest version.
    I ran freshclam several times from the command line
    to check if everything works.
    And it does, on errors!
    But... Every morning my cron.daily report still says
    my ClamAV installation is outdated.
    Can somebody please help me with this!

    Thanks,
    Spinnenkop

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,496

    Default

    You've probably got it installed in two locations, i.e. under /usr and /usr/local

    What application are you using ClamAV for? Which one will suggest which distribution you should be using. If you install ClamAV from tarball, it defaults to /usr/local.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Mar 2004
    Posts
    14

    Default

    That's right
    I have a freshclam.conf ins /usr/local/etc
    and one in /etc
    What do you suggest I should do?

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,496

    Default

    You need to delete one of them, but knowing which one depends on what you're using ClamAV for, as I asked before.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    Member
    Join Date
    Mar 2004
    Posts
    14

    Default

    Oh sorry, I'm using ClamAv in combination with Exiscan.

  6. #6
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,496

    Default

    Then you'll need to get rid of the one in /usr/local. This should do it, though it's quite brutal:
    Code:
    /bin/rm -Rfv /usr/local/bin/clam*
    /bin/rm -Rfv /usr/local/sbin/clam*
    /bin/rm -Rfv /usr/local/lib/libclam*
    /bin/rm -Rfv /usr/local/share/clam*
    /bin/rm -Rfv /usr/local/include/clam*
    /bin/rm -Rfv /usr/local/bin/freshclam*
    /bin/rm -Rfv /usr/local/etc/clamav*
    You should then upgrade ClamAV again, but make sure that when you run configure that you use the correct prefix using:

    ./configure --prefix=/usr
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  7. #7
    Member
    Join Date
    Mar 2004
    Posts
    14

    Default

    I'll try that! Thank you very much!

Similar Threads

  1. ClamAV is outdated
    By mealto in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 06-29-2008, 05:46 PM
  2. ClamAV outdated
    By qwerty in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 11-05-2006, 02:38 AM
  3. ClamAV outdated
    By IberHosting in forum cPanel & WHM Discussions
    Replies: 7
    Last Post: 09-23-2005, 04:17 PM
  4. ClamAV 0.80 update with freshclam errors!
    By kmsd in forum cPanel Developers
    Replies: 0
    Last Post: 10-25-2004, 02:53 AM