ClamAV 0.94 End of Life!

Discussion in 'General' started by SamTzu, Apr 16, 2010.

  1. SamTzu

    SamTzu Active Member

  2. cyberw

    cyberw New Member

    Hi SamTzu,

    Thanks for your reply, the centos one looks like it might do the trick, but there are too many missing commands that I dont understand.

    Time to rebuild another server it seems.

    Thanks again.
     
  3. miththu

    miththu New Member

    As this is a general debian problem, I guess they will or have released already updates for it. So make sure that you installed all debian updates. As alternative you can e.g. use the clamav packages from the debian volatile project:
     
  4. Toucan

    Toucan Member

    I'm also getting the same problem, how did you correct this?

     
    Last edited: Apr 19, 2010
  5. edge

    edge Active Member Moderator

  6. Toucan

    Toucan Member

    Thanks edge, before i continue, am i right in thinking the # will comment out the other repos?
     
  7. edge

    edge Active Member Moderator

    yes you are correct.
     
  8. abubin

    abubin New Member

    for redhat, centos or fedora based linux, you can try using dag wieers repository. It is quite up-to-date with their clamav.

    Or you can download manually the rpm from http://packages.sw.be/clamav/

    Then run "rpm -Uvh clamv-latest-version.rpm".
     
  9. binaryrogue

    binaryrogue Member

    There's no clamav packages >0.94 for Fedora 10
     
  10. abubin

    abubin New Member

    oh sorry. I too have stopped using FC long time already. If you want to use the server for live usage, better change to using centos or rhel. FC is really not suitable for use as servers. If you want better packages management then ubuntu is much better. Get LTS version which have a lifetime of 2 years.

    My last experience with FC10/11/12 is really appaling. The developer for FC is turning it into some clown show. Since FC10, they have abandoned support for old hardware. Network never work the first time you install. You are forced to use selinux which 99.999% of people disable after install.
     
  11. binaryrogue

    binaryrogue Member

    My question was not a lecture regarding which linux distro is better. Just a fix if there was one.

    I disagree for you saying that Fedora is not good for live usage. I had these servers up since the RC release and hosting about 15 clients for web/mail and had no major issues. It's not easy moving them to a different server if you possibly know what I mean.

    If I would start over and would had predict the future, yes.. I would choose something else over Fedora 10.

    Anyways, I found a work around to at lease process mails. (post up top).
     
  12. SamTzu

    SamTzu Active Member

    Is there a way to disable ClamAV/Amavis in ISPConfig3? (Debian)
     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    Edit the file /etc/amavis/conf.d/15-av_scanners

    and add # signs before the lines for amavis:

    Code:
    # ['ClamAV-clamd',
    #   \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.ctl"],
    #   qr/\bOK$/, qr/\bFOUND$/,
    #   qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
    
    to:

    Code:
    #  ['ClamAV-clamscan', 'clamscan',
    #    "--stdout --disable-summary -r --tempdir=$TEMPBASE {}",
    #    [0], qr/:.*\sFOUND$/, qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
    
    and restart amavisd.

    For all other linux distributions its bascically the same, just take a look into the amavisd.conf file.
     
  14. edge

    edge Active Member Moderator

    For some reason now viruses, mailware and other not good things found by ClamAV are staying in the postfix queue, and are not beeing deleted!
    I guess that the problem is "/var/run/clamav/clamd.ctl" as I do not have it.
    Should ClamAV create this file, or am I missing something?

    Restarted "clamav" and the server several times with no luck

    Mail with no viruses are fine.
     
    Last edited: Apr 25, 2010
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    Looks as you have not commented out both clamav sections (there are two sections that have to be changed), otherwise there can not be such a message.
     
  16. till

    till Super Moderator Staff Member ISPConfig Developer

    Also make sure that you have set "Virus Lover" to yes and "Bypass virus checks" to yes in all policys to ensure that the emails were not checked for viruses.
     
  17. edge

    edge Active Member Moderator

    Till,

    I DO want to use the virus scanner.
    All I did was what voltron81 suggested in his post.
    As mentioned in the link to the "howto" I commented out the stuff in "/etc/amavis/conf.d/15-content_filter_mode"
     
  18. till

    till Super Moderator Staff Member ISPConfig Developer

  19. Toucan

    Toucan Member

    I'm having real trouble with this fix.

    My source looks file sources.list looks like this:

    Code:
    ## deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official Multi-architecture amd64/i386/powerpc NETINST #1 20090906-12:17]/ lenny main
    
    #deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official Multi-architecture amd64/i386/powerpc NETINST #1 20090906-12:17]/ lenny main
    
    deb http://ftp.uk.debian.org/debian/ lenny main
    deb-src http://ftp.uk.debian.org/debian/ lenny main
    
    deb-src http://security.debian.org/ lenny/updates main
    deb http://security.debian.org/ lenny/updates main
    
    #deb http://volatile.debian.org/debian-volatile lenny/volatile main
    #deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
    
    deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
    
    I get the report that I have the latest and therefore nothing to upgrade. See below:

    Code:
    badbuntu:/etc/apt# apt-get update
    Hit http://security.debian.org lenny/updates Release.gpg
    Ign http://security.debian.org lenny/updates/main Translation-en_GB
    Hit http://security.debian.org lenny/updates Release
    Hit http://ftp.uk.debian.org lenny Release.gpg
    Ign http://ftp.uk.debian.org lenny/main Translation-en_GB
    Ign http://security.debian.org lenny/updates/main Sources/DiffIndex
    Hit http://ftp.uk.debian.org lenny Release
    Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
    Ign http://ftp.uk.debian.org lenny/main Packages/DiffIndex
    Ign http://ftp.uk.debian.org lenny/main Sources/DiffIndex
    Hit http://security.debian.org lenny/updates/main Sources
    Hit http://ftp.uk.debian.org lenny/main Packages
    Hit http://security.debian.org lenny/updates/main Packages
    Hit http://ftp.uk.debian.org lenny/main Sources
    Hit http://volatile.debian.org lenny/volatile Release.gpg
    Ign http://volatile.debian.org lenny/volatile/main Translation-en_GB
    Ign http://volatile.debian.org lenny/volatile/contrib Translation-en_GB
    Ign http://volatile.debian.org lenny/volatile/non-free Translation-en_GB
    Hit http://volatile.debian.org lenny/volatile Release
    Ign http://volatile.debian.org lenny/volatile/main Packages/DiffIndex
    Ign http://volatile.debian.org lenny/volatile/contrib Packages/DiffIndex
    Ign http://volatile.debian.org lenny/volatile/non-free Packages/DiffIndex
    Hit http://volatile.debian.org lenny/volatile/main Packages
    Hit http://volatile.debian.org lenny/volatile/contrib Packages
    Hit http://volatile.debian.org lenny/volatile/non-free Packages
    Reading package lists... Done
    badbuntu:/etc/apt# apt-get install clamav
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    clamav is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    badbuntu:/etc/apt# apt-get -u upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    badbuntu:/etc/apt# /etc/init.d/amavis restart
    Stopping amavisd: amavisd-new.
    Starting amavisd: amavisd-new.
    badbuntu:/etc/apt#
    
    Can anyone tell me where I'm going wrong?
     
  20. calivent

    calivent New Member

    update clamav 0.94 to 0.96 in Fedora core 10 whit YUM

    there no solution to this problem? ... and also tried to create the rpm, I've failed .. I hope that someone has done ... it and work with this community ... and all we have the same problem we can fix it ..

    using FC10 with ispconfig 3.0.2.1
    clamav]# /etc/init.d/clamd.amavisd start
    Iniciando clamd.amavisd: LibClamAV Warning: ************************************************** *********
    LibClamAV Warning: *** This version of the ClamAV engine is outdated. ***
    LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
    LibClamAV Warning: ************************************************** *********
    LibClamAV Error: cli_hex2str(): Malformed hexstring: This ClamAV version has reached End of Life! Please upgrade to version 0.95 or later. For more information see www.clamav.net/eol-clamav-094 and www.clamav.net/download (length: 169)
    LibClamAV Error: Problem parsing database at line 741
    LibClamAV Error: Can't load daily.ndb: Malformed database
    LibClamAV Error: cli_tgzload: Can't load daily.ndb
    LibClamAV Error: Can't load /var/lib/clamav/daily.cld: Malformed database
    ERROR: Malformed database

    [FALLÓ]

    I hope you have a repository to update via yum ??

    thanks
     

Share This Page