* Sandy T. Santos <[EMAIL PROTECTED]> [20031201 09:26]: wrote:
> hi,
> 
> i've successfully compiled clamav-0.65 on my mandrake 8.2 but everytime i
> start clamd i get this error.
> 
> LibClamAV Error: cli_cvdload():  Can't create temporary
> directory /root/tmp/45293e6f36fa5577
> ERROR: Unable to create temporary directory.
> 
> here's my clamav.conf
> User amavis
> AllowSupplementaryGroups
> PidFile /var/amavis/clamd.pid
> LocalSocket /var/amavis/clamd
> 
> however when i comment the User directive in clamav.conf, clamd starts
> successfully. but i don't want it to run as root.

What is the $HOME of your clamav user? /root ???
I got such an error once when the owner of that $HOME was different than
the "User amavis" directive (in your case).
I solved it by

cd /usr/local/share/clamav
chown -R amavis .

[I am using your User]

When clamav is installed in my FreeBSd system, the clamav user has the
home in /usr/local/share/clamav. YMMV.



        cheers
       - wash 
+----------------------------------+-----------------------------------------+
Odhiambo Washington                     . WANANCHI ONLINE LTD (Nairobi, KE)  |
<wash at wananchi dot com>              . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223                 . # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121                 . (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"  
                                                 --from a /. post

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to