Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Oct 2001 09:06:01 +0200
From:      "Patrick O'Reilly" <patrick@mip.co.za>
To:        "george" <george@vagner.com>
Cc:        <questions@FreeBSD.ORG>
Subject:   RE: apache.sh PREFIX problem
Message-ID:  <NDBBIMKICMDGDMNOOCAIMEGJDKAA.patrick@mip.co.za>
In-Reply-To: <20011010102624.A8929@jonc.itouch>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <jonathan.chen@itouch.co.nz>
> > To: "george" <george@vagner.com>
> > Cc: <questions@freebsd.org>
> > 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




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