Wouldn't sbin be in the root's path by default?

On 4/20/06, Mark Carlson <[EMAIL PROTECTED]> wrote:
On 4/19/06, Mitchell Brown <[EMAIL PROTECTED] > wrote:
> service httpd start
> didn't work. service not found.
>
> plus, in system-config-services there was no apache2 apache or httpd to
> start.

If you are looking for a binary, my preferred method is to do:

locate apache | grep bin

You should get output that looks like this:

/usr/bin/apachetop
/usr/sbin/apache2ctl
/usr/sbin/apache2logserverstatus
/usr/sbin/apache2splitlogfile
/usr/sbin/apache2

Also, make sure you 'su' (or log in as root if you're feeling lucky)
to try to run apachectl.  If the apache2ctl shows up in a "locate"
command but you aren't able to run it, try this: "echo $PATH" and make
sure that, in this case, /usr/sbin is in the $PATH.  If not, use the
full path name to start apachectl.  In my case that would be:
"/usr/sbin/apache2ctl start"

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines ( http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to