ndsrepair hangs or takes a long time

  • 3583427
  • 20-Sep-2006
  • 26-Apr-2012

Environment

Products:

Novell eDirectory 8.7.3 for Solaris
Novell eDirectory 8.7.3 for Linux
Novell eDirectory 8.7.3 for AIX
Novell eDirectory 8.7.3 for HP-UX
Novell eDirectory 8.8 for Solaris
Novell eDirectory 8.8 for Linux
Novell eDirectory 8.8 for HP-UX
Novell eDirectory 8.8 for AIX

Situation

ndsrepair -R (unattended full repair) takes a long time and appears to hang or time out.
eDirectory (ndsd daemon) operations (LDAP and NCP) do not seem to be affected.
Problem is reproducible even with a single server tree.

Resolution

One possible reason is that SLP is mis configured in the network. As a workaround, use the /etc/hosts.nds file to avoid the SLP name resolution delays.

Please refer to TID 10096901 for details on the format for the hosts.nds file.




Additional Information

Problem will be easily demonstrated with the RSLV and SADV ndstrace switches as well as pstack snapshot of thread activity on the ndsd daemon (on Solaris).