LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-24-2003, 12:55 AM   #1
FNC
Member
 
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140

Rep: Reputation: 15
Unhappy Apache won't start


Hi, I just installed redhat8, minimal installed and then installed apache. The problem is apache won't start.
When i run "apachectl start" it looks like it start but it does not. There is no httpd pid running. I don't get any error messages.

Any ideas?
 
Old 06-24-2003, 02:23 AM   #2
Evilone
Member
 
Registered: Oct 2002
Location: UK
Distribution: Slack 9.1 (2.6.5)
Posts: 307

Rep: Reputation: 30
yeah , log files...

Look under /var/log/messages or if not one of the apache logfiles.
These could be in a number of places depending on your distro, not sure about Mandrake.
 
Old 06-24-2003, 02:30 AM   #3
FNC
Member
 
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140

Original Poster
Rep: Reputation: 15
This is what I got in error_log

[Tue Jun 24 08:24:27 2003] [alert] (22002)Name or service not known: mod_unique_id: unable to find IPv4 address of "localhost"
Configuration Failed

What does it mean?
 
Old 06-24-2003, 02:52 AM   #4
FNC
Member
 
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140

Original Poster
Rep: Reputation: 15
Talking

Ok, I got it working.

There was a problem in "/etc/hosts"

Thanks for the help.
 
Old 06-24-2003, 02:55 AM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Did you edit/modify your httpd.conf file at all? You'll need to tailor it to your needs, such as your IP that your serving files from.

There is a great guide to that on apache's site:
www.apache.org
However if you get lost (or if you have already done this) post back with any questions you have about it.

As I see it, apache is looking for your IP, but you've supplied localhost instead.

Cool
 
Old 06-24-2003, 03:04 AM   #6
Evilone
Member
 
Registered: Oct 2002
Location: UK
Distribution: Slack 9.1 (2.6.5)
Posts: 307

Rep: Reputation: 30
logfiles usually hold the key.. Nice work FNC
 
Old 06-24-2003, 03:17 AM   #7
FNC
Member
 
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140

Original Poster
Rep: Reputation: 15
Ok, I now have a little different problem, maybe you can help.

This Linux box is on a win2000 domain. I can ping the ip from any pc, but not the pcname. From the linux box i can ping any pc by it's pc name. Where would I bind the linux pc name to it's IP?
Do I need to configure it on the DNS on WINS server?
 
Old 06-24-2003, 03:38 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You were there:
/etc/hosts

You can set it up as:
1.2.3.4 linux-fire

Assuming IP 1.2.3.4 and linux-fire are the IP and name of the box.

Cool
 
Old 06-25-2003, 02:37 AM   #9
Evilone
Member
 
Registered: Oct 2002
Location: UK
Distribution: Slack 9.1 (2.6.5)
Posts: 307

Rep: Reputation: 30
If your part of a larger company domain, then yes, you will need to add the IP and name to the domains DNS server. I'm assuming your using the DNS servers IP as your DNS lookup server. My setup here is the same, and any new linux box, as well as editing /etc/hosts i have to add it to the main DNS box.
 
Old 06-25-2003, 02:50 AM   #10
FNC
Member
 
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140

Original Poster
Rep: Reputation: 15
Thanks, thats what i thought
 
  


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
Failed to start apache : Apache does not appear to be running : number11 Slackware 9 02-11-2005 09:51 AM
apache can't start akbar_nasr Linux - Software 2 07-13-2004 03:29 PM
can't get SSLl working on Apache. Apache won't start bentman78 Linux - Software 1 08-10-2003 06:17 PM
Apache 2.0.45 does not start arkopolo Linux - Software 1 07-08-2003 12:52 PM
apache won't start at all... ctzimmerman Linux - Networking 3 06-01-2001 09:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:32 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