Peer-to-peer replication error
If you are running peer-to-peer replication, you might encounter the error "No such object occurred for replica." Follow the steps to resolve this problem.
You might see an error similar to the following error:
09/07/04 12:57:10 Error No such object occurred for replica 'CN=SERVER2,
CN=SERVER3,IBM-REPLICAGROUP=DEFAULT,O=IBM': modify failed for entry
'CN=MISSING_ENTRY' change ID 5109011.where CN=SERVER2 and CN=SERVER3 are
the peer servers and CN=MISSING_ENTRY is
the entry on which the error occurred.One common cause of this error is that peer-to-peer replication, by design, does not allow for conflict resolution.
To correct this error, complete the following steps:
- Locate the entry that is listed under the "No such object occurred for replica" error in the Server log (ibmslapd.log).
- Use the idsdb2ldif command to export the entry
or entries in the log from the peer server on which the error or errors
occurred; for example:
where:idsdb2ldif -o out.ldif -I instance name -s subtree DNout.ldifis the name of the file to which you want to export the entry.instance nameis the name of the instance.subtree DNis the DN of the entry you want to export.
- Use the idsldapadd command to import the entry
to the other peer server; for example:
whereidsldapadd -D cn=root -w secret -i out.ldifout.ldifis the name of the file that contains the entry that you want to import.