I'm having a problem with clamd v0.54 on OBSD v3.1 and v3.2.
If I run clamd in the foreground it works fine. If I run it in the background (normal operation) it never responds to commands.
So running in the foreground I telnet to the port 3310 I get this: $ telnet host 3310 Trying xxx.xxx.xxx.xxx... Connected to host. Escape character is '^]'. PING PONG Connection closed by foreign host.
If I do the same thing while not using the "Foreground" directive, I get this:
$ telnet host 3310
Trying xxx.xxx.xxx.xxx...
Connected to host.
Escape character is '^]'.
PING
In the log file, if I'm running verbose logging, at the time I issue the PING command I get this message:
Thu Mar 13 14:59:04 2003 -> Found free slot 1
but that's it. Nothing else happens.
here's the whole log:
Thu Mar 13 14:58:55 2003 -> +++ Started at Thu Mar 13 14:58:55 2003
Thu Mar 13 14:58:55 2003 -> Log file size limited to 1048576 bytes.
Thu Mar 13 14:58:55 2003 -> Verbose logging activated.
Thu Mar 13 14:58:55 2003 -> Reading databases from /usr/local/share/clamav
Thu Mar 13 14:58:55 2003 -> Protecting against 7743 viruses.
Thu Mar 13 14:58:55 2003 -> Binded to port 3310
Thu Mar 13 14:58:55 2003 -> Setting connection queue length to 15
Thu Mar 13 14:58:55 2003 -> Listening daemon: PID: 26983
Thu Mar 13 14:58:55 2003 -> Maximal number of threads: 5
Thu Mar 13 14:58:55 2003 -> Archive: Archived file size limit set to 10485760 bytes.
Thu Mar 13 14:58:55 2003 -> Archive: Recursion level limit set to 5.
Thu Mar 13 14:58:55 2003 -> Archive: Files limit set to 1000.
Thu Mar 13 14:58:55 2003 -> Archive support enabled.
Thu Mar 13 14:58:55 2003 -> Self checking every 3600 seconds.
Thu Mar 13 14:58:55 2003 -> Timeout set to 180 seconds.
Thu Mar 13 14:58:55 2003 -> Found free slot 0
Thu Mar 13 14:59:04 2003 -> Found free slot 1
Another thing to throw in, when running in the foreground, if I kill the process, I get this message right before the process dies:
$ clamd
pid 26983: Fatal error '_waitq_insert: Already in queue' at line 280 in file /usr/src/lib/libc_r/uthread/uthread_priority_queue.c (errno = 4)
Any suggestions?
-Rich
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]