Can't install DansGuardian Antivirus plugin

Issues related to software problems.
Strato
Posts: 22
Joined: 2008/01/20 17:57:01

Can't install DansGuardian Antivirus plugin

Post by Strato » 2008/05/27 13:08:52

Hello,

I'm trying to follow those instructions :
http://www.wains.be/index.php/2006/12/19/centosrhelfedora-web-proxy-antivirus-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.

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Can't install DansGuardian Antivirus plugin

Post by AlanBartlett » 2008/05/27 13:25:26

I guess you haven't used the [b]Search[/b] option, above.

This thread may help you - http://www.centos.org/modules/newbb/viewtopic.php?topic_id=13332&forum=41&post_id=44632#forumpost44632

Strato
Posts: 22
Joined: 2008/01/20 17:57:01

Re: Can't install DansGuardian Antivirus plugin

Post by Strato » 2008/05/27 13:59:30

[quote]
AlanJBartlett wrote:
I guess you haven't used the [b]Search[/b] option, above.

This thread may help you - http://www.centos.org/modules/newbb/viewtopic.php?topic_id=13332&forum=41&post_id=44632#forumpost44632[/quote]
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).

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Can't install DansGuardian Antivirus plugin

Post by toracat » 2008/05/27 14:46:22

[quote]
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).[/quote]
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

Strato
Posts: 22
Joined: 2008/01/20 17:57:01

Re: Can't install DansGuardian Antivirus plugin

Post by 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

Post by 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

Post by Strato » 2008/05/27 16:43:15

I followed those instructions (in french) :
http://linuxtips.castres-wireless.org/article.php3?id_article=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...

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

Can't install DansGuardian Antivirus plugin

Post by gerald_clark » 2008/05/27 16:57:21

http://wiki.centos.org/Repositories

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Can't install DansGuardian Antivirus plugin

Post by AlanBartlett » 2008/05/27 17:02:44

[quote]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...[/quote]
The simplest and tidiest method would be for you to join the [i]RPMForge suggest[/i] mailing list - http://lists.rpmforge.net - and ask [b]Dag[/b] to provide the package in the [b]RPMForge repo[/b].

Strato
Posts: 22
Joined: 2008/01/20 17:57:01

Re: Can't install DansGuardian Antivirus plugin

Post by 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...

Post Reply