Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jul 2003 16:56:51 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        george donnelly <list@zettai.net>
Cc:        FreeBSD Q's <freebsd-questions@freebsd.org>
Subject:   Re: app startup on boot problem
Message-ID:  <3F05EA13.9020805@potentialtech.com>
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
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



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