FreeBSD 9.3, Apache 2.4 and IPv6 Issue. - MORE Progress Made

martin at martin at
Thu Jun 23 15:23:06 UTC 2016

So, it's not an IPv6 issue. It's like Apache is not recognizing anything
that is not an IP address or valid FQDN in the Listen directive.  For
example, I tried:

Listen asdjfljasdfljsljdfljsadjlljsdf:80

And I get the same error.  I tried:

Listen 2001:470:b008::2
Listen [2001:470:b008::2]80

Is not anyone else having this issue?

I can reverse DNS resolve the address 2001:470:b008::2 locally without a


> On Wed, Jun 22, 2016 at 07:39:58PM -0400, martin at wrote:
>> Well, made some progress.. services (Except apache) are indeed running
>> over IPv6.  All my DNS is fixed.  Forward and Reverse works locally for
>> IPv6 forward and reverse DNS resolution.
>> But still have not figured out that error below:
>> Performing sanity check on apache24 configuration:
>> [Wed Jun 22 19:36:37.057692 2016] [core:crit] [pid 3314] (EAI 8)hostname
>> nor servname provided, or not known: AH00077: alloc_listener: failed to
>> set up sockaddr for [2001:470:b008::2]
>> AH00526: Syntax error on line 54 of /usr/local/etc/apache24/httpd.conf:
>> Listen setup failed
> Did you specify a fully qualified hostname to any ServerName directives?
> Did you put the IPv6 address in [brackets] on any Listen directives?
> --
> Kevin P. Neal                      
> "14. Re-reading No. 13, I realize that it's quite possible I'm losing my
> mind. I'm glad that for the most part I'm not aware it's happening."
>   -- from "20 things I'm thankful for": Fortune, Nov 29, 2004, page 230

More information about the freebsd-questions mailing list