Hi,

For example:
When /etc/sysconfig/slapd contains:

SLAPD_URLS="ldapi:/// ldap://linux1014.ts.aa-srv.com/"

# Any custom options
SLAPD_OPTIONS="-4"

# Keytab location for GSSAPI Kerberos authentication
#KRB5_KTNAME="FILE:/etc/openldap/ldap.keytab"


systemctl start slapd fails

But with:
SLAPD_URLS="ldapi:/// ldap://linux1014.ts.aa-srv.com"

# Any custom options
SLAPD_OPTIONS="-4"

# Keytab location for GSSAPI Kerberos authentication
#KRB5_KTNAME="FILE:/etc/openldap/ldap.keytab"
  

It starts without any trouble.

I took me hours to find this :-(

Regards Hans


Op ma 12 aug. 2019 om 18:03 schreef Quanah Gibson-Mount <quanah@symas.com>:
--On Monday, August 12, 2019 12:38 PM +0200 HG <hanspeter.sloot@gmail.com>
wrote:

> When I stop and start the slapd service the latter fails with :
> Aug 12 11:33:17 ldap1.domain.com slapd[30972]: @(#) $OpenLDAP: slapd
> 2.4.44 (Jan 29 2019 10:05:51) $

It means that there is no match between what you defined as the URI's
associated with olcServerID and the -h argument to slapd, so it cannot link
a serverID to this instance of slapd.

--Quanah

--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>