HTTP Anti-Virus Proxy http://havp.hege.li/forum/ |
|
ClamAV: Unable to create temporary directory http://havp.hege.li/forum/viewtopic.php?f=3&t=343 |
Page 1 of 1 |
Author: | papafox [ 12 Mar 2008 06:21 ] |
Post subject: | ClamAV: Unable to create temporary directory |
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. |
Author: | Severus [ 13 Mar 2008 16:21 ] |
Post subject: | |
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 |
Author: | men7763 [ 13 Mar 2008 18:55 ] |
Post subject: | |
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 |
Author: | Severus [ 13 Mar 2008 21:37 ] |
Post subject: | |
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 |
Author: | Hugoo [ 26 Mar 2008 10:16 ] |
Post subject: | Same problem |
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 |
Author: | Hugoo [ 27 Mar 2008 17:48 ] |
Post subject: | ERROR |
Hello, problem is solved.I using clamd demon for HAVP in havp.conf ). |
Author: | hege [ 01 Apr 2008 17:50 ] |
Post subject: | |
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. |
Author: | hege [ 01 Apr 2008 22:50 ] |
Post subject: | |
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 |
Author: | krull [ 08 Jul 2008 10:07 ] |
Post subject: | Re: ClamAV: Unable to create temporary directory |
i have the same error with havp 0.88 and clamav 0.93.1 on debian gnu/linux 4.0 |
Author: | dspiteri [ 18 Sep 2008 10:25 ] |
Post subject: | Re: ClamAV: Unable to create temporary directory |
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? |
Author: | hege [ 18 Sep 2008 11:47 ] |
Post subject: | Re: ClamAV: Unable to create temporary directory |
Try ClamAV 0.94. I haven't seen any errors myself since that. |
Author: | badm4n [ 09 Dec 2008 07:35 ] |
Post subject: | Re: ClamAV: Unable to create temporary directory |
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 |
Author: | karesmakro [ 09 Dec 2008 10:09 ] |
Post subject: | Re: ClamAV: Unable to create temporary directory |
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? |
Author: | badm4n [ 09 Dec 2008 10:15 ] |
Post subject: | Re: ClamAV: Unable to create temporary directory |
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 ) |
Page 1 of 1 | All times are UTC + 2 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |