Click to See Complete Forum and Search --> : Apache startup problem


robin1
09-13-2003, 08:58 AM
Hello everybody,

I'm new to Linxu and Apache...The problem i'm having is starting up apache.
I downloaded apache "httpd-2.0.47.tar.gz".. and used the following instructions to install apache..http://www10.brinkster.com/ssruprai/comphp.asp#introduction.

didn't have any problems installing apache.. no errer were report..
the instruction created a folder of the roor /wwwroot and placed all of the fiels and folders in it.

tried running apache from /wwwroot/bin using

apachectl start
and also apache start
and in each instant it displayed the message bash: apache: command not found.

alos tried apachectl stop and received the same message..
anyideas to what i did wrong..

Choozo
09-13-2003, 10:26 AM
Since your apache directory is not in your $PATH environment variable, you need to enter the full path to 'apachectl' - or go into the bin directory and dot-slash the file, e.g. ./apachectl start

robin1
09-13-2003, 04:45 PM
hi,

Learning and using RH 9.

When i installed RH i installed the apache server/httpserver withit

to learn the ins and outs of apache i found instruction on how to download , compile and install apache.

I uninstalled apache that was installed but not sure if i was %100 successfull but went ahead with the installation anyways...

according to the installation it was successfull.. i was ablel to stop and start apache...it installed to the /wwwroot.
when i tested it its going back to the original configuratoin or where i setup the test page the first time i installed apache and configuration..
how do i tell it to take the new configuratoin...

this is driving me nuts

not even sure if its loading it twice

Choozo
09-13-2003, 06:00 PM
Have a look in /etc/init.d/ and look for a file named httpd which is the startup/shutdown script for apache.
If that file is still there, have a look inside to see where it expects to find the apachectl executable, and edit the file to get the correct paths if they are wrong.

Also, this (http://www.e-gineer.com) site have instructions far better than the site you refered to in the original post.

Cheers :)