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

Re: main: TLS init def ctx failed: -1



Am Thu, 26 Feb 2015 20:53:22 +0000
schrieb jeevan kc <jeev_biz@hotmail.com>:

> Hi all,I followed the TLS directives and was able to generate cacert,
> servercert and server key and also sign it. I also did the
> configuration o   to /usr/local/etc/openldap/slapd.d/cn=config.ldif:
> 
> §  olcTLSCACertificateFile:
> /usr/local/etc/openldap/cacert.pem
> 
> §  olcTLSCertificateFile:
> /usr/local/etc/openldap/servercrt.pem
> 
> §  olcTLSCertificateKeyFile:
> /usr/local/etc/openldap/serverkey.pem  Everything was working fine
> but when I shut down slapd, it doesn't start and gives me this error
> daemon: IPv6 socket() failed errno=97 (Address family not supported
> by protocol)Feb 26 15:28:56 lap00551 slapd[14775]: main: TLS init def
> ctx failed: -1 Can Someone please tell me what the error is and how I
> fix the issue? Thanks Jeevan 

It seems your openldap version has not been build for ipv6 but your
network provides ipv6.

-Dieter

-- 
Dieter Klünter | Systemberatung
http://sys4.de
GPG Key ID: E9ED159B
53°37'09,95"N
10°08'02,42"E