# TCP port address. #TCPSocket 3310
clamd will only run as local socket or inet socket not both at the same time. You probably have clamd running as local so when clamdscan tries to connect to the port it gets a connection refused. You will need to check your config and adjust accordingly.
Harrell, Roger wrote:
It's running under user gqscanqI've installed clamav. clamscan works, but the daemonized version clamdscan does not. It appears to be a permissions issue:
connect(): Connection refused ERROR: Can't connect to clamd.
----------- SCAN SUMMARY ----------- Infected files: 0 Time: 0.001 sec (0 m 0 s)
What is is trying to connect to? How can I determine where in the process it is failing so I can set up permissions appropriately.
ps -aux | grep clamd root 954 0.0 0.0 1348 48 ? S May09 0:00 supervise clamd gqscanq 27955 0.0 0.0 1628 0 ? SW 08:17 0:00 /usr/local/sbin/clamd root 3592 0.0 0.1 3568 624 pts/0 S 14:08 0:00 grep clamd
Roger
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users