Can't install DansGuardian Antivirus plugin

Issues related to software problems.

Can't install DansGuardian Antivirus plugin

Postby Strato » 2008/05/27 13:08:52

Hello,

I'm trying to follow those instructions :
http://www.wains.be/index.php/2006/12/1 ... us-clamav/

...to install the antivirus plugin for DansGuardian. But something's not working as excepted and I don't understand why.

I downloaded the security team us repository as the instructions, and do "rpm -ivh securityblabla.rpm".

But then "yum install dansguardian-av" is not working. It seems yum don't recognize this package.

I'm new in linux world and these rpm/packages are very obscure to me, so there's probably something I'm not doing properly.

Thanks for any help.
Strato
 
Posts: 22
Joined: 2008/01/20 17:57:01

Re: Can't install DansGuardian Antivirus plugin

Postby AlanBartlett » 2008/05/27 13:25:26

I guess you haven't used the Search option, above.

This thread may help you - http://www.centos.org/modules/newbb/vie ... mpost44632
User avatar
AlanBartlett
Forum Moderator
 
Posts: 8975
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk

Re: Can't install DansGuardian Antivirus plugin

Postby Strato » 2008/05/27 13:59:30

AlanJBartlett wrote:
I guess you haven't used the Search option, above.

This thread may help you - http://www.centos.org/modules/newbb/vie ... mpost44632

I did "yum search dansguardian" and it returns nothing, which is strange because Dansguardian is already installed (but from a .tar.gz file instead of a rpm).
Strato
 
Posts: 22
Joined: 2008/01/20 17:57:01

Re: Can't install DansGuardian Antivirus plugin

Postby toracat » 2008/05/27 14:46:22

Strato wrote:

I did "yum search dansguardian" and it returns nothing, which is strange because Dansguardian is already installed (but from a .tar.gz file instead of a rpm).

rpm/yum has no knowledge on something you have installed from source. Please read up on this subject here:

http://wiki.centos.org/PackageManagement/SourceInstalls
User avatar
toracat
Forum Moderator
 
Posts: 6687
Joined: 2006/09/03 16:37:24
Location: California, US

Re: Can't install DansGuardian Antivirus plugin

Postby Strato » 2008/05/27 15:23:06

OK. So I followed your link, and uninstalled Dansguardian by doing "make uninstall", and then installed it again but this time from a proper RPM file, thanks to the RPMForge repo.

But I'm still stuck with Dansguardian-Antivirus (or av). It's not in the RPMForge repo or in the SecurityTeamUS repo I installed, and the only RPM file I found was for Red Hat it seems...

Any idea?
Strato
 
Posts: 22
Joined: 2008/01/20 17:57:01

Re: Can't install DansGuardian Antivirus plugin

Postby Strato » 2008/05/27 15:32:06

Mmmmh... It seems the Dansguardian-Antivirus provided by SecurityTeamUs is for CentOS 4, that's why yum search does not display it.

Before doing any mistake : can I use this repository even if it was made for CentOS 4, and not 5? Or am I supposed to use a particular trick?
Strato
 
Posts: 22
Joined: 2008/01/20 17:57:01

Re: Can't install DansGuardian Antivirus plugin

Postby Strato » 2008/05/27 16:43:15

I followed those instructions (in french) :
http://linuxtips.castres-wireless.org/a ... rticle=104
...in order to rebuild the Dansguardian-Antivirus RPM for CentOS 5. It "almost" works, but I have one last problem.

The Clamd daemon refuses to start.

I have an error message :
LibClamAV Error : cli_loaddbdir() "can't open directory /var/clamav".
ERROR : Unable to open file or directory.

I tried to "yum remove" and "yum install" again clamav, but it didn't change anything, and now I really don't know what to do... :-(

Also (and maybe it's connected) I was wondering how to uninstall the SecurityTeamUS repo now I'm done with it, and also because it seems ClamAV is taken from it instead of being taken from CentOS Extras...
Strato
 
Posts: 22
Joined: 2008/01/20 17:57:01

Can't install DansGuardian Antivirus plugin

Postby gerald_clark » 2008/05/27 16:57:21

gerald_clark
 
Posts: 7166
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Can't install DansGuardian Antivirus plugin

Postby AlanBartlett » 2008/05/27 17:02:44

then installed it again but this time from a proper RPM file, thanks to the RPMForge repo.

But I'm still stuck with Dansguardian-Antivirus (or av). It's not in the RPMForge repo or in the SecurityTeamUS repo I installed, and the only RPM file I found was for Red Hat it seems...

The simplest and tidiest method would be for you to join the RPMForge suggest mailing list - http://lists.rpmforge.net - and ask Dag to provide the package in the RPMForge repo.
User avatar
AlanBartlett
Forum Moderator
 
Posts: 8975
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk

Re: Can't install DansGuardian Antivirus plugin

Postby Strato » 2008/05/28 10:08:56

I managed to recompile (I think that's the right term) Dansguardian-Antivirus for CentOS 4 myself, so it works for CentOS 5.

But now my problem is : I can't start clamd after installing it. It keeps telling me the directory /var/clamav/ doesn't exist even if it actually exists...
Strato
 
Posts: 22
Joined: 2008/01/20 17:57:01

Next

Return to CentOS 5 - Software Support

Who is online

Users browsing this forum: No registered users and 1 guest