[Fedora-directory-users] Can't locate CSN in Multi-Master replica

Dael Maselli Dael.Maselli at lnf.infn.it
Wed Nov 14 15:15:36 UTC 2007


Dear Richard,

The problem came back, this time in one node.

We have 4-way replica with the nodes: ds-m1, ds-2, ds-m3, ds-m4.

Yesterday all RW replica works fine, this morning one node (ds-m3) crashed
and restarted with this log:

[14/Nov/2007:09:16:37 +0100] - Fedora-Directory/1.0.4 B2006.312.1621 starting up
[14/Nov/2007:09:16:37 +0100] - Detected Disorderly Shutdown last time Directory Server was running, recovering database.
[14/Nov/2007:09:16:38 +0100] NSMMReplicationPlugin - replica_check_for_data_reload: Warning: data for replica dc=infn,dc=it was 
reloaded and it no longer matches the data in the changelog (replica data > changelog). Recreating the changelog file. This could 
affect replication with replica's consumers in which case the consumers should be reinitialized.

Then I tried to reinitialize ds-m3 from ds-m1 and in ds-m3 log it wrote:
[14/Nov/2007:15:21:36 +0100] NSMMReplicationPlugin - multimaster_be_state_change: replica dc=infn,dc=it is going offline; 
disabling replication
[14/Nov/2007:15:21:36 +0100] - WARNING: Import is running with nsslapd-db-private-import-mem on; No other process is allowed to 
access the database
[14/Nov/2007:15:21:38 +0100] - import userRoot: Workers finished; cleaning up...
[14/Nov/2007:15:21:39 +0100] - import userRoot: Workers cleaned up.
[14/Nov/2007:15:21:39 +0100] - import userRoot: Indexing complete.  Post-processing...
[14/Nov/2007:15:21:39 +0100] - import userRoot: Flushing caches...
[14/Nov/2007:15:21:39 +0100] - import userRoot: Closing files...
[14/Nov/2007:15:21:39 +0100] - import userRoot: Import complete.  Processed 10 entries in 2 seconds. (5.00 entries/sec)
[14/Nov/2007:15:21:39 +0100] NSMMReplicationPlugin - multimaster_be_state_change: replica dc=infn,dc=it is coming online; enabling 
replication
[14/Nov/2007:15:21:39 +0100] NSMMReplicationPlugin - replica_reload_ruv: Warning: new data for replica dc=infn,dc=it does not 
match the data in the chang elog.
  Recreating the changelog file. This could affect replication with replica's  consumers in which case the consumers should be 
reinitialized.

So I tried to make changes on directory from node ds-m1,2 or 4 and it propagates to
all 4 node (including ds-m3). BUT when I try to make changes from ds-m3 it will not
propagates and in the ds-m3 log there is angain:

[14/Nov/2007:15:42:22 +0100] agmt="cn=m3-m2" (ds-m2:636) - Can't locate CSN 4739d5a5000000030000 in the changelog (DB rc=-30990). 
The consumer may need to be reinitialized.
[14/Nov/2007:15:42:22 +0100] agmt="cn=m3-m4" (ds-m4:636) - Can't locate CSN 4739d5a5000000030000 in the changelog (DB rc=-30990). 
The consumer may need to be reinitialized.
[14/Nov/2007:15:42:22 +0100] agmt="cn=m3-m1" (ds-m1:636) - Can't locate CSN 4739d5a5000000030000 in the changelog (DB rc=-30990). 
The consumer may need to be reinitialized.

So, please help me! What can I do now, we can't reinstall from scratch anytime one
server goes down.

Thank you. Best regards.

Dael Maselli.

Dael Maselli wrote:
> Well. I restarted from scratch. Now all works fine.
> 
> Now I have 4-way RW replicas with agreements from all to all.
> 
> Thank you for assistance.
> 
> Regards.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users

-- 
___________________________________________________________________

Dael Maselli  ---  INFN-LNF Computing Service  --  +39.06.9403.2214
___________________________________________________________________

Democracy is two wolves and a lamb voting on what to have for lunch
___________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3000 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20071114/18cda5f6/attachment.bin>


More information about the 389-users mailing list