ClamAV Antivirus HOWTO

Re: 0.88-1 not working

viki said:
I got sutch errors,
What is strange, I didn't have this on prevous version 0.88

Any one has simillar problems?
Webpage with source is down.
Internal Error 500 ;((



# rpm -Uvh clamav-0.88.1-1.i386.rpm
warning: clamav-0.88.1-1.i386.rpm: V3 DSA signature: NOKEY, key ID 6cdf2cc1
error: Failed dependencies:
libcrypto.so.5 is needed by clamav-0.88.1-1.i386
libkrb5support.so.0 is needed by clamav-0.88.1-1.i386
libssl.so.5 is needed by clamav-0.88.1-1.i386


# rpm -Uvh clamav-server-0.88.1-1.i386.rpm
warning: clamav-server-0.88.1-1.i386.rpm: V3 DSA signature: NOKEY, key ID 6cdf2cc1
error: Failed dependencies:
clamav = 102:0.88.1-1 is needed by clamav-server-0.88.1-1.i386
libclamav.so.1 is needed by clamav-server-0.88.1-1.i386
libcrypto.so.5 is needed by clamav-server-0.88.1-1.i386
libkrb5support.so.0 is needed by clamav-server-0.88.1-1.i386
libssl.so.5 is needed by clamav-server-0.88.1-1.i386


I check for kerberos and lib ssl:

# rpm -qa | grep ssl
openssl-0.9.7a-43.8
openssl-devel-0.9.7a-43.8
xmlsec1-openssl-1.2.6-3

# rpm -qa | grep krb
pam_krb5-2.1.8-1
krb5-libs-1.3.4-27
krb5-workstation-1.3.4-27
krb5-devel-1.3.4-27
krbafs-1.2.2-6
krbafs-devel-1.2.2-6


Must be some RPM error.
I'am running on CentOS4.3 fresh with all updates.

update openssl ;)
 
Alrik said:
i get

error: Failed dependencies:
zlib >= 1.2.1.2 is needed by clamav-0.88.1-1


by default da comes with 1.2.2 right?

Code:
# cd /usr/local/directadmin/customapache
# ./build clean
# wget [url]http://www.zlib.net/zlib-1.2.3.tar.gz[/url]
Edit build and replace "ZLIB_VER=1.2.2" with "ZLIB_VER=1.2.3"
# ./build php y
# ./build clean
# service httpd restart

:)
 
Thanks a lot!

But if it already 1.2.2., then the error is kindda strange isnt it?:D
 
Having problems installing ClamAV

I've been trying to install CLAMAV, I went to the CLAMAV website and followed some instructions there, and it told me to do the following:

Code:
You need to install GPG key used to sign packages. Do it as 'root':

    * wget http://crash.fce.vutbr.cz/Petr.Kristof-GPG-KEY
    * rpm --import Petr.Kristof-GPG-KEY
    * cp Petr.Kristof-GPG-KEY /etc/pki/rpm-gpg/.
    * chown root:root /etc/pki/rpm-gpg/Petr.Kristof-GPG-KEY
    * chmod 0644 /etc/pki/rpm-gpg/Petr.Kristof-GPG-KEY


You can use this repository via yum program. Do it as 'root':

    * wget http://crash.fce.vutbr.cz/crash-hat.repo
    * cp crash-hat.repo /etc/yum.repos.d/.
    * chown root:root /etc/yum.repos.d/crash-hat.repo
    * chmod 0644 /etc/yum.repos.d/crash-hat.repo


I did that. Then I went yum install clamav, and I'm getting these problems:
Code:
[root@server tmp]# rpm -Uvh clamav-0.91.1-1.i386.rpm
warning: clamav-0.91.1-1.i386.rpm: V3 DSA signature: NOKEY, key ID 6cdf2cc1
error: Failed dependencies:
        rtld(GNU_HASH) is needed by clamav-0.91.1-1.i386


Can someone please help me fix this. :confused: :confused:
 
Its okay, I fixed it. I just removed the crash bash thing from my yum repo's folder :)
 
Now I'm having another problem. Here's the error I'm getting:

Code:
[root@server yum.repos.d]# yum install clamav
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package clamav.i386 116:0.91.1-1 set to be updated
--> Running transaction check
--> Processing Dependency: rtld(GNU_HASH) for package: clamav
--> Finished Dependency Resolution
Error: Missing Dependency: rtld(GNU_HASH) is needed by package clamav

Can someone please help!
 
I let Yum update clamav which seemed to go well but when I ran freshclam I got this:

Code:
[root@server ~]# freshclam
ERROR: Parse error at line 44: Option AllowSupplementaryGroups requires boolean argument.
WARNING: You must specify at least one database mirror.

AllowSupplementaryGroups yes

is on that line, which from everything I've read is supposed to work.

What am I missing here?

[root@server ~]# clamd -V
ClamAV 0.90.3/4242/Tue Sep 11 09:36:20 2007
 
nano -w /etc/exim.conf

At the end of comments section add this:

av_scanner = clamd:127.0.0.1 3310
where is this in exim.conf ? at what line ? plz tell me line number !

and how can i manage ClamAv ?! can give me a panel to scan and managment ?!
 
I don't know, why don't you :) ? Perhaps because then it would only work on CentOS/Red Hat Enterprise based servers?

ClamAV is NOT part of DirectAdmin. When it was first discussed in these forums a poster gave instructions. I've always followed those instructions and it always works for me and it has the advantage of working on all OS Distributions.

Jeff
 
Send yourself a virus. You can find a test virus file by googling test virus and clicking on Feeling Lucky.

Jeff
 
hello. my os is Cent os 5 and i have install calmav and want to edit exim.
but at the end of exim is:


begin retry

* * F,2h,15m; G,16h,1h,1.5; F,4d,8h

# End of Exim 4 configuration

so where shuld i add this line? av_scanner = clamd:127.0.0.1 3310

becaus i change my exim to

# End of Exim 4 configuration

av_scanner = clamd:127.0.0.1 3310

and Exim stopped.
 
In our SpamBlocker Version 3-beta exim.conf file it's the first non-commented line in the file, immediately below the line:
Code:
# primary_hostname =
Jeff
 
Work fine for me. CentOS 5.2 64bit.

I installed clamav from yum (rpmforge repo) : yum install clamav clamd


Thank you very much



FaSan
 
hello.
i install clamav but can not config it to scan email.
can anyone help me step by step??
 
Back
Top