Failed to start OpenLDAP Server Daemon

[root@DEV openldap]# 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 一 2019-06-24 19:33:50 CST; 3min 50s ago
Docs: man:slapd
man:slapd-config
man:slapd-hdb
man:slapd-mdb
file:///usr/share/doc/openldap-servers/guide.html
Process: 41179 ExecStart=/usr/sbin/slapd -u ldap -h ${SLAPD_URLS} $SLAPD_OPTIONS (code=exited, status=1/FAILURE)
Process: 41164 ExecStartPre=/usr/libexec/openldap/check-config.sh (code=exited, status=0/SUCCESS)

6月 24 19:33:50 DEV-SupplyChain-App01 check-config.sh[41164]: Checking configuration file failed:
6月 24 19:33:50 DEV-SupplyChain-App01 check-config.sh[41164]: /etc/openldap/slapd.conf: line 132: index attribute "loginShell" undefined
6月 24 19:33:50 DEV-SupplyChain-App01 check-config.sh[41164]: slaptest: bad configuration file!
6月 24 19:33:50 DEV-SupplyChain-App01 slapd[41179]: @(#) $OpenLDAP: slapd 2.4.44 (Jan 29 2019 17:42:45) $
[email protected]:/builddir/build/BUILD/openldap-2.4.44/openldap-2.4.44/servers/slapd
6月 24 19:33:50 DEV-SupplyChain-App01 slapd[41179]: /etc/openldap/slapd.conf: line 132: index attribute "loginShell" undefined
6月 24 19:33:50 DEV-SupplyChain-App01 slapd[41179]: DIGEST-MD5 common mech free
6月 24 19:33:50 DEV-SupplyChain-App01 systemd[1]: slapd.service: control process exited, code=exited status=1
6月 24 19:33:50 DEV-SupplyChain-App01 systemd[1]: Failed to start OpenLDAP Server Daemon.
6月 24 19:33:50 DEV-SupplyChain-App01 systemd[1]: Unit slapd.service entered failed state.
6月 24 19:33:50 DEV-SupplyChain-App01 systemd[1]: slapd.service failed.

信息如上,有哪位大神能解嘛?

猜你喜欢

转载自www.cnblogs.com/stuka/p/11079056.html