我已经在我的cetos7服务器上安装了ldaps并尝试为用户提供委托访问权限,同时我发现位置/etc/openldap/slapd.d中缺少'olcDatabase = {2} hdb.ldif'文件/ cn \ = config当我尝试重启slapd服务时,我收到以下错误"**Job for slapd.service failed because the control process exited with error code. See "systemctl status slapd.service" and "journalctl -xe" for details.**"
当我检查slapd状态时,我收到以下错误
***slapd.service - OpenLDAP Server Daemon
Loaded: loaded (/usr/lib/systemd/system/slapd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2016-12-30 17:22:27 UTC; 7min ago
Docs: man:slapd
man:slapd-config
man:slapd-hdb
man:slapd-mdb
file:///usr/share/doc/openldap-servers/guide.html
Process: 26082 ExecStart=/usr/sbin/slapd -u ldap -h ${SLAPD_URLS} $SLAPD_OPTIONS (code=exited, status=1/FAILURE)
Process: 26068 ExecStartPre=/usr/libexec/openldap/check-config.sh (code=exited, status=0/SUCCESS)
Main PID: 21135 (code=killed, signal=ABRT)
pam_unix(runuser:session): session opened for user ldap by (uid=0)
check-config.sh[26068]: Checking configuration file failed:
check-config.sh[26068]: 586697d3 ldif_read_file: checksum error on "/etc/openldap/slapd.d/cn=config/olcDatabase={0}config.ldif"
check-config.sh[26068]: 586697d3 olcSuffix: value #0: <olcSuffix> namingContext "dc=blue,dc=com" already served by a preceding hdb database serving namingContext "dc=blue,dc=com"
check-config.sh[26068]: 586697d3 config error processing olcDatabase={3}hdb,cn=config: <olcSuffix> namingContext "dc=blue,dc=com" already served by a preceding hdb database
check-config.sh[26068]: slaptest: bad configuration file!
systemd[1]: slapd.service: control process exited, code=exited status=1
systemd[1]: Failed to start OpenLDAP Server Daemon.
systemd[1]: Unit slapd.service entered failed state.
systemd[1]: slapd.service failed.***
如果有人可以指导我完成这件事,那将是非常好的。