apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: Fwd: Re: IPv6 broken with apr 1.4.4 / freebsd
Date Sat, 18 Jun 2011 13:06:39 GMT
On Sat, Jun 18, 2011 at 8:51 AM, Joe Orton <jorton@redhat.com> wrote:
> 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.


server/log.c:

       else if (status < 100000 + APR_OS_START_SYSERR) {
            len += apr_snprintf(errstr + len, MAX_STRING_LEN - len,
                                "(OS %d)", status - APR_OS_START_SYSERR);
        }

h_errno values get mapped to "OS" errors in sockaddr.c; AFAICT EAI_
values do not

possibly we aren't using getaddrinfo()???

Mime
View raw message