Cpanel, Linux Tips

CLAMAV ERROR: Can’t open/parse the config file

After installation OR while updating ClamAV Antivirus (using command /usr/local/bin/freshclam -v) it gives following Error

[root@server ~]# /usr/local/bin/freshclam -v -l /var/log/clam-update.log
ERROR: Please edit the example config file /usr/local/etc/freshclam.conf
ERROR: Can't open/parse the config file /usr/local/etc/freshclam.conf
[root@server ~]#

This error shows that the ClamAV configuration file still the default one which is bundled with the the installation Sources. To fix this error open /usr/local/etc/freshclam.conf and search and change

# Comment or remove the line below.

# Comment or remove the line below.

Now try to update ClamAV

[root@server ~]# /usr/local/bin/freshclam -v -l /var/log/clam-update.log
Current working dir is /usr/local/share/clamav
Max retries == 3
ClamAV update process started at Fri Oct  9 11:29:18 2009
Using IPv6 aware code
TTL: 748
Software version from DNS: 0.95.2
main.cvd version from DNS: 51
main.cvd is up to date (version: 51, sigs: 545035, f-level: 42, builder: sven)
daily.cvd version from DNS: 9876
daily.cvd is up to date (version: 9876, sigs: 83897, f-level: 43, builder: ccordes)
[root@server ~]#

/usr/local/bin/freshclam -v -l /var/log/clam-update.log

This site uses Akismet to reduce spam. Learn how your comment data is processed.