Apache: unable to gethostbyname

Apache, Lighttpd, nginx, Cherokee
Post Reply
stefan_w
Posts: 48
Joined: 2002-11-09 09:32
 

Apache: unable to gethostbyname

Post 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
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
 

Re: Apache: unable to gethostbyname

Post 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 ?
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
stefan_w
Posts: 48
Joined: 2002-11-09 09:32
 

Re: Apache: unable to gethostbyname

Post 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.
Post Reply