Can’t open or parse the config freshclam.conf

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can’t open or parse the config freshclam.conf

    While updating the ClamAV database using the ‘freshclam’ command, you may receive the “can’t open or parse the config file freshclam.conf” message.

    =========
    [email protected]:~# freshclam
    ERROR: Please edit example config file /etc/freshclam.conf
    ERROR: Can't open/parse the config file /etc/freshclam.conf
    =========

    The reason is, with the default installation, the ‘Example’ variable is set to On which makes the configuration file work as a example and not the real configuration file.

    To fix the issue, edit the freshclam.conf file and remove or comment the line that says ‘Example’.
    vi /etc/freshclam.conf
    #Example

    Save the file and execute the freshclam command to update the ClamAV database.
Working...
X