Subject: Re: httpd: cannot determine local host name
To: Hubert Feyrer <email@example.com>
From: David Brownlee <firstname.lastname@example.org>
Date: 09/08/1998 14:30:12
I understood that FQDNs should be specified in /etc/hosts (at
least as an alias)?
-=- Maybe your misinterpretation of my actions is
in conflict with your misconception of who I am -=-
On Sat, 5 Sep 1998, Hubert Feyrer wrote:
> Good evening,
> Installing the apache pkg and starting like suggested
> doesn't work without tweaking some files first:
> miyu# /usr/pkg/sbin/apachectl start
> httpd: cannot determine local host name.
> Use ServerName to set it manually.
> /usr/pkg/sbin/apachectl start: httpd could not be started
> I'm running a DNS on this machine, and /etc/hosts only
> has the hostname without domain listed:
> 10.0.0.3 miyu ns www www-proxy irc news
> If I add the FQDN, this works. Can we fix this somehow
> (maybe by not adding a '#' in front of the ServerName in
> httpd.conf that's determined correctly)?
> The right solution (to me) would be to fix apache here,
> but i guess that's beyond our scope.
> - Hubert
> Hubert Feyrer <email@example.com>