Date: Tue, 1 Feb 2000 19:49:32 -0500 From: Brian Reichert <reichert@numachi.com> To: Kenn Martin <kmartin@infoteam.com> Cc: freebsd-isp@FreeBSD.ORG Subject: Re: controlling local boot sequence Message-ID: <20000201194931.B3152@numachi.com> In-Reply-To: <20000201175018.A21189@infoteam.com>; from kmartin@infoteam.com on Tue, Feb 01, 2000 at 05:50:18PM -0500 References: <20000201175018.A21189@infoteam.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. Chucking in a 'sleep 10' or the like doesn't scale... -- Brian 'you Bastard' Reichert reichert@numachi.com 37 Crystal Ave. #303 Daytime number: (781) 899-7484 x704 Derry NH 03038-1713 USA Intel architecture: the left-hand path To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000201194931.B3152>