Web Servers on Unix and Linux - Apache 2.0 - bin there, won't execute.

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > February 2005 > Apache 2.0 - bin there, won't execute.





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Apache 2.0 - bin there, won't execute.
rkitecsure@gmail.com

2005-02-23, 8:46 pm

downloaded, configured, made, made install and customized. Everything
went fine, then I tested. "$apachectl start" returns "bash: apachectl:
command not found." I"m in the directory containing apachectl, ls
shows it. None of the binaries in the directory work. Any ideas?
(I've tried in root with the same results.)

Thanks for you time.

rkitecsure@hotmail.com

David Dorward

2005-02-24, 2:47 am

rkitecsure@gmail.com wrote:

> downloaded, configured, made, made install and customized. Everything
> went fine, then I tested. "$apachectl start" returns "bash: apachectl:
> command not found." I"m in the directory containing apachectl, ls
> shows it. None of the binaries in the directory work. Any ideas?
> (I've tried in root with the same results.)


If you wish to execute a binary it must either (a) Exist in one of the
directories in your $PATH enviroment variable or (b) be specified by a path
to the binary rather then its name alone. The current directory (".") is
not typically in the $PATH. Try ./apachectl instead.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com