I am trying to get ClamAV going on my SuSE 9.1 system. I am using ClamAV 0.87.1. I ran ClamAV on the test files that came with it and it worked fine. However, I cannot get FreshClam to work.
I have created the log file and given it permissions and ownership as below:
-rwxrwxr-x 1 clamav clamav 64 Dec 28 13:35 clam-update.log
The documentation said to chmod 600, so surely 755 is more than enough?
When I run Freshclam (as root or clamav) I get the following error:
linux:/var/log # freshclam
ERROR: Can't open /var/log/clam-update.log in append mode (check permissions!).
ERROR: Problem with internal logger.
linux:/var/log #
My config file for Freshclam are as below:
Freshclam's config (extract):
Path to the database directory.
# WARNING: It must match clamd.conf's directive!
# Default: hardcoded (depends on installation options)
DatabaseDirectory /usr/local/ClamAV/clamav-0.87.1/database
# Path to the log file (make sure it has proper permissions)
# Default: disabled
UpdateLogFile /var/log/clam-update.log
I am new to ClamAV so any advice on the problem gratefully received. Am I understanding "append mode" correctly - all it needs is write permission?