XADM: DS_E_BUSY After Directory Service Restore

Last reviewed: January 23, 1998
Article ID: Q160850
The information in this article applies to:
  • Microsoft Exchange Server, versions 4.0 and 5.0

SYMPTOMS

When a directory is restored from backup it attempts to get back copies of all the objects that it last modified or added and that it replicated out to other computers since it was backed up; this is called backsync. During backsync, you can get into a situation where it is not possible to make directory changes for up to 16 hours. When you attempt to modify the directory while it is in this state, the Microsoft Exchange Server Administrator program will display the following message:

   The directory is busy. Wait a few minutes and try again.

   Microsoft Exchange Directory
   ID no: DS_E_BUSY

The following event ID will also be logged:

   Event ID: 1173.  A privileged operation (rights required = 0x4) on
   object failed because a non-security related error occurred.

CAUSE

This will most often occur after the restoration of a directory on a server that has the schedule on its connectors set to Never. The directory service agent (DSA) is hardcoded to try to backsync for up to 16 hours even if it is unable to do so.

WORKAROUND

To work around this problem, do one of the following:

  • Make sure that the schedule on the connector of the remote Directory Replication Bridgehead is not set to Never. If it is, either set it to Always to allow for the proper delivery of directory replication messages, or wait for 16 or 4 hours respectively for this to time out.

-OR-

In Microsoft Exchange Server 5.0 SP1, it is possible to add a value to the registry that will control this timeout:

   Under the HKEY_LOCAL_MACHINE subtree, add the value in minutes to the
   following subkey:

      Key: System\CurrentControlSet\Services\MSExchangeDS\Parameters\
      Value: Replicator inter site backsync timeout
      Data Type: REG_DWORD
      Value data: <number-of-minutes-in-hex>
      
   The hex value of "f" equals 15 minutes in the line above.

   This value is case-sensitive and must be entered as shown above.

MORE INFORMATION

When a directory is restored from backup it attempts to get back -- backsync -- copies of all the objects which it last modifed or added which it replicated out to other computers since it was backed up. These computers can be in the same site or another site. Backsync is necessary becuase normally changes made at a DSA do not replicate back to that DSA, and also the Update Sequence Number (USN) for a restored computer will be lower than the USN it had before being restored. This means that if any changes are made at the restored computer before it has backsync'ed, they will not replicate out until the USN climbs to the value it was before the server was restored.

If the backsync is overridden by reducing the timeout, there is a risk of this replication loss. Therefore the backsync timeout should only be reduced or eliminated when you are sure that no changes were made at the restored computer since the computer was backed up."

Keywords          : kbbug4.00 kbbug5.00 kbfix4.00 kbfix5.00.sp1 XADM kbidea
Version           : 4.0 5.0
Platform          : winnt


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 23, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.