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  [ 14 posts ] 
Author Message
PostPosted: 12 Mar 2008 06:21 
Offline

Joined: 12 Mar 2008 06:12
Posts: 1
I'm running privoxy->havp with clamav. I'm getting an error message "ClamAV: Unable to create temporary directory", which I can't find the cause of.

The havp.config has

TEMPDIR /tmp

and the /tmp directory is world writeable. clamd.conf has

TemporaryDirectory /tmp

so I don't think its a clamav problem either.

Does anyone have any ideas as to what might be causing this problem?

Any help would be really appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: 13 Mar 2008 16:21 
Offline

Joined: 02 Feb 2008 22:24
Posts: 28
Hi papafox,
check your clamd.conf if there is set a special tmp-folder and if so check the rights of clamav on this folder.
regards Severus


Top
 Profile  
 
 Post subject:
PostPosted: 13 Mar 2008 18:55 
Offline

Joined: 13 Mar 2008 17:55
Posts: 1
The problem depends on the library libclamav3.

Solution:

Depending on how it was compiled:

run :

ln -s libclamav.so.2.0.8 libclamav.so.2
or
ln -s libclamav.so.2.0.8 libclamav.so.3




restart havp
restart squid (if used)

hi


Top
 Profile  
 
 Post subject:
PostPosted: 13 Mar 2008 21:37 
Offline

Joined: 02 Feb 2008 22:24
Posts: 28
Hi men7763,
Quote:
The problem depends on the library libclamav3.


May be I'm wrong but I don't think so. If not able to connect to the clamav libraries havp should not start at all. I use havp with the copfilter addon of ipcop and there havp broke with an error message when there was no symlink to the current libclamav.

regards Severus


Top
 Profile  
 
 Post subject: Same problem
PostPosted: 26 Mar 2008 10:16 
Offline

Joined: 26 Mar 2008 09:53
Posts: 2
Hello,
I have same problem " SCANERROR ClamAV: Unable to create temporary directory".

- Havp 0.87 and clamav 0.92.1.

- I using "ln -s libclamav.so.3.0.4 libclamav.so.3" , but error messages display 10x daily.

- clamd.conf configure "TemporaryDirectory /var/tmp/clamav"
havp configure "SCANTEMPFILE /var/tmp/havp/havp-XXXXXX"
and "TEMPDIR /var/tmp/havpclam"

- Temp directory have owner rights: var/tmp/*****
drwxrwxr-x 2 clamav clamav 4096 Mar 25 14:17 clamav/
drwxrwxrwx 2 havp havp 4096 Mar 26 08:14 havpclam/
drwxrwxrwx 3 havp havp 4096 Mar 26 08:14 havp/


Please help


Top
 Profile  
 
 Post subject: ERROR
PostPosted: 27 Mar 2008 17:48 
Offline

Joined: 26 Mar 2008 09:53
Posts: 2
Hello,
problem is solved.I using clamd demon for HAVP in havp.conf :-)).


Top
 Profile  
 
 Post subject:
PostPosted: 01 Apr 2008 17:50 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
I think the bug is because ClamAV doesn't generate random enough directory names. It fails when there is a temporary directory with the same name already and doesn't try again.


Top
 Profile  
 
 Post subject:
PostPosted: 01 Apr 2008 22:50 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
My bad.. there was a bug in HAVP, random seed wasn't initialized after forking, so all clamav processes had the same. Resulting in some duplicate temporary names.

Please try this new test version:

http://havp.hege.li/download/havp-0.88pre2.tar.gz


Top
 Profile  
 
PostPosted: 08 Jul 2008 10:07 
Offline

Joined: 08 Jul 2008 09:54
Posts: 1
i have the same error with havp 0.88 and clamav 0.93.1 on debian gnu/linux 4.0


Top
 Profile  
 
PostPosted: 18 Sep 2008 10:25 
Offline

Joined: 09 Apr 2008 09:02
Posts: 1
Hi Hege, I started getting this problem at 0.87. I'm currently at 0.89 with Clam 0.93.3 on Solaris 10 and still have this popping up in the logs. Any ideas?


Top
 Profile  
 
PostPosted: 18 Sep 2008 11:47 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
Try ClamAV 0.94. I haven't seen any errors myself since that.


Top
 Profile  
 
PostPosted: 09 Dec 2008 07:35 
Offline

Joined: 25 Nov 2008 10:58
Posts: 24
hege wrote:
Try ClamAV 0.94. I haven't seen any errors myself since that.


09/12/2008 11:11:21 192.168.77.83 GET 404 http://mail.google.com/mail/photos/ilha ... 0yahoo.com? 464+124 SCANERROR ClamAV: Unable to create temporary directory


i have that problem
:(

i use UBUNTU HH
install havp from
# apt-get install havp


solution pls


Top
 Profile  
 
PostPosted: 09 Dec 2008 10:09 
Offline

Joined: 23 Apr 2008 09:36
Posts: 101
One question: are you running havp over virus database from clamav?
If so, try following: run havp and clamav with the same user and group and don't forget to change the ownership of the directories!

It's only a guess. Another way to try is, to run havp over socket of clamav.

@bad4m are your problems solved with squid configuration?


Top
 Profile  
 
PostPosted: 09 Dec 2008 10:15 
Offline

Joined: 25 Nov 2008 10:58
Posts: 24
karesmakro wrote:
One question: are you running havp over virus database from clamav?
If so, try following: run havp and clamav with the same user and group and don't forget to change the ownership of the directories!

It's only a guess. Another way to try is, to run havp over socket of clamav.

@bad4m are your problems solved with squid configuration?



It solved now
i upgrade my HH to interpid
and this is what i have
root@castor:/home/mirza/web# havp --help

Usage: havp [Options]

HAVP Version 0.89
===============

for now i dont see that msg anymore
( hope this not temporary )


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