On Tuesday, January 13, 2015 10:17:14 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.

As shipped by Debian, there is a /etc/clamav/freshclam.conf and the clamd.conf 
does contain LocalSocket /var/run/clamav/clamd.ctl on line 4, but that's a 
perfectly valid option.

I would either as root or using sudo depending on how your system is set up do

apt-get purge clamav-freshclam clamav-daemon

This will remove some other packages too.  Take note of the list of packages 
removed and then apt-get install those packages again.

Not sure what happened with your system, but somehow it's configured 
significantly differently than as shipped in the package originally.

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

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

Reply via email to