Job for slapd.service failed because the control process exited with error code. See "systemctl stat

安装启动LDAP的时候如果报错

[root@cdh-server1 ~]# systemctl start slapd
Job for slapd.service failed because the control process exited with error code. See "systemctl status slapd.service" and "journalctl -xe" for details.

那么就是配置的时候配置有错误
请检查文件

[root@cdh-server1 ~]# vim /etc/openldap/slapd.d/cn=config/olcDatabase\=\{2\}hdb.ldif
[root@cdh-server1 ~]# vim /etc/openldap/slapd.d/cn=config/olcDatabase\=\{1\}monitor.ldif

你可能感兴趣的:(协议)