Page 1 of 1

Apache: unable to gethostbyname

Posted: 2003-05-18 18:49
by stefan_w
Hallo

Beim Starten des Apaches bekomm ich folgende Fehlermeldung:
[Mon May 19 00:50:40 2003] [alert] mod_unique_id: unable to gethostbyname("debian4")
Was haut da nicht hin?

mfg, Stefan

Re: Apache: unable to gethostbyname

Posted: 2003-05-18 21:34
by captaincrunch
Der DNS-Lookup. Was steht in /etc/hosts, was gibt dir "hostname" zurück, gibt's einen DNS-Eintrag für die Kiste im LAN ?

Re: Apache: unable to gethostbyname

Posted: 2003-05-19 08:21
by stefan_w
/etc/hosts:

Code: Select all

127.0.0.1     localhost

# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)

::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

Und hostname gibt:
debian4

Es handelt sich um einen Server, den ich als Primary-Nameserver nehmen möchte. Es ist kein Rootie und OS ist Debian Woody.