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

Re: OpenLDAP not starting using "systemctl start" but runs fine invoking slapd directly



Michael.Haertel@t-systems.com wrote:
> My OpenLDAP starts fine using “slapd -d -1 -F /etc/openldap/slapd.d”. Everything is OK
> if I start the service using that command.

Good.

> But if I try to use the service “/bin/systemctl start  slapd.service” it fails to
> start.
> 
> “/bin/systemctl start  slapd.service Job for slapd.service failed because the control
> process exited with error code. See "systemctl status slapd.service" and "journalctl
> -xe" for details.”
> 
> The output of “systemctl status slapd.service”:
> [..]
> Process: 45146 ExecStart=/usr/sbin/slapd -u ldap -h ${SLAPD_URLS} $SLAPD_OPTIONS
> (code=exited, status=1/FAILURE)
> [..]
> Where does the script take “${SLAPD_URLS}” and “$SLAPD_OPTIONS” from?

Maybe I missed it but what's your OS?

In general something like this depends on the Linux distribution and the OpenLDAP package
you're using.

Ciao, Michael.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature