Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Member
    Join Date
    Sep 2003
    Posts
    199

    Default How to Update to ClamAV -0.81

    This might be a little backwards but works great for me.

    Instructions

    1: wget -O clam-updater.tar.gz http://www.cpanelappz.com/download.php?file=3
    2: tar zxvf clam-updater.tar.gz
    3: cd clam-updater
    4: ./install
    How to test

    On shell as root type this (note the CAPITAL V):
    clamscan -V

    As of date the present release is 0.75.1, so if thats what the above shows you, you are in business ;-)

    Now your thinking why am I going backwards on the versions here. Well just made things easier for updating clamav on a fresh install of Cpanel. I tried to install the ClamAV-0.81 without going backwards and still showed the .80 version.

    (This is in case your zlib is out of date when you try the ./configure option on clamav)

    1: wget http://www.zlib.net/zlib-1.2.2.tar.gz
    2: tar zxvf zlib-1.2.2.tar.gz
    3: cd zlib-1.2.2
    4: make clean
    5: ./configure -s
    6: make
    7: make install

    Next step on updating to ClamAV-0.81:

    1: wget http://voxel.dl.sourceforge.net/sour...av-0.81.tar.gz
    2: tar zxvf clamav-0.81.tar.gz
    3: cd clamav-0.81
    4: ./configure
    5: make
    6: make check
    7: make install
    8: make clean
    9: clamscan -V

    If I have all wrong please reply. But looks as if it has worked for me just fine.
    Last edited by Lestat; 02-03-2005 at 05:01 AM. Reason: edit

  2. #2
    Member KLEVO's Avatar
    Join Date
    Nov 2004
    Location
    Ukraine,Zaporozhia
    Posts
    21

    Default

    Quote Originally Posted by Lestat
    This might be a little backwards but works great for me.

    Instructions

    1: wget -O clam-updater.tar.gz http://www.cpanelappz.com/download.php?file=3
    2: tar zxvf clam-updater.tar.gz
    3: cd clam-updater
    4: ./install
    How to test

    On shell as root type this (note the CAPITAL V):
    clamscan -V

    As of date the present release is 0.75.1, so if thats what the above shows you, you are in business ;-)

    Now your thinking why am I going backwards on the versions here. Well just made things easier for updating clamav on a fresh install of Cpanel. I tried to install the ClamAV-0.81 without going backwards and still showed the .80 version.

    (This is in case your zlib is out of date when you try the ./configure option on clamav)

    1: wget http://www.zlib.net/zlib-1.2.2.tar.gz
    2: tar zxvf zlib-1.2.2.tar.gz
    3: cd zlib-1.2.2
    4: make clean
    5: ./configure -s
    6: make
    7: make install

    Next step on updating to ClamAV-0.81:

    1: wget http://voxel.dl.sourceforge.net/sour...av-0.81.tar.gz
    2: tar zxvf clamav-0.81.tar.gz
    3: cd clamav-0.81
    4: ./configure
    5: make
    6: make check
    7: make install
    8: make clean
    9: clamscan -V

    If I have all wrong please reply. But looks as if it has worked for me just fine.
    All in your method is right.
    Thx for idea

  3. #3
    Member Stonemage's Avatar
    Join Date
    Sep 2004
    Location
    Fremont, CA
    Posts
    66

    Default

    Didn't work for me at all... it installed .75 but even after i do a 'make install' for .81, cmalscan -V tells me Im still at .75.

    Any ideas?

  4. #4
    Member
    Join Date
    Aug 2003
    Posts
    5

    Default

    root@name [~]# tar zxvf clamav-0.81.tar.gz

    gzip: stdin: not in gzip format
    tar: Child returned status 1
    tar: Error exit delayed from previous errors


    !!!


    not able to extract the files !
    is there any one have an idea ?
    www.ibtekarat.net
    Domain nam 8.75$

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge jester.ro's Avatar
    Join Date
    Feb 2004
    Location
    Bucharest, Romania
    Posts
    304

    Default

    actually, you didn't upgrade the clamav, you just installed the new version in a different location.



    do a
    ps ax | grep clam

    you shoud see a line with /usr/sbin/clamd

    (that is the old version)

    clam 0.81 is installing in /usr/local/sbin/clam

    exim is still using the old clam.

    i was however able to make exim work with the new clamav, i'll try to post a step by step tutorial soon.

  6. #6
    Member
    Join Date
    Nov 2003
    Location
    Singapore
    Posts
    72

    Default

    Quote Originally Posted by Lestat
    This might be a little backwards but works great for me.

    Instructions

    1: wget -O clam-updater.tar.gz http://www.cpanelappz.com/download.php?file=3
    2: tar zxvf clam-updater.tar.gz
    3: cd clam-updater
    4: ./install
    How to test

    On shell as root type this (note the CAPITAL V):
    clamscan -V

    As of date the present release is 0.75.1, so if thats what the above shows you, you are in business ;-)

    Now your thinking why am I going backwards on the versions here. Well just made things easier for updating clamav on a fresh install of Cpanel. I tried to install the ClamAV-0.81 without going backwards and still showed the .80 version.

    (This is in case your zlib is out of date when you try the ./configure option on clamav)

    1: wget http://www.zlib.net/zlib-1.2.2.tar.gz
    2: tar zxvf zlib-1.2.2.tar.gz
    3: cd zlib-1.2.2
    4: make clean
    5: ./configure -s
    6: make
    7: make install

    Next step on updating to ClamAV-0.81:

    1: wget http://voxel.dl.sourceforge.net/sour...av-0.81.tar.gz
    2: tar zxvf clamav-0.81.tar.gz
    3: cd clamav-0.81
    4: ./configure
    5: make
    6: make check
    7: make install
    8: make clean
    9: clamscan -V

    If I have all wrong please reply. But looks as if it has worked for me just fine.
    works great!
    I follow the instructions and got it running as:
    ClamAV 0.81/685/Wed Jan 26 17:08:24 2005

    Cheers!

  7. #7
    Member
    Join Date
    Oct 2003
    Posts
    327

    Default

    You should also install GMP (currently v4.1.4) before installing ClamAV. This allows ClamAV to verify the digital signatures of the virus updates.

    http://www.swox.com/gmp/

  8. #8
    Member Stonemage's Avatar
    Join Date
    Sep 2004
    Location
    Fremont, CA
    Posts
    66

    Default

    This damn thing isnt working still... so is there a way to either fix it or remove it?

  9. #9
    Member
    Join Date
    Sep 2003
    Posts
    199

    Default

    Have a new write up on that jester.ro? I see what your saying...

  10. #10
    Member
    Join Date
    Sep 2003
    Posts
    199

    Default

    Nevermind found a better update for it. This seemed to work just fine.

    http://forums.cpanel.net/showthread....ghlight=clamav

    Grab the source for clamav 0.82: http://voxel.dl.sourceforge.net/sour...av-0.82.tar.gz
    Make sure you have the GMP library and its headers... quoted from the ClamAV FAQ:

    The ClamAV package requires the GMP library to verify the digital signature of the virus database. When building ClamAV you need the GMP library and its headers: if you are using Debian just run apt-get install libgmp3-dev, if you are using an RPM based distribution install the gmp-devel package. You'll need to rerun ./configure and recompile ClamAV.


    Code:
    cd /usr/local/cpanel/modules-install/clamavconnector-Linux-i686
    wget http://internap.dl.sourceforge.net/sourceforge/clamav/clamav-0.83.tar.gz
    sed -i -e 's/AVV=0.82/AVV=0.83/' install
    ./install
    The 'sed' command may not work if you have an old version of sed, ie. 3.02. If thats the case, just edit the install file with your fav editor and change AVV=0.80 to AVV=0.83. Save it, exit, and run "./install"

    Verify that 0.83 has been installed by running the following:

    Code:
    /usr/bin/freshclam -V
    /usr/bin/clamscan -V
    /usr/sbin/clamd -V
    They should all report "ClamAV 0.83/700/Thu Feb 3 15:33:15 2005", run /usr/bin/freshclam to update.
    Last edited by Lestat; 02-16-2005 at 01:18 PM.

Similar Threads & Tags
Similar threads

  1. How to update ClamAV
    By furquan in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-06-2010, 08:35 PM
  2. clamav update to 0.5
    By Zumsel in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-28-2009, 09:44 AM
  3. Clamav Update
    By fadisky in forum cPanel Developers
    Replies: 1
    Last Post: 08-03-2007, 08:44 PM
  4. When update to ClamAV 0.84 ?
    By pirania1 in forum cPanel Developers
    Replies: 19
    Last Post: 07-31-2005, 02:00 AM
  5. Update ClamAV to ClamAV 0.80rc3
    By equens in forum cPanel Developers
    Replies: 3
    Last Post: 10-11-2004, 12:42 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube