On Friday 12 September 2003 11:05, Odhiambo Washington wrote: > * Jesse Guardiani <[EMAIL PROTECTED]> [20030912 17:48]: wrote: > > Hi Jesse, > > > clamd from clamav-0.60 dies ocassionally on me too. I run FreeBSD > > 4.8-RELEASE on a Dell PowerEdge 4300. I have the core files if anyone > > wants to see them (two of them). > > > > I "solved" the problem by running clamd under DJB's daemontools package. > > daemontools includes a program called "supervise", which will monitor > > the script and restart it if it dies. > > Solved means you used the scripts on FreeBSD???
Yes. They were tested with FreeBSD 4.8-RELEASE and 5.1-RELEASE. If you install clamd under daemontools(supervise) the way the document I attached to the first email describes, then clamd can core dump to it's heart's content and it will be restarted within seconds. > > > I have attached a plain text step-by-step HOWTO guide, roughly after the > > style of Life With Qmail. It assumes that you already have clamd > > installed and running properly. > > > > Let me know if you like it. > > I will put them in place (albeit at different locations) and let you know. > Just tell me that this script /usr/local/clamav/bin/clamdctl, runs on > FreeBSD!! Wash, clamdctl is an sh script. It should run on any *NIX. However, clamdctl by itself won't do you any good. it's just a control script for DJB's daemontools package. You can find out more about daemontools/download it here: http://cr.yp.to/daemontools.html daemontools builds without any problems on both FreeBSD 4.8-RELEASE and FreeBSD 5.1-RELEASE, so you shouldn't have any trouble installing it as long as you follow the instructions here: http://cr.yp.to/daemontools/install.html daemontools was designed to supervise the qmail MTA's various daemon processes, but I frequently find it useful for supervising other daemons, like clamd, also. Let me know if you have any trouble getting everything set up. It's kind of hard to tell where the /usr/local/clamav/supervise/clamd/run script ends in the document I sent to the list in the first email. Just ask if you get stuck. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users