Hello !

I've tried to install clamav on our linux computers.

clamd is configured like this :

LocalSocket = "/run/clamd.scan/clamd.sock"
LocalSocketGroup = "clamscan"
LocalSocketMode = "666"
TCPSocket = "3310"
TCPAddr = "127.0.0.1", "192.9.203.205"

The socket file is there and accessible :

srw-rw-rw- 1 clamscan clamscan 0 27 jui 15:47 /run/clamd.scan/clamd.sock

The port 3310 is opened and listening :

netstat -anp | grep -E "(clam)"

tcp        0      0 192.9.203.205:3310 0.0.0.0:*               LISTEN      1863/clamd tcp        0      0 127.0.0.1:3310 0.0.0.0:*               LISTEN      1863/clamd unix  2      [ ACC ]     STREAM     LISTENING     40300 1863/clamd           /run/clamd.scan/clamd.sock
unix  2      [ ]         DGRAM                    40294 1863/clamd

I can use clamscan to scan a file

but clamonacc return this error :

ERROR: ClamClient: Could not connect to clamd, Couldn't connect to server
ERROR: Clamonacc: daemon is local, but a connection could not be established

any idea ?



_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


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

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

Reply via email to