[clamav-users] Clamav on Debian

Scott Kitterman ubuntu at kitterman.com
Wed Jan 14 04:20:51 UTC 2015


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 at 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



More information about the clamav-users mailing list