apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: Fwd: Re: IPv6 broken with apr 1.4.4 / freebsd
Date Sat, 18 Jun 2011 12:51:14 GMT
On Fri, Jun 17, 2011 at 08:29:38PM +0000, Philip M. Gollucci wrote:
...
> >> # apachectl -t
> >> [Wed May 25 17:18:18 2011] [crit] (OS 1)Unknown host: alloc_listener:
> >> failed to set up sockaddr for [2001:x:x:x:x::1]
> >> Syntax error on line 41 of /usr/local/etc/apache22/httpd.conf:
> >> Listen setup failed

This error is from an apr_sockaddr_info_get() failure, not 
apr_socket_create() as suggested.  The reporting of errno 1 with that 
error is odd though.  I'd first check whether there is an issue with the 
resolver configuration, anyway.

The system call trace might be useful.

If you build http://people.apache.org/~jorton/gai.c, does it fail with 
either:

  ./gai 2001:...:1
  ./gai -a 2001:...:1

Regards, Joe

Mime
View raw message