Не запускается ldap

Принудительно можно запустить с помощью команды:
/usr/sbin/slapd -d 1
или
slapd -d -1 -F /etc/openldap/slapd.d ldap start

2 коментарі до “Не запускается ldap”

  1. [root@localhost ~]# systemctl status slapd.service
    ● slapd.service – OpenLDAP Server Daemon
    Loaded: loaded (/usr/lib/systemd/system/slapd.service; enabled; vendor preset: disabled)
    Active: failed (Result: exit-code) since Sat 2017-11-04 18:16:06 EDT; 12s ago
    Docs: man:slapd
    man:slapd-config
    man:slapd-hdb
    man:slapd-mdb
    file:///usr/share/doc/openldap-servers/guide.html
    Process: 1701 ExecStart=/usr/sbin/slapd -u ldap -h ${SLAPD_URLS} $SLAPD_OPTIONS (code=exited, status=1/FAILURE)
    Process: 1686 ExecStartPre=/usr/libexec/openldap/check-config.sh (code=exited, status=0/SUCCESS)

    Nov 04 18:16:06 localhost.localdomain slapcat[1694]: could not stat config file “/etc/openldap/slapd.conf”: No such file or directory (2)
    Nov 04 18:16:06 localhost.localdomain slapd[1701]: @(#) $OpenLDAP: slapd 2.4.44 (Aug 4 2017 14:23:27) $
    mockbuild@c1bm.rdu2.centos.org:/builddir/build/BUILD/openldap-2.4.44/openldap-2.4.44/servers/slapd
    Nov 04 18:16:06 localhost.localdomain slapd[1701]: could not stat config file “/etc/openldap/slapd.conf”: No such file or directory (2)
    Nov 04 18:16:06 localhost.localdomain slapd[1701]: slapd destroy: freeing system resources.
    Nov 04 18:16:06 localhost.localdomain slapd[1701]: slapd stopped.
    Nov 04 18:16:06 localhost.localdomain slapd[1701]: connections_destroy: nothing to destroy.
    Nov 04 18:16:06 localhost.localdomain systemd[1]: slapd.service: control process exited, code=exited status=1
    Nov 04 18:16:06 localhost.localdomain systemd[1]: Failed to start OpenLDAP Server Daemon.
    Nov 04 18:16:06 localhost.localdomain systemd[1]: Unit slapd.service entered failed state.
    Nov 04 18:16:06 localhost.localdomain systemd[1]: slapd.service failed.

Залишити відповідь