HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Installation/Configuration (
-   -   Clamav starting error (

scherpenzeel 19th May 2006 13:35

Clamav starting error
Cant get Clamav started becouse of this error:

Starting ClamAV daemon: ERROR: Parse error at line 14: Unknown option logFile.
ERROR: Can't open/parse the config file /etc/clamd.conf

this is in the config:
## Example config file for the Clam AV daemon
## Please read the clamd.conf(5) manual before editing this file.

# Comment or remove the line below.

# Uncomment this option to enable logging.
# LogFile must be writable for the user running daemon.
# A full path is required.
# Default: disabled
logFile /var/log/clamav/clamd.log

This is what I chown the clamd.log to:
chown clamav:users /var/log/clamav/clamd.log

# ls -al /var/log/clamav/
total 28
drwxr-xr-x 2 clamav clamav 4096 2006-05-18 16:27 .
drwxr-xr-x 12 root root 4096 2006-05-18 08:25 ..
-rw-r--r-- 1 clamav users 3 2006-05-18 15:02 clamd.log
-rw-r----- 1 clamav users 7100 2006-05-18 21:17 clam-update.log
-rw-r----- 1 clamav adm 5394 2006-05-18 22:48 freshclam.log

but stil not working:

How to solve this? Is it a chmod probl? or any other problem with owner / user ? I am a bit lost here.

PS i started this question already in my previous thread..but I think it was not noticed thats why I have it here as a stand alone thread..:)

HoUsECAt 19th May 2006 14:01

hi... in my /etc/clamav/clamd.conf the syntax is:


LogFile /var/log/clamav/clamav.log
i think that will solve your problem (capital L)

scherpenzeel 19th May 2006 14:50

Thanks a lot. The L did the job...:).

/etc/init.d/clamd restart
Stopping ClamAV daemon: clamd
Starting ClamAV daemon: clamd

and running...

HoUsECAt 19th May 2006 15:01

your welcome :)

All times are GMT +2. The time now is 14:36.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.