From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 21:15:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF4E916A402 for ; Thu, 8 Mar 2007 21:15:18 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 8019413C46B for ; Thu, 8 Mar 2007 21:15:18 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l28LCKQX027780; Thu, 8 Mar 2007 16:12:20 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l28LCJ1W027779; Thu, 8 Mar 2007 16:12:19 -0500 (EST) (envelope-from jerrymc) Date: Thu, 8 Mar 2007 16:12:19 -0500 From: Jerry McAllister To: Drew Jenkins Message-ID: <20070308211219.GA27725@gizmo.acns.msu.edu> References: <20070308190551.GA27233@gizmo.acns.msu.edu> <39179.43061.qm@web62202.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <39179.43061.qm@web62202.mail.re1.yahoo.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 21:15:18 -0000 On Thu, Mar 08, 2007 at 01:07:10PM -0800, Drew Jenkins wrote: > #!/bin/sh > > if [ -n "$LD_LIBRARY_PATH" ] ; then > export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib/mysql" > echo "Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql because -n '$LD_LIBRARY_PATH' held true." >> /var/log/zz_mysql_start.log > else > export LD_LIBRARY_PATH="/usr/local/lib/mysql" > echo "Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql, -n '$LD_LIBRARY_PATH' did not hold true." >> /var/log/zz_mysql_start.log > fi > > cd /usr/local/zope/ > > if ./instance1/bin/zopectl stop ; then > echo "Stopping zopectl instance 1." >> /var/log/zz_mysql_start.log > fi > > if ./instance1/bin/zopectl start ; then > echo "Restarting zopectl instance 1." >> /var/log/zz_mysql_start.log > fi > > if ./instance2/bin/zopectl stop ; then > echo "Stopping zopectl instance 2." >> /var/log/zz_mysql_start.log > fi > > if ./instance2/bin/zopectl start ; then > echo "Restarting zopectl instance 2." >> /var/log/zz_mysql_start.log > fi > > > sleep 3 > echo "ending zz_mysql_start.sh at: `date`" >> /var/log/zz_mysql_start.log > echo " " >> /var/log/zz_mysql_start.log > > Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql, -n '/usr/local/lib/mysql' did not hold true. > Stopping zopectl instance 1. > Restarting zopectl instance 1. > Stopping zopectl instance 2. > Restarting zopectl instance 2. > ending zz_mysql_start.sh at: Thu Mar 8 14:57:47 UTC 2007 > > It kicked out that output when I tested it and also when I rebooted the server. However, Zope was still not up. I should qualify that. Zope "appears" to be up, but when I try to access it TTW (the ZMI) I can't reach the site. > TIA, > Drew Sounds like your problem is with Zope somewhere and not the startup script per se - though it could be something missing in the startup. I have never used Zope. ////jerry > > --------------------------------- > TV dinner still cooling? > Check out "Tonight's Picks" on Yahoo! TV. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >