On Sat, 4 Dec 2004 22:38:26 -0800 (PST) in
[EMAIL PROTECTED] ads nat
<[EMAIL PROTECTED]> wrote:

>  Please guide whether 'LocalSocket /tmp/clamd' is
>  correct.

Only if clamav can write to /tmp and create a socket called clamd.

If you do ls -l in /tmp you'll be able to see the socket if it exists.
And check the permissions on /tmp from /, it needs to be 666 I think.

> 
>  restarted clamd and ran command :
>  [EMAIL PROTECTED] root]# clamdscan -l scan.txt clamav-0.80
>  connect(): No such file or directory
>  ERROR: Can't connect to clamd.

I'm pretty sure you need to tell clamdscan to use the configuration file
with --config-file=/usr/local/etc/clamd.conf

-- 

Brian Morrison

bdm at fenrir dot org dot uk

GnuPG key ID DE32E5C5 - http://wwwkeys.uk.pgp.net/pgpnet/wwwkeys.html
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to