Novell is now a part of Micro Focus

DSREPAIR -XK3: How to Use It and Why You Would Use It

Articles and Tips: tip

Adapted from Technical Information
Document #10023339

01 Sep 2002


If you are using NetWare (all versions) and Novell Directory Services or eDirectory, you may find the following information useful. You may need to remove external reference links and recreate them if your network has the following symptoms:

  • Local Directory Services on a server does not hold a real copy of an object and is getting errors trying to access said object

  • Server holds no replicas

  • ERROR -626 checking XREF ID

  • Error: -634 checking XREF on an object for which the server doesn't hold a real (Master, Read/Write, Read-Only) copy

  • Master replica is staying substantially behind in synchronization time

  • After removing a replica, users cannot log in to the server

  • Authentication times dramatically increased (a replica of the users' Partition is not on the server)

  • Error -601 reported on an object - the server reporting the error does not hold a real (Master, Read/Write, Read Only) of the object

  • Renamed (0_0) server object showing on servers that do not hold real copies of the server object

  • Previously deleted objects are showing up in the tree

On the NetWare Platform

The problem is the backlinks to the externally referenced objects have become corrupted. On the NetWare platform, perform the following steps:

  1. Load DSREPAIR -XK3 | Advanced options | Repair local DS database | Check local references = Yes | <F10> to start the repair. This goes through all of the server's backlink attribute timestamps and sets them to zero.

  2. Save the repaired database and exit from DSREPAIR completely.

  3. Run the backlink process to rebuild the backlinks. At the server console prompt, type:

SET DSTRACE=ON SET DSTRACE=NODEBUG SET DSTRACE=+BLINK (+ sign turns DSTRACE on as well) SET DSTRACE=*B

This last process will update the timestamps on those objects that are still valid. Those that are not updated are purged the next time the janitor and flat cleaner processes run.

On the Windows NT/2000 Platform

On the Windows NT/2000 platform, perform the following steps:

  1. Start the NDS Services applet from the Control Panel.

  2. Highlight DSREPAIR.DLM.

  3. Enter -XK3 (must be in capital letters) in the Startup Parameters field and click Start.

  4. Click Repair in the menu and then Local Database Repair.

  5. Make sure the "Check Local References" is checked and then start the repair.

To start the backlink process, perform the following:

  1. Start the NDS Services applet from the Control Panel.

  2. Highlight DSTRACE.DLM and then click Start.

  3. Click Edit in the menu and then Options.

  4. Uncheck everything except the Backlinker and Backlinker Detail filters.

  5. Click OK.

  6. Go back to the NDS Services applet and highlight DS.DLM and then click Configure.

  7. Go to the Triggers tab and click Backlinker.

On the UNIX Platform

On the UNIX platform, perform the following steps:

  1. At a command prompt, type ndsrepair -R -Ad -XK3 (ndsrepair and its switches are case- sensitive).

  2. Type ndstrace and press Enter.

  3. Type set ndstrace = *b

* Originally published in Novell AppNotes


Disclaimer

The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.

© Copyright Micro Focus or one of its affiliates