LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-13-2003, 08:00 AM   #1
Robin01
Member
 
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..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..
 
Old 09-13-2003, 08:22 AM   #2
pablob
Member
 
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:

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 ....................
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:08 AM.

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