From owner-freebsd-questions@FreeBSD.ORG Sun Feb 8 07:07:03 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F02716A4CF for ; Sun, 8 Feb 2004 07:07:03 -0800 (PST) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 429BC43D31 for ; Sun, 8 Feb 2004 07:07:02 -0800 (PST) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id i18F6xZT024716; Sun, 8 Feb 2004 07:06:59 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id i18F6w7H024714; Sun, 8 Feb 2004 07:06:58 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Sun, 8 Feb 2004 07:06:58 -0800 From: "Loren M. Lang" To: Gautam Gopalakrishnan Message-ID: <20040208150658.GF19831@alzatex.com> References: <20040208141313.GB19831@alzatex.com> <20040209015237.1a9b288c.ggop@myrealbox.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gneEPciiIl/aKvOT" Content-Disposition: inline In-Reply-To: <20040209015237.1a9b288c.ggop@myrealbox.com> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: "Loren M. Lang" cc: freebsd-questions@freebsd.org Subject: Re: Daemon Monitor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2004 15:07:03 -0000 --gneEPciiIl/aKvOT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 09, 2004 at 01:52:37AM +1100, Gautam Gopalakrishnan wrote: > On Sun, 8 Feb 2004 06:13:13 -0800 > "Loren M. Lang" wrote: >=20 > > Is there a good program that can monitor a daemon and take an > > appropriate action if the daemon dies? I am having trouble with > > ClamAV dying in certain circumstances, but somewhat rare. I would > > like for when it dies, to either restart it or copy a mail config file > > for exim over the default and signal Exim which would then disable > > exim from using clamav so the mail will still come through. Currently > > we have it disabled until the problem is fixed, but some users are > > still not heeding the warnings and are infecting themselves with the > > MyDoom virus which ClamAV was previously blocking. >=20 > /usr/ports/sysutils/daemontools > http://cr.yp.to/daemontools.html I took a look at this as well as monitord in the ports collection, but neither seems to do exactly what I'm looking for. I want a way to take an action other than restarting the service if the service dies, because I think that ClamAV will keep dying as long as exim is sending it the same email that caused it to crash in the first place, instead I just want to disable exim from using clamav in it's config file until someone can manually intervene and fix the problem. >=20 > hope that helps. > Gautam --=20 I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C =20 --gneEPciiIl/aKvOT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAJlCS+vN6RuSjKAwRAswrAJwOx3aTPsc1XhM7yIIyV1UHzntpHACfbybP LH6VKANIA3PNmTFDd+y0ElU= =dck9 -----END PGP SIGNATURE----- --gneEPciiIl/aKvOT--