DSREPAIR -XK3: How to Use It and Why You Would Use It
Articles and Tips: tip
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:
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.
Save the repaired database and exit from DSREPAIR completely.
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:
Start the NDS Services applet from the Control Panel.
Highlight DSREPAIR.DLM.
Enter -XK3 (must be in capital letters) in the Startup Parameters field and click Start.
Click Repair in the menu and then Local Database Repair.
Make sure the "Check Local References" is checked and then start the repair.
To start the backlink process, perform the following:
Start the NDS Services applet from the Control Panel.
Highlight DSTRACE.DLM and then click Start.
Click Edit in the menu and then Options.
Uncheck everything except the Backlinker and Backlinker Detail filters.
Click OK.
Go back to the NDS Services applet and highlight DS.DLM and then click Configure.
Go to the Triggers tab and click Backlinker.
On the UNIX Platform
On the UNIX platform, perform the following steps:
At a command prompt, type ndsrepair -R -Ad -XK3 (ndsrepair and its switches are case- sensitive).
Type ndstrace and press Enter.
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.