LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-27-2001, 01:55 PM   #1
Ruth
LQ Newbie
 
Registered: Feb 2001
Posts: 8

Rep: Reputation: 0

I am trying to configure apache to run. I am using red hat 6.2. It is already installed but it will not run. What files do I need to edit or do I need to edit any?
 
Old 02-27-2001, 01:58 PM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,584

Rep: Reputation: 4058Reputation: 4058Reputation: 4058Reputation: 4058Reputation: 4058Reputation: 4058Reputation: 4058Reputation: 4058Reputation: 4058Reputation: 4058Reputation: 4058
You need to open up httpd.conf and define a ServerName.
 
Old 02-27-2001, 03:44 PM   #3
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
running apache

Jeremy is right. Does it give you an error on boot up that says something like "Could not determine host name, use Servername directive to fix" or something like that?

If so, then just edit the httpd.conf file as Jeremy said. There should be a line commented out that says

#ServerName localhost

I usually just remove the '#' and replace the word 'localhost' with the server's IP address or registered domain name.

 
Old 02-27-2001, 06:45 PM   #4
Ruth
LQ Newbie
 
Registered: Feb 2001
Posts: 8

Original Poster
Rep: Reputation: 0
Still no luck

Kevin,
I entered the IP address in and it still does not work. Any ideas for what else might be causing it not to work.
 
Old 02-27-2001, 08:36 PM   #5
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,584

Rep: Reputation: 4058Reputation: 4058Reputation: 4058Reputation: 4058Reputation: 4058Reputation: 4058Reputation: 4058Reputation: 4058Reputation: 4058Reputation: 4058Reputation: 4058
Giving us the error message you are getting would be helpful.
 
Old 02-28-2001, 10:41 AM   #6
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
More details

Please... more detailed error messages.


Did you do a:

"service httpd restart"

after editing and saving the file? Or maybe a reboot?

(P.S. Does anyone know if that command I quoted above is Redhat specific? That's all I use now, but I don't want to confuse someone that doesn't)
 
Old 03-26-2001, 07:24 AM   #7
Pain in the..........
LQ Newbie
 
Registered: Mar 2001
Location: Norwich
Posts: 2

Rep: Reputation: 0
Thumbs up Restarting Apache

KevinJ

with SuSE I use /sbin/init.d/apache restart

don't answer your question but may help Ruth!!!
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to start apache : Apache does not appear to be running : number11 Slackware 9 02-11-2005 10:51 AM
How to tell what Apache is running as? cadkins Linux - Newbie 2 11-09-2004 12:06 PM
Building and Running Apache j03 Mandriva 8 12-21-2003 02:32 PM
is apache running? pcdebb Programming 6 12-17-2003 03:26 AM
running apache gtgoku Slackware 1 10-29-2003 09:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:39 PM.

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