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

Could not lock Scannerfile: /var/spool/havp/
http://havp.hege.li/forum/viewtopic.php?f=3&t=584
Page 1 of 1

Author:  p0wn3rs [ 11 Jan 2011 18:58 ]
Post subject:  Could not lock Scannerfile: /var/spool/havp/

Hello,

my log is full of this messages, and from EVERY DAY I'm unable to browse the internet until I restart the services (squid/havp/dansguardian).

Code:
Jan 11 16:00:54 firewall havp[31312]: Could not lock Scannerfile: /var/spool/havp/havp-fAoEAz
Jan 11 16:00:54 firewall havp[31313]: Could not lock Scannerfile: /var/spool/havp/havp-Q42JSz
Jan 11 16:01:03 firewall havp[22532]: Could not lock Scannerfile: /var/spool/havp/havp-mgkcTR
Jan 11 16:01:03 firewall havp[22533]: Could not lock Scannerfile: /var/spool/havp/havp-7aRklQ
Jan 11 16:01:03 firewall havp[22534]: Could not lock Scannerfile: /var/spool/havp/havp-A856zQ
Jan 11 16:01:03 firewall havp[22535]: Could not lock Scannerfile: /var/spool/havp/havp-PgcgTQ


I don't know the cause of this issue.
and I don't know how to fix this issue.
havp version : havp-0.90-2

Please advice.

Thanks.

Author:  p0wn3rs [ 17 Jan 2011 13:24 ]
Post subject:  Re: Could not lock Scannerfile: /var/spool/havp/

any body?

Author:  Duffy [ 30 Jun 2011 10:56 ]
Post subject:  Re: Could not lock Scannerfile: /var/spool/havp/

Hi,

on my server this issue occured because I put /var/havp on a tmpfs. If you do so, this may work for some days or weeks but it is not stable.
I used a work-arround by putting an image on the ramdisk, formating it reiserfs and mounting it as a loopback device:

#!/bin/bash
mount -o defaults,nosuid,noexec,size=1G -t tmpfs tmpfs /var/ramdisk
dd if=/dev/zero of=/var/ramdisk/ramdisk.img bs=1024 count=1000000
mkreiserfs -f -q /var/ramdisk/ramdisk.img
mount -o defaults,nosuid,noexec,mand,loop /var/ramdisk/ramdisk.img /var/havp

This may be called somewhere in the startscript.

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