Gerard wrote:
When I issue the command as root:
clamd PING
That doesn't work. PING is not a command-line argument.
If you telnet TO THE SOCKET [1], then write PING\n to the socket, you should
receive PONG\n from the socket.
[1]Yes, on some systems you really can telnet to a socket.
--
If you chose the LocalSocket method of communicating with clamd, you
ca use a very cool piece of software called socat to send commands to
clamd. You can read about it here: http://www.dest-unreach.org/socat/.
Read the instructions on how to compile it, and then do:
socat - /tmp/clamd COMMAND