From owner-freebsd-questions@FreeBSD.ORG Fri Jul 4 13:57:44 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18AE537B401 for ; Fri, 4 Jul 2003 13:57:44 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id DC3FB43F93 for ; Fri, 4 Jul 2003 13:57:42 -0700 (PDT) (envelope-from blueeskimo@gmx.net) Received: (qmail 18785 invoked by uid 65534); 4 Jul 2003 20:57:41 -0000 Received: from dsl-cust-145.openweb.ca (EHLO [64.39.186.145]) (64.39.186.145) by mail.gmx.net (mp010) with SMTP; 04 Jul 2003 22:57:41 +0200 From: Adam McLaurin To: FreeBSD Q's In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-6eDM3JaO3X9DVxIDWE/g" Message-Id: <1057352263.21820.48.camel@jake> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.0 Date: 04 Jul 2003 16:57:43 -0400 Subject: Re: app startup on boot problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jul 2003 20:57:44 -0000 --=-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 --=-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--