From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 16:31:24 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 36EA416A403 for ; Thu, 8 Mar 2007 16:31:24 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62214.mail.re1.yahoo.com (web62214.mail.re1.yahoo.com [69.147.75.13]) by mx1.freebsd.org (Postfix) with SMTP id F18C013C494 for ; Thu, 8 Mar 2007 16:31:23 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 34932 invoked by uid 60001); 8 Mar 2007 16:31:23 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=UJ5W/GPbElfY72bViZmCpdaFlyz5WTwJKCBBzLjTchSDOjYrkFJmMP4zXcEBk+d+gPsqzksd5rgxZrABJMefZZehKQfnZ+xd6QEvcecuiG2rJOcf9LBjgj8ZmhfxpvqF+V6FA+xpOvlp3wamGEHH2EFdqplHyeFYu05GFUHu7E0=; X-YMail-OSG: Nq8IpAwVM1k1cjWHcV_.ReSjEd0eF3cikiO0mXQpc3_86GeVH8WAYkCd4J.9HY.eXw-- Received: from [66.82.9.43] by web62214.mail.re1.yahoo.com via HTTP; Thu, 08 Mar 2007 08:31:23 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Thu, 8 Mar 2007 08:31:23 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <343573.33221.qm@web62214.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 16:31:24 -0000 ----- Original Message ----=0AFrom: Garrett Cooper =0ATo: freebsd-questions@freebsd.org=0ASent: Thursday, March 8, 2007 11:= 09:13 AM=0ASubject: Re: Setting Env=0A=0A> Well, it's going to involve a bi= t more than that to get an rc script up =0A> and running I'm afraid.. the s= cript needs a start, stop, status =0A> functions, as well as a few others. = Some examples are in the /etc/rc.d =0A> and /usr/local/etc/rc.d directories= , as you've discovered.=0A>=0A> Given your output above, maybe you want to = add the LD_LIBRARY_PATH lines =0A> to the zopectl file?=0A=0ABrilliant! Why= doesn't *that* work?! This is crazy! I even added your little script and, = after it booted, tried running that directly (after stopping Zope) and it _= still_ didn't work! That makes no sense to me at all! I put together a litt= le script, as I stated earlier, that set the env, stopped and started my Zo= pe instances (calling on zopectl), and *that* worked, so why doesn't this w= ork?? That whole bin dir in Zope is owned by root, so how is running that s= cript different than, as root, setting the env? Insane!=0ADrew=0A=0A=0A=0A= =0A=0A=0A =0A______________________________________________________________= ______________________=0ANo need to miss a message. Get email on-the-go =0A= with Yahoo! Mail for Mobile. Get started.=0Ahttp://mobile.yahoo.com/mail