Date: Tue, 13 Nov 2001 19:43:57 +0100 (CET) From: Tor Stormwall <tor@agent.creson.com> To: Lee Mark Mercado <mercadolee@hotmail.com> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: apachectl command not found Message-ID: <20011113194144.D16858-100000@bossen.myhome.my> In-Reply-To: <F38dxyscXIW6Jm3pHTo00005b51@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011113194144.D16858-100000>