Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Sep 2004 16:44:35 -0500
From:      Josh Paetzel <josh@tcbug.org>
To:        questions@freebsd.org
Cc:        Sujit Dey <sujit@rebaca.com>
Subject:   Re: can't start Apache 1.3 server in freeBSD 4.9 release #0
Message-ID:  <200409121644.35063.josh@tcbug.org>
In-Reply-To: <20040912162939.M96962@rebaca.com>
References:  <20040912160216.M11079@rebaca.com> <20040912162939.M96962@rebaca.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 12 September 2004 04:29, Sujit Dey wrote:
> After installing Apache 1.3, i was configuring in freeBSD following
> the procedure mentioned in FreeBSD Handbook( section 23.7 Apache
> HTTP Server). i've tried ServerName (in httpd.conf ) with
> localhost, 127.0.0.1, but using "/usr/local/sbin/apachectl start",
> can't start the Apache server. It is giving httpd can not be
> started. I followed same procedure in Windows and able to start
> Apache server. please help me or give me some clue for how to start
> the Apache server.
>
> httpd log file contails following entry...
> [alert] mod_unique_id: unable to gethostbyname()

Perhaps you need to set the machine's hostname?

hostname="some.fqdn.here" in /etc/rc.conf, or just using the hostname 
command from a shell as root.
-- 
Thanks,

Josh Paetzel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409121644.35063.josh>