Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

httpd won't run

Status
Not open for further replies.

JCDenton

Programmer
Jan 12, 2005
4
US
Hi, I am running suse 8.2 am put apache 2.0 on. I had apache 1.3.x that came with suse installed for a day, but took it off in favor of the new version. 1.3 did work.

Basically all I have done is this -

./configure
make
make install

and restarted.

httpd, httpd start, all that gives me "bash: httpd: command not found"

the same happens with the apachet1 script.

If I click on the executable in the browser it says "Couldn't find program "httpd""

No impact no idea.
 
Whenever I've installed Apache 2.0 from source, the application to start and shutdown the server has always been apachectl, found (on Fedora and RedHat boxes) in /usr/sbin



Want the best answers? Ask the best questions!

TANSTAAFL!!
 
apachectl is on /usr/local/apache2/bin. It too gives "command not found" when trying to run it any number of ways - 'apachetl', 'apachetl start', and clicking on it within the browser it says "couldn't find the program 'apachectl'"

Maybe I should just trash this 2.0 version and go back to 1.3
 
Have you tried specifying the path in the invokation of the script?

/usr/local/apache2/bin/apachectl start


this may not be a problem with the installation -- it could be that your search path doesn't include the directory.

Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Oops... Thanks that was it. I'm still learning the ins and outs of linux.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top