LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Apache gives [alert] mod_unique_id: unable to gethostbyname ("") (https://www.linuxquestions.org/questions/linux-networking-3/apache-gives-%5Balert%5D-mod_unique_id-unable-to-gethostbyname-216566/)

kerrymwarren 08-12-2004 03:23 AM

Apache gives [alert] mod_unique_id: unable to gethostbyname ("")
 
Hello all,

I've been trying to get Apache 1.3.27 up and running, but I keep hitting the same wall:

[alert] mod_unique_id: unable to gethostbyname("(none)")

I've tried to set the httpd.conf's ServerName to my ip addy, 12.202.7.100, but it isn't recognized. I've added the line 12.202.7.100 to my /etc/hosts and added the addy to my Listen line in my httpd.conf, and my hostname file is blank, as is evidenced by the (none). I don't have any exotic hardware, just an external cable modem that goes straight to eth0, and I'm running an otherwise well-behaved Slack 9.0. I can SSH into 12.202.7.100, so I know that I am up and on the network, I just can't seem to get the httpd server up. There have been several threads on Linuxquestions.org that have helped (the thread with postid=584485#post584485 was particularly informative, if not helpful), but most of those fixes have not helped.

Any help recieved will be greatly appreciated,

-K

chort 08-12-2004 09:30 PM

This doesn't appear to have anything to do with Wireless, so I'll put it in here.

kerrymwarren 08-13-2004 03:19 AM

Yes, thank-you; I did put it in the wrong forum.
-K

ugge 08-13-2004 05:01 PM

ServerName is used to set your servers name not it's IP.
Quote:

from http://httpd.apache.org/docs/mod/core.html#servername
Syntax: ServerName fully-qualified-domain-name
This problem is certainly a name lookup problem. See if you can resolve your ip address using nslookup your.dns.name.com


All times are GMT -5. The time now is 07:32 PM.