Error

[root@mail log]# freshclam

ERROR: Can't open /var/log/freshclam.log in append mode (check permissions!).

ERROR: Problem with internal logger (UpdateLogFile = /var/log/freshclam.log).

-----Answar------------------------------------------------------

chmod -R 777 /var/log/freshclam.log

-----------------------------------------------------

ERROR: Can't create temporary directory /var/lib/clamav/clamav-573c609f9fc65a5843e04f63ff41027e.tmp

Hint: The database directory must be writable for UID 386 or GID 386

First find out my uid and gid by typing at the command prompt: id your_username

hen type: sudo chown UID.GID /var/lib/clamav then sudo chmod 755 /var/lib/clamav

Change UID and GID with the values you got from the id Command above.

sudo freshclam

# chown 386.386 /var/lib/clamav

# chmod 755 /var/lib/clamav

freshclam

freshclam -v

-------------------------

Httpd restart:

httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0

#/etc/httpd/conf/httpd.conf

Add this Line

 263      ServerName localhost

----------------------------------