Ed Vazquez wrote: > On Thu, 2 Oct 2003 09:55:04 +0300 Odhiambo Washington <[EMAIL PROTECTED]> > wrote: > >> Okay, I know this is not good at all, that I run the CVS version of >> clamav >> on a production box. It's suicide. I've run the daily snapshots for >> some >> time without disappointment when it comes to supervising the >> service with >> daemontools. However, something in CVS seems to completely defy >> daemontools! >> For two days now, this has happened, but unfortunately I have not >> captured >> any data. Not core dump at all. >> Which one amongst the snapshots do people find more stability in? >> I think clamav-devel-20030929 was the last one that never died >> completely on me. >> >> >> >> -Wash >> >> -- >> Odhiambo Washington <[EMAIL PROTECTED]> "The box said 'Requires >> Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or >> better,' >> Tel: +254 2 313985-9 +254 2 313922 so I installed >> FreeBSD." >> GSM: +254 72 743223 +254 733 744121 This sig is McQ! :-) >> >> This fortune is false. >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf > > I know this has been covered extensively, but nonetheless I feel I > should ask: > > Could you post your daemontools run and log/run files? I've been > trying to use svscan to keep clamd active, and I have run into one of > two scenarios: > > 1 - The service starts another child of itself every second or so > until the process table is full > 2 - The service re-starts itself every second or so until the log file > / partition is full > > I have tried all the variants I have come across in the list archive, > the settings from > http://clamav.elektrapro.com/doc/clamd_supervised/clamd-daemontools-guide.txt, > etc. all to no avail. > > Perhaps there should be a doc/clamd_supervised page that lists all the > varients that have worked for people by OS?
Which version of ClamAV are you running? I think I saw some unintended line wrapping in: http://clamav.elektrapro.com/doc/clamd_supervised/clamd-daemontools-guide.txt which might cause problems controlling and/or starting the service. Try the attached howto instead. I have gzipped it in the hope that mail archives like GMANE won't display the attachment with improperly line wrapped text. The new howto has been updated to be compliant with the UID change in qmail-scanner-1.20rc3. clamd now runs as user 'qscand'. Also, I have added a "ClamAV Install" section to the top of the file. This section provides a cut-and-paste method of adding the clamav user to the FreeBSD password database. You'll probably have to use different syntax/commands under a different OS. In addition, I've made a slight change at the bottom of the howto to better indicate the end of the /usr/local/clamav/supervise/clamd/run file. NOTE: I run this EXACT setup on a production FreeBSD 4.8-RELEASE box and a development 5.1-RELEASE laptop. It works, but let me know if anyone has problems with it. I'll be happy to help. -- 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
clamd-supervise-install-notes-0_002.txt.gz
Description: GNU Zip compressed data