Lingering objects prevent Active Directory replication from occurring (317097)
The information in this article applies to:
- Microsoft Windows 2000 Server SP2
- Microsoft Windows 2000 Server SP3
This article was previously published under Q317097 Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base: 256986 Description of the Microsoft Windows Registry SYMPTOMS
If lingering objects are present, inbound changes are not replicated to objects that do not exist on the target, and the following event ID message is logged in the event log:
Event ID: 1084
Replication error: The directory replication agent (DRA) couldn't update object CN="jeffsmith",OU=Wood,OU=sales,DC=yourcompany,DC=com (GUID 063639e5-cfa6-40f3-951c-62a34f8dea71) on this system with changes which have been received from source server 2521a874-d379-4281-8744-4bd34c792026._msdcs.bc.com. An error occurred during the application of the changes to the directory database on this system.
You receive the following error message:
There is no such object on the server.
The directory will try to update the object later on the next replication cycle. Synchronization of this server with the source is effectively blocked until the update problem is corrected.
If this condition appears to be related to a resource shortage, please stop and restart this Windows Domain Controller.
If this condition is an internal error, a database error, or an object relationship or constraint error, manual intervention will be required to correct the database and allow the update to proceed. It is valuable to note that the problem is caused by the fact that the change on the remote system cannot be applied locally. Manually updating the objects on the local system in not recommended. Instead, on the source system (which has the changes already), try to reverse or back out the change. Then, on the next replication cycle, observe whether the change can now be applied locally.
Additionally, if you run the repadmin /showreps command on the domain controller, you receive the following error message
HQSite\DC1 via RPC
objectGuid: 2521a874-d379-4281-8744-4bd34c792026
Last attempt @ 2002-01-21 16:10.54 failed, result 8240:
There is no such object on the server.
Last success @ (never).
The Last success value may be either "never" or the last time a successful replication occurred. Active Directory replication is stopped for the specified naming context and does not resume until you resolve this problem. Replication to the other naming contexts continues as expected.
CAUSE
This problem occurs because the Strict Replication Consistency functionality is being enforced on the inbound domain controller. Typically, this problem occurs because the domain controller that has the extra (or lingering) object has been out of replication for more than one tombstone lifetime.
The Strict Replication Consistency functionality was added in Windows 2000 Service Pack 3 (SP3) and in some post-Service Pack 2 (SP2) hotfixes.
If your domain controller is logging the error messages that are described in the "Symptoms" section of this article, it is running a post-SP2
hotfix or SP3.
For additional information about post-SP2 hotfixes, click the following article number to view the article in the Microsoft Knowledge Base:
314282
Lingering objects may remain after you bring an out-of-date global catalog server back online
RESOLUTIONWarning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
Strict Replication Consistency was created to prevent unwanted replication of lingering objects. Before Strict Replication Consistency was created, the inbound partner requested the entire object if the object did not exist locally and eventually replicated the object to all partners by default.
If the naming context that is listed in the error message only exists on the inbound domain controller as a read-only global catalog, an object may be re-created that may be difficult to remove. This problem may occur if the object only exists on global catalog servers and it has been deleted from the domain naming context. In this situation, Microsoft recommends that you purge the object from all of the global catalogs on which this object exists. Do not purge the objects until you verify that the object is intended and still exists in the domain naming context.
For additional information about how to purge objects, click the following article numbers to view the articles in the Microsoft Knowledge Base:
314282
Lingering objects may remain after you bring an out-of-date global catalog server back online
After you intentionally delete an object that you do not want to re-create, if you decide that you need this object and if it exists in the domain naming context, use either of the following methods to enable replication.
- Method 1: Tombstone and Garbage Collect the Object
- Delete the object, enable Loose Replication Consistency (see Method 2), and then enable replication again.
NOTE: If you do not enable Loose Replication Consistency, the object is garbage collected when the tombstone lifetime expires. After the object is garbage collected, normal replication resumes. - After the deletion has been replicated, enable Strict Replication Consistency again if appropriate.
- Method 2: Enable Loose Replication Consistency
After you enable Loose Replication Consistency, make sure to enable Strict Replication Consistency again after the object has been replicated. If you enable Loose Replication Consistency, the error only reports the first object that does not exist on the target. Additional objects may exist, including some that exist in the read-only naming context (global catalog).
To enable Loose Replication Consistency, follow these steps on the domain controller that reports the errors messages that are described in the "Symptoms" section of this article:- Locate and click the following registry key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NTDS\Parameters - Click Add Value on the Edit menu.
- Add the following value:
Value Name: Strict Replication Consistency
Data type: REG_DWORD
Value data: If the value is 1, change it to 0.
STATUSThis behavior is by design.
Modification Type: | Minor | Last Reviewed: | 1/6/2005 |
---|
Keywords: | kbenv kbprb KB317097 |
---|
|