From owner-freebsd-questions Tue Oct 9 19: 0:37 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 5206537B406 for ; Tue, 9 Oct 2001 19:00:34 -0700 (PDT) Received: (from dan@localhost) by dan.emsphone.com (8.11.6/8.11.6) id f9A20Qq58479; Tue, 9 Oct 2001 21:00:26 -0500 (CDT) (envelope-from dan) Date: Tue, 9 Oct 2001 21:00:26 -0500 From: Dan Nelson To: Jonathan Chen Cc: george , questions@FreeBSD.ORG Subject: Re: apache.sh PREFIX problem Message-ID: <20011009210026.B41739@dan.emsphone.com> References: <000801c15101$138dc5c0$0100a8c0@thunderbird> <20011010093500.F8488@jonc.itouch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011010093500.F8488@jonc.itouch> User-Agent: Mutt/1.3.22.1i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error 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 In the last episode (Oct 10), Jonathan Chen said: > 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" This is a bug in apache.sh, which should be using /bin/realpath to expand $0 to an absolute path. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message