HTTP Anti-Virus Proxy

Official HAVP Support Forum
Registration disabled, I'm tired of spambots. E-mail havp@hege.li if you have questions.
HAVP project is pretty much frozen/abandoned at this time anyway.
It is currently 22 Jun 2014 09:52

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Tempfile tmpfs debian
PostPosted: 02 Mar 2006 18:24 
Offline

Joined: 02 Mar 2006 18:12
Posts: 3
Hello,

I try havp under debian sarge, kernel 2.6.8, I found a .deb package of havp here : http://www.freshnet.org/debian/sarge/ha ... 2_i386.deb

Before I install it, I have upgraded my version of clamav at 0.88,
then install it with dpkg -i havp_0.76-2_i386.deb

I have modify some configurations directive, then create a tmpfs partition :
mount -t tmpfs -o mand,async,noatime /dev/shm /var/tmp/havp
chown -R nobody.nogroup /var/tmp/havp
/etc/init.d/havp start
Starting havp: Starting Havp Version: 0.76
File could not be hardlock /var/havp/havp-URkq22
Mount filesystem with -o mand

#mount | grep havp
/dev/shm on /var/tmp/havp type tmpfs (rw,mand,noatime,size=64m)

I don't understand why havp could not hardlock file on my partition. I try to mount a ramfs partition and it works.

How can I test / investigate the problem for tmpfs ? (I prefer tmpfs because I can specify the size of ram).
Otherwise, I fix the MAXSCANSIZE to 10 Mega, perhaps I can still use the ramfs, it won't be grow to much ?

Sorry for my poor english...

Thanks,
Elyout


Top
 Profile  
 
 Post subject:
PostPosted: 02 Mar 2006 18:35 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
If your output is correct, HAVP tries to use /var/havp and you have mounted /var/tmp/havp :) So you should set correct SCANTEMPFILE..

Cheers,
Henrik


Top
 Profile  
 
 Post subject:
PostPosted: 02 Mar 2006 18:46 
Offline

Joined: 02 Mar 2006 18:12
Posts: 3
[quote="hege"]If your output is correct, HAVP tries to use /var/havp and you have mounted /var/tmp/havp :) So you should set correct SCANTEMPFILE..

My output was not correct :(, I have try /var/havp to see if something could change, but not...


Top
 Profile  
 
 Post subject:
PostPosted: 02 Mar 2006 18:54 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
It could be that your kernel is too old or mandatory locks are not supported in that version for tmpfs..

Are permissions correct? chown havp /var/havp, after you mount it.

Cheers,
Henrik


Top
 Profile  
 
 Post subject:
PostPosted: 02 Mar 2006 20:41 
Offline

Joined: 02 Mar 2006 18:12
Posts: 3
It was something about my kernel, after a reboot it works. (with squid and soon squidguard)

Thanks for your help.

Cheers,
elyout


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group