From owner-freebsd-isp Tue Feb 1 19:31:30 2000 Delivered-To: freebsd-isp@freebsd.org Received: from calumet.infoteam.com (calumet.infoteam.com [207.246.83.3]) by builder.freebsd.org (Postfix) with ESMTP id 3FC9D4074 for ; Tue, 1 Feb 2000 19:31:25 -0800 (PST) Received: (from kmartin@localhost) by calumet.infoteam.com (8.8.8/8.8.8) id WAA24330 for freebsd-isp@FreeBSD.ORG; Tue, 1 Feb 2000 22:31:15 -0500 (EST) (envelope-from kmartin) Date: Tue, 1 Feb 2000 22:31:15 -0500 From: Kenn Martin To: freebsd-isp@FreeBSD.ORG Subject: Re: controlling local boot sequence Message-ID: <20000201223115.A24239@infoteam.com> References: <20000201175018.A21189@infoteam.com> <20000201194931.B3152@numachi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000201194931.B3152@numachi.com>; from reichert@numachi.com on Tue, Feb 01, 2000 at 07:49:32PM -0500 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Feb 01, 2000 at 07:49:32PM -0500, Brian Reichert wrote: > On Tue, Feb 01, 2000 at 05:50:18PM -0500, Kenn Martin wrote: > > Looking for some tips on controlling local startup sequences when > > using MySQL. I imagine that other ISPs have similar configurations. > > > > FreeBSD 3.4-STABLE machines, scripts in /usr/local/etc/rc.d (some > > created by /usr/ports/* and some myself). Script names end in .sh, > > are executable, and are named starting with numbers so as to > > attempt to control sequencing. > > > > The problem we are experiencing is that at boot time, MySQL is being > > loaded but other packages which depend on MySQL, such as Apache and > > ICRADIUS, often fail. These packages are probably starting before MySQL > > finishes its initialization. > > I'm evoling away from this startup method, for the very reason you > describe. > > I've got a wad of startup scripts, that, among other things, use > lsof(8) to note when the application has opened a specific file. > Take the timing right out of the question. OK. Looking into this, but I just need to figure out which MySQL file(s) to run lsof against. It seems that most aren't open right after startup :-( But anyway, I think that I am getting closer to a better solution. Thanks, Kenn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message