LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   apache, cant startup apache (https://www.linuxquestions.org/questions/linux-newbie-8/apache-cant-startup-apache-92310/)

Robin01 09-13-2003 08:00 AM

apache, cant startup apache
 
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...p#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..

pablob 09-13-2003 08:22 AM

Looks like a PATH problem.
Find apache 'bin' directory, cd into it and try again:

I.e.:

cd /usr/local/apache/bin
./apachectl start
or
./httpd (not 'apache' !!)


(note the dot and slash (./) before the command. This is to say "hey, the command I want to run is in the directory I am within". Security stuff, never mind.)

Or search for an "init script" within /etc/init.d or /etc/rc3.d

I.e.:
/etc/init.d/apache start
or
/etc/init.d/httpd start
or
/etc/rc3.d/apache start ....................


All times are GMT -5. The time now is 10:16 PM.