--On Tuesday, June 26, 2007 11:27 PM -0700 Russ Allbery <[EMAIL PROTECTED]> wrote:

retitle 416272 slapd: error "main: TLS init def ctx failed: -1" on start
tags 416272 -unreproducible
thanks

Mgr Peter Tuharsky <[EMAIL PROTECTED]> 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


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to