[389-users] LDAP server is unwilling to perform

mjames at guesswho.com mjames at guesswho.com
Tue Mar 13 18:00:44 UTC 2012


Hi, Noriko. I stopped the server, removed the white space and restarted as you requested. I tried to add the replication agreement again and here’s the output of the errors file. Most of the errors appear when I close the Console. The new agreement “389-01 to analog-01v” is not created.

A little more detail. I inherited 2 servers supposedly in a multi-master configuration. I intend to add a 3rd, then retire one of the originals. I want to retain the multi-master replication. I’ve built the 3rd, using the setup-ds-admin.pl script and one of the original servers as the configuration server. The passwords for cn=Directory Manager are the same, the bind DN is the same. I suppose the original pair might be mis-configured in some way. I can’t tell but they seem to be working – at least the users can log in.

[13/Mar/2012:13:35:15 -0400] NSMMReplicationPlugin - changelog program - _cl5GetDBFile: found DB object 9582340 for database /etc/dirsrv/replication/changelogdb/3f5b1504-1dd211b2-8eccc06e-e3450000_4e49489b000000010000.db4
[13/Mar/2012:13:35:15 -0400] NSMMReplicationPlugin - changelog program - cl5GetOperationCount: found DB object 9582340
[13/Mar/2012:13:36:44 -0400] NSMMReplicationPlugin - agmt_add: begin
[13/Mar/2012:13:36:44 -0400] NSMMReplicationPlugin - agmtlist_add_callback: Can't start agreement "cn=389-01 to analog-01v,cn=replica,cn=dc\3dMYDOMAIN\2c dc\3dcom,cn=mapping tree,cn=config"
[13/Mar/2012:13:38:43 -0400] - _csngen_adjust_local_time: gen state before 4f5f84e50002:1331659937:0:68
[13/Mar/2012:13:38:43 -0400] - _csngen_adjust_local_time: gen state after 4f5f86670000:1331660323:0:68
[13/Mar/2012:13:38:43 -0400] NSMMReplicationPlugin - ruv_add_csn_inprogress: successfully inserted csn 4f5f8667000000010000 into pending list
[13/Mar/2012:13:38:43 -0400] NSMMReplicationPlugin - Purged state information from entry cn=ResourcePage,ou=1.1,ou=Console,ou=cn\3DDirectory Manager,ou=UserPreferences,ou=MYDOMAIN.com,o=NetscapeRoot up to CSN 4f564a65000100010000
[13/Mar/2012:13:38:43 -0400] NSMMReplicationPlugin - changelog program - _cl5GetDBFileByReplicaName: found DB object 9582340 for database /etc/dirsrv/replication/changelogdb/3f5b1504-1dd211b2-8eccc06e-e3450000_4e49489b000000010000.db4
[13/Mar/2012:13:38:43 -0400] NSMMReplicationPlugin - changelog program - _cl5GetDBFileByReplicaName: found DB object 9582340 for database /etc/dirsrv/replication/changelogdb/3f5b1504-1dd211b2-8eccc06e-e3450000_4e49489b000000010000.db4
[13/Mar/2012:13:38:43 -0400] NSMMReplicationPlugin - ruv_update_ruv: successfully committed csn 4f5f8667000000010000
[13/Mar/2012:13:38:43 -0400] NSMMReplicationPlugin - ruv_add_csn_inprogress: successfully inserted csn 4f5f8667000100010000 into pending list
[13/Mar/2012:13:38:43 -0400] NSMMReplicationPlugin - Purged state information from entry cn=ResourcePage,ou=1.1,ou=Console,ou=cn\3DDirectory Manager,ou=UserPreferences,ou=MYDOMAIN.com,o=NetscapeRoot up to CSN 4f564be7000000010000
[13/Mar/2012:13:38:43 -0400] NSMMReplicationPlugin - changelog program - _cl5GetDBFileByReplicaName: found DB object 9582340 for database /etc/dirsrv/replication/changelogdb/3f5b1504-1dd211b2-8eccc06e-e3450000_4e49489b000000010000.db4
[13/Mar/2012:13:38:43 -0400] NSMMReplicationPlugin - changelog program - _cl5GetDBFileByReplicaName: found DB object 9582340 for database /etc/dirsrv/replication/changelogdb/3f5b1504-1dd211b2-8eccc06e-e3450000_4e49489b000000010000.db4
[13/Mar/2012:13:38:43 -0400] NSMMReplicationPlugin - ruv_update_ruv: successfully committed csn 4f5f8667000100010000
[13/Mar/2012:13:38:43 -0400] NSMMReplicationPlugin - ruv_add_csn_inprogress: successfully inserted csn 4f5f8667000200010000 into pending list
[13/Mar/2012:13:38:43 -0400] NSMMReplicationPlugin - Purged state information from entry cn=General,ou=1.1,ou=Console,ou=cn\3DDirectory Manager,ou=UserPreferences,ou=MYDOMAIN.com,o=NetscapeRoot up to CSN 4f564be7000100010000
[13/Mar/2012:13:38:43 -0400] NSMMReplicationPlugin - changelog program - _cl5GetDBFileByReplicaName: found DB object 9582340 for database /etc/dirsrv/replication/changelogdb/3f5b1504-1dd211b2-8eccc06e-e3450000_4e49489b000000010000.db4
[13/Mar/2012:13:38:43 -0400] NSMMReplicationPlugin - changelog program - _cl5GetDBFileByReplicaName: found DB object 9582340 for database /etc/dirsrv/replication/changelogdb/3f5b1504-1dd211b2-8eccc06e-e3450000_4e49489b000000010000.db4
[13/Mar/2012:13:38:43 -0400] NSMMReplicationPlugin - ruv_update_ruv: successfully committed csn 4f5f8667000200010000
[13/Mar/2012:13:38:43 -0400] NSMMReplicationPlugin - ruv_add_csn_inprogress: successfully inserted csn 4f5f8667000300010000 into pending list
[13/Mar/2012:13:38:43 -0400] NSMMReplicationPlugin - Purged state information from entry cn=General,ou=1.1,ou=Console,ou=cn\3DDirectory Manager,ou=UserPreferences,ou=MYDOMAIN.com,o=NetscapeRoot up to CSN 4f564be7000200010000
[13/Mar/2012:13:38:43 -0400] NSMMReplicationPlugin - changelog program - _cl5GetDBFileByReplicaName: found DB object 9582340 for database /etc/dirsrv/replication/changelogdb/3f5b1504-1dd211b2-8eccc06e-e3450000_4e49489b000000010000.db4
[13/Mar/2012:13:38:43 -0400] NSMMReplicationPlugin - changelog program - _cl5GetDBFileByReplicaName: found DB object 9582340 for database /etc/dirsrv/replication/changelogdb/3f5b1504-1dd211b2-8eccc06e-e3450000_4e49489b000000010000.db4
[13/Mar/2012:13:38:43 -0400] NSMMReplicationPlugin - ruv_update_ruv: successfully committed csn 4f5f8667000300010000
[13/Mar/2012:13:38:52 -0400] - _csngen_adjust_local_time: gen state before 4f5f86670004:1331660323:0:68
[13/Mar/2012:13:38:52 -0400] - _csngen_adjust_local_time: gen state after 4f5f86700000:1331660332:0:68
[13/Mar/2012:13:38:52 -0400] NSMMReplicationPlugin - ruv_add_csn_inprogress: successfully inserted csn 4f5f8670000000010000 into pending list
[13/Mar/2012:13:38:52 -0400] NSMMReplicationPlugin - Purged state information from entry cn=General,ou=1.1,ou=Console,ou=cn\3DDirectory Manager,ou=UserPreferences,ou=MYDOMAIN.com,o=NetscapeRoot up to CSN 4f564be7000300010000
[13/Mar/2012:13:38:52 -0400] NSMMReplicationPlugin - changelog program - _cl5GetDBFileByReplicaName: found DB object 9582340 for database /etc/dirsrv/replication/changelogdb/3f5b1504-1dd211b2-8eccc06e-e3450000_4e49489b000000010000.db4
[13/Mar/2012:13:38:52 -0400] NSMMReplicationPlugin - changelog program - _cl5GetDBFileByReplicaName: found DB object 9582340 for database /etc/dirsrv/replication/changelogdb/3f5b1504-1dd211b2-8eccc06e-e3450000_4e49489b000000010000.db4
[13/Mar/2012:13:38:52 -0400] NSMMReplicationPlugin - ruv_update_ruv: successfully committed csn 4f5f8670000000010000
[13/Mar/2012:13:38:52 -0400] NSMMReplicationPlugin - ruv_add_csn_inprogress: successfully inserted csn 4f5f8670000100010000 into pending list
[13/Mar/2012:13:38:52 -0400] NSMMReplicationPlugin - Purged state information from entry cn=General,ou=1.1,ou=Console,ou=cn\3DDirectory Manager,ou=UserPreferences,ou=MYDOMAIN.com,o=NetscapeRoot up to CSN 4f564bf0000000010000
[13/Mar/2012:13:38:52 -0400] NSMMReplicationPlugin - changelog program - _cl5GetDBFileByReplicaName: found DB object 9582340 for database /etc/dirsrv/replication/changelogdb/3f5b1504-1dd211b2-8eccc06e-e3450000_4e49489b000000010000.db4
[13/Mar/2012:13:38:52 -0400] NSMMReplicationPlugin - changelog program - _cl5GetDBFileByReplicaName: found DB object 9582340 for database /etc/dirsrv/replication/changelogdb/3f5b1504-1dd211b2-8eccc06e-e3450000_4e49489b000000010000.db4
[13/Mar/2012:13:38:52 -0400] NSMMReplicationPlugin - ruv_update_ruv: successfully committed csn 4f5f8670000100010000
[13/Mar/2012:13:39:09 -0400] NSMMReplicationPlugin - changelog program - _cl5GetDBFile: found DB object 9582340 for database /etc/dirsrv/replication/changelogdb/3f5b1504-1dd211b2-8eccc06e-e3450000_4e49489b000000010000.db4
[13/Mar/2012:13:39:09 -0400] NSMMReplicationPlugin - changelog program - cl5GetOperationCount: found DB object 9582340

