Re: Apache
On: Wed, 10 Jun 1998 14:42:21 +0700 Michael Acklin writes:
>
> Hello,
> I have just installed Apache Web Server and keep getting the same message
> I try to start the server. What do I need to do get the server working.
> Here is the error.log
>
> [Wed Jun 10 13:59:35 1998] [alert] mod_unique_id: unable to
> gethostbyname("debian")
> [Wed Jun 10 14:08:11 1998] [alert] mod_unique_id: unable to
> gethostbyname("debian")
> [Wed Jun 10 14:08:31 1998] [alert] mod_unique_id: unable to
> gethostbyname("debian")
> [Wed Jun 10 14:09:44 1998] [alert] mod_unique_id: unable to
> gethostbyname("debian")
> [Wed Jun 10 14:10:40 1998] [alert] mod_unique_id: unable to
> gethostbyname("debian")
> [Wed Jun 10 14:17:51 1998] [alert] mod_unique_id: unable to
> gethostbyname("debian")
> [Wed Jun 10 14:30:12 1998] [alert] mod_unique_id: unable to
> gethostbyname("debian")
>
> I checked my hostname file and it has this entry: "debian". What am
> I supposed to put there? Any help with this from someone running
> Apache would be greatly appreciated.
It seems to be the famous "Cannot determine hostname" problem.
Check the contents of your /etc/hosts and /etc/host.conf files.
/etc/hosts should contain your ip-address and your fully qualified
hostname and /etc/host.conf should contain a line like "order hosts,
bind". If you have a libc6 system, check the /etc/nsswitch.conf for a
line like "hosts: files dns".
hostname -f should return your full hostname, on my system I get the
(unofficial) name marvin.bln.de. My /etc/hosts contains the following
line:
127.0.0.1 marvin.bln.de marvin localhost
as I'm only using the loopback interface.
Torsten
--
Whenever a system becomes completely defined, some damn fool discovers
something which either abolishes the system or expands it beyond recognition.
Fortune Cookie
PGP Public key available
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to:
- Follow-Ups:
- Re: Apache
- From: Harry Tuttle <htuttle@samson.ml.org>