On Apr 20, 2005, at 12:25, José Miguel López Coronado wrote:

Hello everybody.

I have been suffering the following problem in my clamd.log:
LibClamAV Error: Can't create temporary file /tmp/clamav-d0a0c6a5466f36fc/: Argumento inválido
LibClamAV Error: fileblobDestroy: file not saved: report to [EMAIL PROTECTED]


This have happended since I changed to 0.83 clamav version and only in one of the three servers where I have it installed. The three of them are running RedHat 9.0.

Any idea why is this happening?

Thanks in advance.

Chemi

The only real solution I have seen that works on all OS's is to place the ClamAV sock, pid and tmp directory in /var/clamav since running chrooted causes problems with permissions.


[daleenterprise:~] websrvr% ls -lsa /var/clamav
total 16
0 drwxr-xr-x   6 vscan     vscan      204 20 Apr 11:10 .
0 drwxr-xr-x  33 root      wheel     1122 20 Apr 11:11 ..
8 -rw-rw----   1 vscan     vscan     3 20 Apr 11:10 clamd.pid
0 srwxrwxrwx   1 vscan     vscan        0 20 Apr 11:10 clamd.sock
8 -rw-rw----   1 vscan     vscan        3 20 Apr 11:10 freshclam.pid
0 drwxrwxrwx   2 vscan     vscan       68 20 Apr 20:18 tmp

This allows it to run without any difficulties (don't forget to adjust your clamd.conf and freshclam.conf files).


-- Dale _______________________________________________ http://lurker.clamav.net/list/clamav-users.html

Reply via email to