Mike van Vugt wrote:

[ ]






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




$ /usr/sbin/clamd ERROR: Problem with internal logger. Please check the permissions on the /var/log/clamav/clamd.log file

$ ls -al
total 16
drwxr-xr-x   2 clamav clamav 4096 Apr 13 16:36 ./
drwxr-xr-x  12 root   root   4096 Apr 13 15:04 ../
-rw-r-----   1 clamav clamav  231 Apr 13 16:37 clamd.log
-rw-r-----   1 clamav clamav 1664 Apr 13 19:27 freshclam.log

Now, how to set the permissions ??? chmod 666 ?????


The RPMs should create the directories with the correct permissions, and what you
have above looks right. Try doing what I suggested the first time and start clamd from
the init script. As root:
# /etc/init.d/clamd start


-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