Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 2006 22:53:38 -0500
From:      Robert Huff <roberthuff@rcn.com>
To:        questions@freebsd.org
Subject:   Apache appears to not really be starting?
Message-ID:  <17431.36802.239965.138090@jerusalem.litteratus.org>
In-Reply-To: <1cac28080603141935q48acde39k694be538a9815de5@mail.gmail.com>
References:  <1cac28080603141935q48acde39k694be538a9815de5@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Huy Ton That writes:

>  apachectl -k start -f /usr/local/etc/apache22/httpd.conf

	First of all, this is - I believe - not the recommended way to
start apache.  Instaed use the script in /usr/local/etc/rc.d.

>  After doing a tail /var/log/httpd-error.log I get the following output:
>  
>  [Tue Mar 14 22:25:26 2006] [warn] Init: Session Cache is not configured
>  [hint: SSLSessionCache]
>  [Tue Mar 14 22:25:26 2006] [alert] (EAI 8)hostname nor servname provided, or
>  not known: mod_unique_id: unable to find IPv4 address of "Orestes.CASO"
>  Configuration Failed
>  [Tue Mar 14 22:26:32 2006] [warn] Init: Session Cache is not configured
>  [hint: SSLSessionCache]
>  [Tue Mar 14 22:26:32 2006] [alert] (EAI 8)hostname nor servname provided, or
>  not known: mod_unique_id: unable to find IPv4 address of "Orestes.CASO"
>  Configuration Failed
>  [Tue Mar 14 22:28:00 2006] [warn] Init: Session Cache is not configured
>  [hint: SSLSessionCache]
>  [Tue Mar 14 22:28:00 2006] [alert] (EAI 8)hostname nor servname provided, or
>  not known: mod_unique_id: unable to find IPv4 address of "Orestes.CASO"
>  Configuration Failed
>  
>  Also I've tried replacing 127.0.0.1 with the the ip address for
>  the incoming connection nic card and I receive the same results.
>  
>  Would anyone have any clues as to what I may be missing?

	You mean like this?

[Mon Mar 13 11:07:53 2006] [alert] (EAI 8)hostname nor servname
provided, or not known: mod_unique_id: unable to find IPv4 address
of "jerusalem.litteratus.org" Configuration Failed 

	This happened after upgrading to:

FreeBSD 7.0-CURRENT #0: Mon Mar 13 09:23:39 EST 2006

	Two suggestions:
	1) check that all interfaces apache is supposed to be listening
on exist.  For some reason one of mine didn't.
	2) make sure your hostname is DNS-resolvable.  (Even if this is
not visible to the Internet, it still needs to reaolve.)


				Robert Huff






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