From: 389-users-bounces at lists.fedoraproject.org [mailto:389-users-bounces at lists.fedoraproject.org] On Behalf Of Noriko Hosoi
Sent: Tuesday, March 13, 2012 1:09 PM
To: General discussion list for the 389 Directory server project.
Subject: Re: [389-users] LDAP server is unwilling to perform

I see a white space between MYDOMAIN\2C and dc\3Dcom in the agreement DN.  Basically, it should have been automatically removed.

dn: cn=389 to analog,cn=replica,cn=dc\3DMYDOMAIN\2C dc\3Dcom,cn=mapping tree,cn=config


[13/Mar/2012:11:31:12 -0400] NSMMReplicationPlugin - agmtlist_add_callback: Can't start agreement "cn=389-01 to analog-01v,cn=replica,cn=dc\3dMYDOMAIN\2c dc\3dcom,cn=mapping tree,cn=config"



Could you try removing the white space (by editing your dse.ldif)?

1. shutdown the server

2. edit /etc/dirsrv/slapd-YOURID/dse.ldif

   dn: cn=389 to analog,cn=replica,cn=dc\3DMYDOMAIN\2C dc\3Dcom,cn=mapping tree,cn=config

   ==>

   dn: cn=389 to analog,cn=replica,cn=dc\3DMYDOMAIN\2Cdc\3Dcom,cn=mapping tree,cn=config

3. restart the server
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20120313/73606199/attachment.html>


More information about the 389-users mailing list