HTTP Anti-Virus Proxy http://havp.hege.li/forum/ |
|
Tempfile tmpfs debian http://havp.hege.li/forum/viewtopic.php?f=3&t=18 |
Page 1 of 1 |
Author: | elyout [ 02 Mar 2006 18:24 ] |
Post subject: | Tempfile tmpfs debian |
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 |
Author: | hege [ 02 Mar 2006 18:35 ] |
Post subject: | |
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 |
Author: | elyout [ 02 Mar 2006 18:46 ] |
Post subject: | |
[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... |
Author: | hege [ 02 Mar 2006 18:54 ] |
Post subject: | |
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 |
Author: | elyout [ 02 Mar 2006 20:41 ] |
Post subject: | |
It was something about my kernel, after a reboot it works. (with squid and soon squidguard) Thanks for your help. Cheers, elyout |
Page 1 of 1 | All times are UTC + 2 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |