Date: 04 Jul 2003 16:57:43 -0400 From: Adam McLaurin <blueeskimo@gmx.net> To: FreeBSD Q's <freebsd-questions@freebsd.org> Subject: Re: app startup on boot problem Message-ID: <1057352263.21820.48.camel@jake> In-Reply-To: <BB2B4F7D.3592D%list@zettai.net> References: <BB2B4F7D.3592D%list@zettai.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-6eDM3JaO3X9DVxIDWE/g Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2003-07-04 at 11:36, george donnelly wrote: > I have a server on which i run MySQL and Zope. I start MySQL from > /usr/local/etc/rc.d and zope from cron with an @reboot. Zope has a module > with let's it interface with MySQL. >=20 > The problem is that everytime i reboot Zope says that its connection to > MySQL is broken because it can't find libmysqlcient. I restart zope and i= t > works fine, problem gone. >=20 > I'd like to make this problem go away. I suspect it has to do with the or= der > in which these apps start at boot time but I'm not sure. Can anyone sugge= st > what I can look at to solve this? This might sound a little hackish, but I think it would work. Move the two startup scripts for Zope & MySQL *outside* of rc.d. Then, write a script in rc.d with start & stop targets, which execute/terminate Zope & MySQL in the order you prefer.=20 Of course, this will only be effective if indeed it is the order of execution that is causing your problems. --=20 Adam McLaurin <blueeskimo@gmx.net> --=-6eDM3JaO3X9DVxIDWE/g Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQA/BepGWxHCbev227wRAiFPAJ9Wph/1i9rPIge/NpfWO8U0wdFHwACdGoQO bOR8xG8owZdYUdC9X3bkXfE= =ocx2 -----END PGP SIGNATURE----- --=-6eDM3JaO3X9DVxIDWE/g--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1057352263.21820.48.camel>