Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Feb 2000 22:31:15 -0500
From:      Kenn Martin <kmartin@infoteam.com>
To:        freebsd-isp@FreeBSD.ORG
Subject:   Re: controlling local boot sequence
Message-ID:  <20000201223115.A24239@infoteam.com>
In-Reply-To: <20000201194931.B3152@numachi.com>; from reichert@numachi.com on Tue, Feb 01, 2000 at 07:49:32PM -0500
References:  <20000201175018.A21189@infoteam.com> <20000201194931.B3152@numachi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000201223115.A24239>