Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-13-2003, 08:00 AM   #1
Registered: Aug 2003
Posts: 104

Rep: Reputation: 15
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..

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..
Old 09-13-2003, 08:22 AM   #2
Registered: Apr 2003
Location: Madrid
Distribution: RHEL, Kubuntu, Solaris, TRU64
Posts: 382

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


cd /usr/local/apache/bin
./apachectl start
./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

/etc/init.d/apache start
/etc/init.d/httpd start
/etc/rc3.d/apache start ....................


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache/1.3.31 (Unix) Startup, NEED help w0lv3rin3 Linux - Software 1 10-24-2004 11:11 AM
Automatic Startup of Apache m2azer Linux - General 6 09-20-2004 07:39 AM
apache startup dmedici *BSD 5 03-23-2004 12:18 PM
apache benchmarks (apache v13 / apache v20) ; large differences between benchmarking markus1982 Linux - Software 0 02-08-2003 10:53 AM
Apache on startup mikeshn Linux - Software 7 09-22-2002 03:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration