Page 3 of 3

clamd restart errors after clamd update today

Posted: Wed Apr 01, 2009 11:53 am
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!

Re: HELP! clamd keeps stopping

Posted: Wed Apr 01, 2009 12:00 pm
by biggles
search is your friend... two threads about this already...

Re: HELP! clamd keeps stopping

Posted: Wed Apr 01, 2009 12:06 pm
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?

Re: HELP! clamd keeps stopping

Posted: Wed Apr 01, 2009 12:15 pm
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.

Re: HELP! clamd keeps stopping

Posted: Wed Apr 01, 2009 12:29 pm
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!

Re: HELP! clamd keeps stopping

Posted: Wed Apr 01, 2009 12:58 pm
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/

Re: HELP! clamd keeps stopping

Posted: Wed Apr 01, 2009 2:58 pm
by modom46
I never installed one from source before :cry: Is it hard?

Re: HELP! clamd keeps stopping

Posted: Wed Apr 01, 2009 5:14 pm
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...

Re: HELP! clamd keeps stopping

Posted: Wed Apr 01, 2009 7:14 pm
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.

Re: HELP! clamd keeps stopping

Posted: Wed Apr 01, 2009 7:43 pm
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

Re: HELP! clamd keeps stopping

Posted: Wed Apr 01, 2009 9:23 pm
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?