Mike van Vugt wrote:

Installed clamav, clamav-db and libclamav1. Tried to install and run
clamd but got the next message....

# /usr/sbin/clamd
LibClamAV Error: cli_cvdload():  Can't create temporary directory
/root/tmp/163df1b13c4bdbca
ERROR: Unable to create temporary directory.
[EMAIL PROTECTED] clamav]#

Anyone ???


Mike,

Use the init script that's installed with the RPMs to start clamd
(/etc/init.d/clamd). It sets the home directory and tmpdir prior
to starting clamd. Typically, this will be /var/lib/clamav or
/var/lib/amavis if running amavisd. Since you started it as root,
it is trying to make the tmp directory under /root, but since by
default clamd is running under user "clamav", it doesn't have
permission to create that directory.

-Bill




------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to