From owner-freebsd-questions Wed Oct 10 0: 3:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mip.co.za (puck.mip.co.za [209.212.106.44]) by hub.freebsd.org (Postfix) with ESMTP id 7F89037B40B for ; Wed, 10 Oct 2001 00:03:09 -0700 (PDT) Received: from patrick (patrick.mip.co.za [10.3.13.181]) by mip.co.za (8.9.3/8.9.3) with SMTP id JAA95842; Wed, 10 Oct 2001 09:02:39 +0200 (SAST) (envelope-from patrick@mip.co.za) From: "Patrick O'Reilly" To: "george" Cc: Subject: RE: apache.sh PREFIX problem Date: Wed, 10 Oct 2001 09:06:01 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <20011010102624.A8929@jonc.itouch> Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Or, what I sometimes do if I'm already at /usr/local/etc/rc.d, then I do: # `pwd`/apache.sh start ... just a shorthand way of getting the full path. Patrick. > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Jonathan Chen > Sent: 09 October 2001 23:26 > To: george > Cc: questions@FreeBSD.ORG > Subject: Re: apache.sh PREFIX problem > > > On Tue, Oct 09, 2001 at 02:14:01PM -0700, george wrote: > > ----- Original Message ----- > > From: "Jonathan Chen" > > To: "george" > > Cc: > > Sent: Tuesday, October 09, 2001 1:35 PM > > Subject: Re: apache.sh PREFIX problem > > > > > > > On Tue, Oct 09, 2001 at 01:29:06PM -0700, george wrote: > > > > I can start apache manually but my installled apache.sh > wont start it > > > > it pukes on > > > > > > > > laptop# ./apache.sh > > > > ./apache.sh: Cannot determine the PREFIX > > > > laptop# > > > > > > Don't use "./apache.sh", use "/usr/local/etc/rc.d/etc/apache.sh" > > > > I dont have that directory I am involking it from within > /usr/local/etc/rc.d > > by doing > > ./apache.sh > > > > Oops. I meant "/usr/local/etc/rc.d/apache.sh" > > You have to use a absolute pathed name, and not a relative pathed one. > > Cheers. > -- > Jonathan Chen Once is dumb luck. > Twice is coincidence. > Three times and Somebody Is Trying To Tell You Something. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message