博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
rh423 - 主辅同步报错:there is no replicated area "dc=server119,dc=example,dc=com" on the consumer server
阅读量:4177 次
发布时间:2019-05-26

本文共 2579 字,大约阅读时间需要 8 分钟。

版本:

[root@server119 slapd-server119]# uname -a
Linux server119.example.com 2.6.18-308.el5xen #1 SMP Fri Jan 27 17:59:00 EST 2012 i686 i686 i386 GNU/Linux
[root@server119 slapd-server119]#

RHDS Version: Red Hat Directory Server 8.2.0

做rhds主辅同步时出错,在主ds(server119)的错误日志里发现如下信息:

[root@server119 slapd-server119]# pwd

/var/log/dirsrv/slapd-server119
[root@server119 slapd-server119]# tail errors
[20/Jul/2013:14:52:41 +0800] NSMMReplicationPlugin - agmt="cn=s199agree" (server219:636): Incremental update failed and requires administrator action
[20/Jul/2013:14:54:04 +0800] NSMMReplicationPlugin - agmt="cn=s199agree" (server219:636): Unable to acquire replica: there is no replicated area "dc=server119,dc=example,dc=com" on the consumer server. Replication is aborting.
[20/Jul/2013:14:54:04 +0800] NSMMReplicationPlugin - agmt="cn=s199agree" (server219:636): Unable to acquire replica: there is no replicated area "dc=server119,dc=example,dc=com" on the consumer server. Replication is aborting.
[20/Jul/2013:14:54:04 +0800] NSMMReplicationPlugin - agmt="cn=s199agree" (server219:636): Incremental update failed and requires administrator action
[20/Jul/2013:15:00:20 +0800] NSMMReplicationPlugin - agmt_delete: begin
[20/Jul/2013:15:01:33 +0800] NSMMReplicationPlugin - agmt="cn=s119rep" (server219:636): Unable to acquire replica: there is no replicated area "dc=server119,dc=example,dc=com" on the consumer server. Replication is aborting.
[20/Jul/2013:15:01:33 +0800] NSMMReplicationPlugin - agmt="cn=s119rep" (server219:636): Incremental update failed and requires administrator action
[20/Jul/2013:15:01:34 +0800] NSMMReplicationPlugin - agmt="cn=s119rep" (server219:636): Unable to acquire replica: there is no replicated area "dc=server119,dc=example,dc=com" on the consumer server. Replication is aborting.
[20/Jul/2013:15:01:34 +0800] NSMMReplicationPlugin - agmt="cn=s119rep" (server219:636): Unable to acquire replica: there is no replicated area "dc=server119,dc=example,dc=com" on the consumer server. Replication is aborting.
[20/Jul/2013:15:01:34 +0800] NSMMReplicationPlugin - agmt="cn=s119rep" (server219:636): Incremental update failed and requires administrator action
[root@server119 slapd-server119]#

后面发现原因是辅助ds的suffix/directory subtree没有和主ds一样:

出错的情况:

主ds(server119)suffix/subtree: dc=server119,dc=example,dc=com
辅ds(server219)suffix/subtree: dc=server219,dc=example,dc=com

改为以下后即可成功同步:

主ds(server119)suffix/subtree: dc=server119,dc=example,dc=com
辅ds(server219)suffix/subtree: dc=server119,dc=example,dc=com

原理其实和主辅dns的域必须相同一样,ldap server的suffix就类似与dns的域。

转载地址:http://pstai.baihongyu.com/

你可能感兴趣的文章
(转载)linux命令之二十七gzip命令
查看>>
(转载)linux命令之二十八df 命令
查看>>
(转载)linux命令之二十九du 命令
查看>>
Qt浅谈之五十一QT_OpenGL
查看>>
linux下c/c++实例之十四c实现的bt软件下载(记录)
查看>>
linux下c/c++实例之十五简单的学生信息管理系统
查看>>
C#通过COM组件调用C++的代码(转载)
查看>>
DGN格式转化为shp格式
查看>>
VS2010 语法错误: 标识符“__RPC__out_xcount_part” 解决方法
查看>>
使用QT5对access数据库进行操作,读取Access数据库表名中文乱码问题
查看>>
Qt5编程——excel操作
查看>>
QT5使用OpenGL的错误
查看>>
opengl实现任意两点间画圆柱体
查看>>
最新:斐讯K3千兆无线路由器刷官改版固件的详细图文教程
查看>>
Windows基于Apache的svn服务器配置
查看>>
cesium调用天地图服务
查看>>
objTo3d-tiles:将obj模型文件转换为三维瓦片
查看>>
Linux查看硬件信息命令
查看>>
.obj 和 .mtl文件格式
查看>>
CentOS6.5 添加开机自启动脚本
查看>>