[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: errno=97




> I tried to install openldap 2.1.5, 2.1.4, 2.0.25 and 2.0.27
>
> in the last 2 versions, i got this error:
>
> root@pampo:/usr/local# libexec/slapd -d 4
> daemon_init: <null>
> daemon: socket() failed errno=97 (Address family not supported by
> protocol)
> backend_startup: bi_open 0 failed!
> slapd stopped.
> connections_destroy: nothing to destroy.



The errno=97 shows up on my slapd startup as well, but doesn't affect the
operation. You need to find out why bi_open fails. It's in backend.c in
the slapd source, and it depends on what flavor backend it was trying to
open. I'd use a debugger (e.g. gdb) to trace through the call

                if ( be->bd_info->bi_open ) {
                        rc = be->bd_info->bi_open( be->bd_info );
                }

in backend.c in backend_startup().



  -Mark Adamson
   Carnegie Mellon