Environment
Novell eDirectory
Novell Directory Services
Novell Directory Services
Situation
Errors in DSRepair
ERROR: Adding reference to object ID: nnnnnnnn, DN: CN=Object1.OU=Location1.OU=City1.O=MyCompany.T=MyTree
Referenced by attribute: nnnnnnnn, Back Link of object ID: nnnnnnnn, DN: CN=Object2.OU=Location2.OU=City2.O=MyCompany.T=MyTree
Errors don't go away even after running DSRepair repeatedly
ERROR: Adding reference to object ID: nnnnnnnn DN: xxxxxxxx Referenced by attribute: nnnnnnnn
ERROR: Adding reference to object ID: nnnnnnnn, DN: CN=Object1.OU=Location1.OU=City1.O=MyCompany.T=MyTree
Referenced by attribute: nnnnnnnn, Back Link of object ID: nnnnnnnn, DN: CN=Object2.OU=Location2.OU=City2.O=MyCompany.T=MyTree
Errors don't go away even after running DSRepair repeatedly
ERROR: Adding reference to object ID: nnnnnnnn DN: xxxxxxxx Referenced by attribute: nnnnnnnn
Resolution
Clear the DS cache by rebooting the server or unloading and reloading DS.NLM - then run a Local Database Repair in DSRepair again.
Additional Information
Corrupt DS Cache
In order to troubleshoot this problem and establish whether DS is actually corrupt use DSBrowse to check that the objects do in fact link to each other correctly.
In order to troubleshoot this problem and establish whether DS is actually corrupt use DSBrowse to check that the objects do in fact link to each other correctly.
For example:
ERROR: Adding reference to object ID: 00008787 , DN: CN=Object1.OU=Location1.OU=City1.O=MyCompany.T=MyTree
Referenced by attribute: 000000D4, Back Link of object ID: 000089BE , DN: CN=Object2.OU=Location2.OU=City2.O=MyCompany.T=MyTree
Because 000089BE has a backlink to 00008787 then 00008787 should have a reference to 000089BE - if it does then the relationship between the two objects is sound. If DSRepair keeps saying it is wrong then it is likely that it is reading a bad cached copy.
If the objects do not agree, then it is probably a real error - see TID 7003116.
Formerly known as TID# 10089362