OpenLDAP Multi master

时间:2018-03-11 20:50:08

标签: ldap replication

是否有人遇到此错误: ldap_initialize(ldap://ds2.domain.com=cn=admin,cn=config)失败(-9)

我的配置:两个LDAP主服务器ldap://ds1.domain.com和ldap://ds2.domain.com,主 - 主复制。

两个服务器都在日志文件中有这个:

slap_client_connect: ldap_initialize(ldap://ds2.domain.com=cn=admin,cn=config) failed (-9)
do_syncrepl: rid=002 rc -9 retrying
daemon: activity on 1 descriptor
daemon: activity on:
daemon: epoll: listen=8 active_threads=0 tvp=zero
daemon: epoll: listen=9 active_threads=0 tvp=zero
daemon: epoll: listen=10 active_threads=0 tvp=zero
daemon: epoll: listen=8 active_threads=0 tvp=zero
daemon: epoll: listen=9 active_threads=0 tvp=zero
daemon: epoll: listen=10 active_threads=0 tvp=zero
=>do_syncrepl rid=002
slap_client_connect: ldap_initialize(ldap://ds2.domain.com=cn=admin,cn=config) failed (-9)
daemon: activity on 1 descriptor
daemon: activity on:
daemon: epoll: listen=8 active_threads=0 tvp=zero
daemon: epoll: listen=9 active_threads=0 tvp=zero
daemon: epoll: listen=10 active_threads=0 tvp=zero
do_syncrepl: rid=002 rc -9 retrying (4 retries left)
daemon: epoll: listen=8 active_threads=0 tvp=zero
daemon: epoll: listen=9 active_threads=0 tvp=zero
daemon: epoll: listen=10 active_threads=0 tvp=zero
=>do_syncrepl rid=002
slap_client_connect: ldap_initialize(ldap://ds2.domain.com=cn=admin,cn=config) failed (-9)
do_syncrepl: rid=002 rc -9 retrying (3 retries left)
daemon: activity on 1 descriptor
daemon: activity on:
daemon: epoll: listen=8 active_threads=0 tvp=zero
daemon: epoll: listen=9 active_threads=0 tvp=zero
daemon: epoll: listen=10 active_threads=0 tvp=zero

1 个答案:

答案 0 :(得分:0)

语法错误:

ds2.domain.com=cn=admin,cn=config

      here -> =cn=