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! |
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.
|
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! :D |
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? |
All times are GMT -5. The time now is 08:06 AM. |