主题: 新安装的LDAP版,显示连接不了服务
==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):
- 使用的 Linux/BSD 发行版名称及版本号:
- 与您的问题相关的日志信息:
==== ==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.5-1
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):OenLDAP
- 使用的 Linux/BSD 发行版名称及版本号:centos7
- 与您的问题相关的日志信息:
====
报错1.登录管理后台Error: {'desc': "Can't contact LDAP server"}
报错2.服务状态
Redirecting to /bin/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 六 2016-10-08 10:54:32 CST; 17min ago
Docs: man:slapd
man:slapd-config
man:slapd-hdb
man:slapd-mdb
file:///usr/share/doc/openldap-servers/guide.html
Process: 15735 ExecStart=/usr/sbin/slapd -u ldap -h ${SLAPD_URLS} $SLAPD_OPTIONS (code=exited, status=1/FAILURE)
Process: 15718 ExecStartPre=/usr/libexec/openldap/check-config.sh (code=exited, status=0/SUCCESS)
10月 08 10:54:32 mail.hgicreate.com slapd[15735]: @(#) $OpenLDAP: slapd 2.4.40 (Mar 31 2016 15:24:52) $
mockbuild@worker1.bsys.centos.org:/builddir/build/BUILD/openldap-2.4.40/o.../slapd
10月 08 10:54:32 mail.hgicreate.com slapd[15735]: could not stat config file "/etc/openldap/schema/amavisd-new.schema": No such fil...ry (2)
10月 08 10:54:32 mail.hgicreate.com slapd[15735]: slapd destroy: freeing system resources.
10月 08 10:54:32 mail.hgicreate.com slapd[15735]: DIGEST-MD5 common mech free
10月 08 10:54:32 mail.hgicreate.com slapd[15735]: slapd stopped.
10月 08 10:54:32 mail.hgicreate.com slapd[15735]: connections_destroy: nothing to destroy.
10月 08 10:54:32 mail.hgicreate.com systemd[1]: slapd.service: control process exited, code=exited status=1
10月 08 10:54:32 mail.hgicreate.com systemd[1]: Failed to start OpenLDAP Server Daemon.
10月 08 10:54:32 mail.hgicreate.com systemd[1]: Unit slapd.service entered failed state.
10月 08 10:54:32 mail.hgicreate.com systemd[1]: slapd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.