On Wed, 28 Jan 2004 at 17:15:36 -0800, Robin Lynn Frank wrote:
> I just stopped clamd and then tried to start it again
> 
> Starting Clam AntiVirus Daemon: LibClamAV Error: cli_cvdload():  Can't create 
> temporary directory /root/tmp/273409760600096e
> ERROR: Unable to create temporary directory.
> 
> What might the cause of this be?

User "root" has some environent variable as TMPDIR set to /root/tmp
(which is a good idea, generally).

When starting clamd, privileges are dropped (as clamd is run as user
clamav), so clamd can't create a directory under /root/tmp/ .

Try 'unset TMPDIR' (or whatever variable is set) before starting clamd.
After starting it, you can set it back, of course.

-- 
 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


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to