HAVP exits with an error when i try to start it. Here`s HAVP`s output:
Code:
#/usr/local/havp/sbin/havp --conf-file=/usr/local/havp/etc/havp/havp.config
Testfile fcntl() failed: Resource temporarily unavailable
Exiting..
Looks like i configured HAVP right so i cant understand where`s the problem. Error log is almost empty:
Code:
# less /var/log/havp/havp.log
06/06/2006 17:22:21 === Starting HAVP Version: 0.80
06/06/2006 17:22:21 Change to user squid
06/06/2006 17:22:21 Change to group squid
HAVP tempdir configuration.
Code:
# less /usr/local/havp/etc/havp/havp.config | grep tmp/havp
SCANTEMPFILE /var/tmp/havp/havp-XXXXXX
TEMPDIR=/var/tmp/havp
'df' for /var/tmp/havp
Code:
# df | grep tmp/havp
tmpfs 254000 0 254000 0% /var/tmp/havp
'mount' for /var/tmp/havp
Code:
# mount | grep tmp/havp
tmpfs on /var/tmp/havp type tmpfs (rw,mand)
The command i used to mount the drive is
Code:
mount -t tmpfs -o mand tmpfs /var/tmp/havp
And finaly, 'ls' for /var/tmp/havp after is was mounted
Code:
# ls -al | grep havp
drwxr-xr-x 2 squid squid 4096 Tue 6 15:51 havp
Directories for HAVP pid file and logs are owned by 'squid' user, so they are writeable for HAVP, which is run under 'squid'. Looking at 'fcntl() failed' i think the problem is somewhere around my ramdisk /var/tmp/havp with mandatory locks enabled, but i just do not have any idea, what exactly is wrong.