[Pkg-openldap-devel] Bug#416272: Bug#416272: Bug#416272: slapd -distributional script not working

Quanah Gibson-Mount quanah at zimbra.com
Wed Jun 27 07:26:49 UTC 2007


--On Tuesday, June 26, 2007 11:27 PM -0700 Russ Allbery <rra at debian.org> 
wrote:

> retitle 416272 slapd: error "main: TLS init def ctx failed: -1" on start
> tags 416272 -unreproducible
> thanks
>
> Mgr Peter Tuharsky <tuharsky at misbb.sk> writes:
>
>> Hi,
>
>> I tested the script again with NO success.
>> slapd version: 2.3.30-2
>
>> I set the ownership of /var/lib/ldap files to openldap.openldap, start
>> (as root) using
>> cd /etc/init.d
>> ./slapd start
>
>> however the distributional script just displays error and dosen't start
>> the slapd at all:
>
>> Starting OpenLDAP: slapd - failed.
>> The operation failed but no output was produced. For hints on what went
>> wrong please refer to the system's logfiles (e.g. /var/log/syslog) or
>> try running the daemon in Debug mode like via "slapd -d 16383" (warning:
>> this will create copious output).
>
> Sounds like the init script is working just fine; your server either has a
> configuration problem or something else is preventing TLS initialization
> from succeeding.

The error here indicates user error in configuring TLS in slapd.conf, and 
is not indicative of an error in the script.  Generally, check that all 
paths to the certs referenced are correct, and that the slapd user has 
permissions to read them.

--Quanah

--
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration




More information about the Pkg-openldap-devel mailing list