On Fri, 20 Feb 2004 at 19:39:24 -0500, Prakash Velayutham wrote:
> 
> I have Amavis and clamd both running as clamav user. I do not have any mail 
> filters running (like sendmail milter or clamav-milter etc.).
> In clamav.conf I have enabled the clamd's drop privileges to drop to clamav 
> user after being started as root. When a mail comes in, amavis tries to 
> start clamd but it gives the following error
> 
> Feb 20 19:46:13 MyMachine amavis[18775]: Virus scanner failure: 
> ScannerDaemon - UNKNOWN STATUS (error code: 
> /var/amavis/amavis-07047767/parts: Can't access the file ERROR)
> 
> The permissions are:
> 
> under /var,
> drwx------    3 clamav   root         4096 Feb 20 19:46 amavis
> 
> under /var/amavis,
> drwx------    3 clamav   root         4096 Feb 20 19:46 .
> drwxr-xr-x   22 root     root         4096 Feb 20 19:44 ..
> drwx------    3 clamav   root         4096 Feb 20 19:27 amavis-16072539
> -rw-------    1 root     clamav         91 Feb 20 19:20 
> amavis-clamd-error.dat
> 

 ^^^^^^^^^^^^^^^^^^^^^^^  What is this file? Is it created at every
start or what?... What happens if you remove it or change its ownership
to clamav.root (or just clamav.)?

Though it may be a blind shot, as error is connected with other file
(e.g. /var/amavis/amavis-07047767/parts)...

> I am not sure what the problem could be? It runs fine if I comment out the 
> "User clamav" option in /etc/clamav.conf file. (runs fine as root)
> Any ideas? Thanks in advance.

-- 
 Tomasz Papszun   SysAdm @ TP S.A. Lodz, Poland  | And it's only
 [EMAIL PROTECTED]   http://www.lodz.tpsa.pl/   | ones and zeros.
 [EMAIL PROTECTED]   http://www.ClamAV.net/   A GPL virus scanner


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to