LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-09-2002, 12:34 AM   #1
grim57
LQ Newbie
 
Registered: Jun 2002
Location: Houston
Distribution: Red Hat 8.0
Posts: 10

Rep: Reputation: 0
Apache Help


I am running red hat 8 and everything is great, but my httpd won't start and I am not sure why. The error log states:

[alert] (22002)Name or service not known: mod_unique_id: unable to find IPv4 address of "dhcppc9"

I have an ip address, though it is dynamically assigned . Will this cause a conflict? Any help would be appreciated. Thanks!
 
Old 10-09-2002, 05:59 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Try if adding the entry (w/o quotes) "0.0.0.0 dhcpp9" in your /etc/hosts works, then restart the /etc/initd./network works.
 
Old 10-09-2002, 10:25 PM   #3
grim57
LQ Newbie
 
Registered: Jun 2002
Location: Houston
Distribution: Red Hat 8.0
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks a bunch for your help!

That entry into the hosts file worked like a charm. I can now reference my site by typing "dhcppc9" in my browser. I am not sure I understand why it worked though. Why would a ip address of 0.0.0.0 allow my httpd service to start?

This is also probably a stupid question, but where did "dhcppc9" come from? Does it mean the 9th pc on DHCP?.

I also put an entry for localhost in there with an ip of 127.0.0.1 so I can also use localhost to access my test pages. I am psyched, things are beginning to come together for me!
 
Old 03-12-2003, 09:06 PM   #4
sickboylives
Member
 
Registered: Mar 2003
Location: Cambridge, Ohio, USA
Distribution: Slackware 11.0, FreeBSD 6.2
Posts: 98

Rep: Reputation: 15
Before moving to this town, I was using dialup. Given that finding packages on the net using dialup sucks bigtime, I used Windows 2000 Server. When I came to town and got on cable, I immediately jumped back to Linux, specifically RH8.0. For a long time, everything was fine. My hostname resolved to "d22-55-33-88.hostname.hostname.com" (numbers and hostnames changed to protect the innocent, of course).

One morning, I woke up to find my machine offline due to my cable ISP redoing something or other overnight. The machine had completely locked for some reason. I rebooted to find that my hostname had been changed from blah.blah.blah.com to simply... "alopa". Beats me as to why, but I noticed that I could not start httpd.

Your solution worked wonders, but I find myself wanting to know more... not just that it works, but WHY. Could you share this info?
 
  


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
Mail from Apache being rejected - Cannot route to sender apache@localhost.localdomain jimwillsher Linux - Networking 2 01-19-2006 12:41 AM
Apache 1.3.33 (debian built) and Apache SSL does not respond to the proper ports lqorg_user Linux - Networking 0 11-06-2005 04:11 PM
Strange apache trailing / problem - Slack-current, apache 1.3.33 vamp Linux - Networking 1 01-30-2005 07:28 PM
Apache Webserver 403 Forbidden Errors (User not in apache group?) Mankind75 Mandriva 4 07-08-2004 05:30 AM
apache benchmarks (apache v13 / apache v20) ; large differences between benchmarking markus1982 Linux - Software 0 02-08-2003 10:53 AM

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

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