> 
> Then changed setting in "/usr/local/etc/clamd.conf
> " from
> LocalSocket /tmp/clamd
> 
> to
> 
> LocalSocket /var/run/clamd.sock
> 
> and got following error :
> "[EMAIL PROTECTED] clamav-0.80]# clamdscan -l scan.txt
> test
> connect(): No such file or directory
> ERROR: Can't connect to clamd.

Did you (re)start clamd?  If you didn't then there isn't going to be
anything that creates that socket.

Note that you don't want to use /var/run, but to create
/var/run/clamav, owned by clamav, and use that instead.  It's either
that or open up access to /var/run itself, which isn't good.

-- 
                 Please keep list traffic on the list.
Rob MacGregor
      Whoever fights monsters should see to it that in the process he 
        doesn't become a monster.                  Friedrich Nietzsche
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to