HELP! clamd keeps stopping

Forum for getting help with Project Gamera, Spamassassin, Clamav, qmail-scanner and other anti-spam tools.
modom46
Forum Regular
Forum Regular
Posts: 259
Joined: Mon May 22, 2006 9:52 pm

clamd restart errors after clamd update today

Unread post by modom46 »

After the clamd and qmail-scanner update today I get this error when trying to restart clamd:
Stopping Clam AntiVirus Daemon: [ OK ]
Starting Clam AntiVirus Daemon: LibClamAV Warning: Cannot dlopen: file not found - unrar support unavailable
[ OK ]

I was getting errors in the maillog that clamd was corrupt so restarted clamd with the error above and ran qmail configure and those errors went away.

The only one left is above.

Any help is greatly appreciated.

Thanks!
biggles
Forum Regular
Forum Regular
Posts: 806
Joined: Tue Jul 15, 2008 2:38 pm
Location: Sweden
Contact:

Re: HELP! clamd keeps stopping

Unread post by biggles »

search is your friend... two threads about this already...
modom46
Forum Regular
Forum Regular
Posts: 259
Joined: Mon May 22, 2006 9:52 pm

Re: HELP! clamd keeps stopping

Unread post by modom46 »

Yes I finally found them.

This clamd rpm 95 is in the atomic channel with no hopes of going back to 94 it seems.
http://www.atomicorp.com/channels/atomi ... i386/RPMS/

Do you know how I can solve the problem because none of the dbs are loading?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: HELP! clamd keeps stopping

Unread post by scott »

This is unfortunately a legal issue, this is not a problem with the package. For legal reasons we as well as fedora, debian, ubuntu, etc are not allowed to legally distribute the library. We are working on an alternatives in ASL in order to support RAR package scanning. Im afraid this is one of those situations where there may not be a technological solution to the problem.
modom46
Forum Regular
Forum Regular
Posts: 259
Joined: Mon May 22, 2006 9:52 pm

Re: HELP! clamd keeps stopping

Unread post by modom46 »

Scott,

Do you have the previous clamav 94 modules available to go back to? I cannot find them in the atomic channel.

Thanks!
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: HELP! clamd keeps stopping

Unread post by scott »

I do not, we're short on space on some of the mirrors. The source code is here: http://www3.atomicorp.com/channels/source/clamav/
modom46
Forum Regular
Forum Regular
Posts: 259
Joined: Mon May 22, 2006 9:52 pm

Re: HELP! clamd keeps stopping

Unread post by modom46 »

I never installed one from source before :cry: Is it hard?
sebas
Forum User
Forum User
Posts: 85
Joined: Thu Feb 12, 2009 8:53 pm
Location: Mexico
Contact:

Re: HELP! clamd keeps stopping

Unread post by sebas »

If you have the building tools not necessarily

rpmbuild --rebuild http://www3.atomicorp.com/channels/sour ... rt.src.rpm

and then install from what is left on your

/usr/src/redhat/RPMS/xxx where xxx is your platform.

ie

rpm -Uvh /usr/src/redhat/RPMS/i386/clamad...
CentOS release 6.5 (Final)
Plesk psa-11.5.30-cos6.build115130819.13
ASL 3.2.18-37
Linux 2.6.32-358.11.1.el6.x86_64
modom46
Forum Regular
Forum Regular
Posts: 259
Joined: Mon May 22, 2006 9:52 pm

Re: HELP! clamd keeps stopping

Unread post by modom46 »

Hi,

I am on centos so don't have that redhat folder. I found /usr/share/doc/clamav-0.95.

I downloaded from the link you gave me so should I upload it to my server and then rpm -e clamav-0.95?

Then run rpm -Uvh clamav-0.95?

I see in the install file of the 0.95 one something about ./configure and make install ... do this also?

I'm sorry but I've never done this before.
sebas
Forum User
Forum User
Posts: 85
Joined: Thu Feb 12, 2009 8:53 pm
Location: Mexico
Contact:

Re: HELP! clamd keeps stopping

Unread post by sebas »

I have a Centos 5.2 machine and I do have the

/usr/src/redhat

directory.

The package in the link in the other post needs to be built you cannot installed as is.

Building is accomplished by the

rpmbuild --rebuild clam....rpm

That would generate the installable rpm, it is the automatic execution of all the

./configure
make
..
..

steps needed to get a binary for your platform.

And then you need to uninstall what you have now

rpm -e clamav

and install the newly build one.

rpm -Uvh clam...rpm
CentOS release 6.5 (Final)
Plesk psa-11.5.30-cos6.build115130819.13
ASL 3.2.18-37
Linux 2.6.32-358.11.1.el6.x86_64
modom46
Forum Regular
Forum Regular
Posts: 259
Joined: Mon May 22, 2006 9:52 pm

Re: HELP! clamd keeps stopping

Unread post by modom46 »

I think I see but I just upgraded to centos 5.3 and as before I have /usr/src/ and there is nothing else in there.

If I put the source rpm in the server # directory and run the rpm build will the clamd 94 be in the same place to install or should I do something else?
Post Reply