On 1/13/15 7:17 AM, Richard Thibaudeau wrote:
Hi everyone

For at least two weeks I'm searching the Internet to find a solution to:

root@debian:/# freshclam
ERROR: Parse error at line 4: Unknown option LocalSocket
ERROR: Can't open/parse the config file /etc/clamav/freshclam.conf

Please see the attachment to get more details.

Thank you for your help.

Richard


_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Verify the freshclam.conf file is installed in the proper location and correctly configured. The indication is it is not where freshclam expects it to be.

In your clamd.conf file remove the quotes
LocalSocket = "/var/run/clamav/clamd.ctl" (This is a valid socket identifier. The socket must exist if clamd is running. The subdirectory may need to be created, depending on the distribution. Check the path and permissions anyway.)

Freshclam needs to know where the clamd.conf file so it can learn this location. The location is part of configuring the freshclam.conf file. Needed only if you wish freshclam to notify clamd of new signatures. It is a compiled in setting but can be set in freshclam.conf to override the compiled in setting. If it is uncommented then it must point to the actual running clamd.conf file.
#NotifyClamd /path/to/clamd.conf

dp


_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to