From owner-freebsd-questions Tue Nov 13 10:41: 0 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailf.telia.com (mailf.telia.com [194.22.194.25]) by hub.freebsd.org (Postfix) with ESMTP id 24D1737B416 for ; Tue, 13 Nov 2001 10:40:54 -0800 (PST) Received: from bossen (h139n2fls31o846.telia.com [217.208.108.139]) by mailf.telia.com (8.11.6/8.11.6) with ESMTP id fADIen627983; Tue, 13 Nov 2001 19:40:49 +0100 (CET) Date: Tue, 13 Nov 2001 19:43:57 +0100 (CET) From: Tor Stormwall X-X-Sender: To: Lee Mark Mercado Cc: Subject: Re: apachectl command not found In-Reply-To: Message-ID: <20011113194144.D16858-100000@bossen.myhome.my> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Hi! this may depend on how you "su" root. By only doing su to root wont get you root's whole PATH. You must specily like this when su:ing root: #$ su - root Password: Now you should have your programs in your PATH. > i su to the root to make my apache server restart but it seems i cant make > the command work. > > here's the error : > ---------------------------------------- > bash-2.05$ su > Password: > su-2.05# apachectl restart > su: apachectl: command not found > su-2.05# > ---------------------------------------- > im running 4.4Stable -- > ** also, almost all other commands that's exclusively accessed as a root > user is getting the same error. It works fine though if i directly login as > root. ** > > please help. thx > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > * - - - - - - - - - - - - - - - - - - - - - - - - - - - - * | M A Y T H E S O U R C E B E W I T H Y O U | | | | Tor Stormwall mailto:tor@stormwall.org | | http://www.creson.com/~tor | | | | http://www.sslug.dk http://www.stormwall.org | | http://www.FreeBSD.org http://www.muf.se | | | * - - - - - - - - - - - - - - - - - - - - - - - - - - - - * To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message