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.


All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: I cannot start havp
PostPosted: 06 Jan 2009 03:53 
Offline

Joined: 06 Jan 2009 03:25
Posts: 11
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


Top
 Profile  
 
 Post subject: Re: I cannot start havp
PostPosted: 07 Jan 2009 04:02 
Offline

Joined: 07 Jan 2009 03:57
Posts: 1
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


Top
 Profile  
 
 Post subject: Re: I cannot start havp
PostPosted: 07 Jan 2009 12:22 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 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