On Mon, Dec 11, 2006 at 10:31:20AM -0500, Gerard Seibert said: > On Monday December 11, 2006 at 10:11:46 (AM) Stephen Gran wrote: > > > On Mon, Dec 11, 2006 at 10:06:39AM -0500, Gerard Seibert said: > > > What is the preferred method to force clamd to reload its databases? > > > > The simplest is: > > echo RELOAD | nc localhost 3310 > > OK, I have to admit that I am not familiar with that command. Anyway, it > does not appear to have any effect on clamd. There is no indication in > the clamd.log file that it is in fact rereading the database. > > I am running FreeBSD with bash3 as the shell. Also, netstat -a does not > list any port listening on 3310. I do not have a the TCP port enabled in > the clamd.conf file.
Well, it certainly won't have any effect then :) I think that the BSD netcat has a unix socket option, although I can't remember. You could try that, or there is some code in the contrib/ directory that may point you to how to do it. -- -------------------------------------------------------------------------- | Stephen Gran | Blessed be those who initiate lively | | [EMAIL PROTECTED] | discussions with the hopelessly mute, | | http://www.lobefin.net/~steve | for they shall be know as Dentists. | --------------------------------------------------------------------------
signature.asc
Description: Digital signature
_______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html