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

I cannot start havp
http://havp.hege.li/forum/viewtopic.php?f=3&t=407
Page 1 of 1

Author:  rickygm [ 06 Jan 2009 03:53 ]
Post subject:  I cannot start havp

Hi forum, I am trying to integrate havp with squid-2.6.STABLE20-12.1, but when start it shows this error message in log, I am using ext3 of file system

Starting HAVP Version: 0.89
Filesystem not supporting mandatory locks!
On Linux, you need to mount filesystem with "-o mand"
Filesystem not supporting mandatory locks!
On Linux, you need to mount filesystem with "-o mand"
Filesystem not supporting mandatory locks!


any idea?

regards

Author:  deanza [ 07 Jan 2009 04:02 ]
Post subject:  Re: I cannot start havp

Distribute a sapreate disk space in the system as virtual disk and mount it on
#dd if=/dev/zero of=/usr/local/etc/havp/havp_tmp.img bs=1024K count=1 seek=1024 (eg.Create 1024MB Virtual Disk)
#mkfs.ext3 /usr/local/etc/havp/havp_tmp.img
#mount -o loop,mand /usr/local/etc/havp/havp_tmp.img /var/tmp/havp

Author:  hege [ 07 Jan 2009 12:22 ]
Post subject:  Re: I cannot start havp

Is documented in the INSTALL file:

If Linux is used, you need to enable mandatory locking for the partition
where your tempfiles are located. Solaris supports mandatory locking
without these extra steps:

If you only have root partition available, you can enable mandatory
locking support like this:

# mount -o remount,mand /

You can naturally use this for /var or any other partition. Also add
mand-option to /etc/fstab so it will stay after reboot.

Using tmpfs might have some problems, make sure you test it properly.

NOTE: Mandatory locking could make it possible for evil local accounts
to hang the system. You should run HAVP anyway on non-public server.

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