HTTP Anti-Virus Proxy
http://havp.hege.li/forum/

One more error when starting HAVP
http://havp.hege.li/forum/viewtopic.php?f=3&t=118
Page 1 of 1

Author:  Jared [ 07 Jun 2006 19:07 ]
Post subject:  One more error when starting HAVP

When starting HAVP it sais:
Code:
# /usr/local/havp/sbin/havp --conf-file=/usr/local/havp/etc/havp/havp.config
One or more scanners failed to initialize!
Check errorlog for errors.
Exiting..


Error log:
Code:
 07/06/2006 19:56:48 === Starting HAVP Version: 0.80
07/06/2006 19:56:48 Change to user squid
07/06/2006 19:56:48 Change to group squid
07/06/2006 19:56:48 ERROR: HAVP not compiled with ClamAV support


This is how i installed HAVP:
Code:
 ./configure --prefix=/usr/local/havp --with-scanner=libclamav


ClamAV is installed to /usr/local/clamav, but is is not configured.

This is a piece of HAVP config:
Code:
 ENABLECLAMLIB true
CLAMDBDIR /usr/local/clamav


I also copied everything from /usr/local/clamav/share/clamav to /usr/local/share/clamav but it didn`t produce any result.

Maybe there`re some more congure options, where i can point where make should take precompiled libclamav.so from?

I guess the answer is simple.

Author:  hege [ 07 Jun 2006 20:29 ]
Post subject:  Re: One more error when starting HAVP

Jared wrote:
I guess the answer is simple.


Yeah.. the configure script should complain about clamav-config not found in PATH. :) And --with-scanner is not needed anymore.

So in this case, you should do this before configure:

export PATH=/usr/local/clamav/bin:$PATH

Also you don't need to set CLAMDBDIR, as it should be fine as default. Unless you moved them somewhere manually.

Cheers,
Henrik

Author:  Jared [ 08 Jun 2006 15:02 ]
Post subject: 

Quote:
export PATH=/usr/local/clamav/bin:$PATH

Yes, that is an answer.

Now everithing works, HAVP + ClamAV is now the front defender of my network. After applying a couple patches to ClamAV source, libclamac can even test rar3 and 7zip archives.
Here`s the manual and links to patches if you`re interested: http://mcmcc.bat.ru (unfortunately only in russian, but i guess there`s a possibility to contact that guy, made the patches via email mcmcc@mail.ru).

After all i want to thank Hege for a great sofware and a very fast and extremly usefull support!

Page 1 of 1 All times are UTC + 2 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/