From owner-freebsd-questions@FreeBSD.ORG Fri Jul 4 13:56:53 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 0DF2737B401 for ; Fri, 4 Jul 2003 13:56:53 -0700 (PDT) Received: from mta5.adelphia.net (mta5.adelphia.net [64.8.50.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 583FB43FEC for ; Fri, 4 Jul 2003 13:56:52 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com ([24.53.179.151]) by mta5.adelphia.net (InterMail vM.5.01.05.32 201-253-122-126-132-20030307) with ESMTP id <20030704205651.JSFM16480.mta5.adelphia.net@potentialtech.com>; Fri, 4 Jul 2003 16:56:51 -0400 Message-ID: <3F05EA13.9020805@potentialtech.com> Date: Fri, 04 Jul 2003 16:56:51 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030429 X-Accept-Language: en-us, en MIME-Version: 1.0 To: george donnelly References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD Q's 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:56:53 -0000 george donnelly wrote: > hi > > 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? Perhaps create a script in /usr/local/etc/rc.d that starts both mysql and Zope, but in that order, and with a short sleep(1) between. -- Bill Moran Potential Technologies http://www.potentialtech.com