Clamav starting error

Discussion in 'Installation/Configuration' started by scherpenzeel, May 19, 2006.

  1. scherpenzeel

    scherpenzeel New Member

    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..:)
  2. HoUsECAt

    HoUsECAt New Member

    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)
  3. scherpenzeel

    scherpenzeel New Member

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

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

    and running...
  4. HoUsECAt

    HoUsECAt New Member

    your welcome :)

Share This Page