Apache appears to not really be starting?

Robert Huff roberthuff at rcn.com
Wed Mar 15 03:53:54 UTC 2006


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





More information about the freebsd-questions mailing list