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
[-- Attachment #1 --] 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. > > 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 it > works fine, problem gone. > > I'd like to make this problem go away. I suspect it has to do with the order > in which these apps start at boot time but I'm not sure. Can anyone suggest > 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. Of course, this will only be effective if indeed it is the order of execution that is causing your problems. -- Adam McLaurin <blueeskimo@gmx.net> [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQA/BepGWxHCbev227wRAiFPAJ9Wph/1i9rPIge/NpfWO8U0wdFHwACdGoQO bOR8xG8owZdYUdC9X3bkXfE= =ocx2 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1057352263.21820.48.camel>
