ndsd is unable to open the database after restart

  • 7024164
  • 02-Oct-2019
  • 02-Oct-2019

Environment


eDirectory

Situation

After a restart of ndsd, the eDirectory database no longer opens.

/var/opt/novell/eDirectory/log/ndsd.log reports, database open failed

ndstrace with INIT and RECM tags shows - 0xC052 SMI error while attempting to open database by running ndsrepair -R

/var/opt/novell/eDirectory/data/dib/_ndsdb.ini file contains the option rfldirectory pointing to a non default location

Resolution

Ensure ndsd is able to access the nds.rfl directory and it's contents with out any change since ndsd logged in it.

Stop ndsd process
Move the nds.rfl from the inaccessible location to the dib directory - default /var/opt/novell/eDirectory/data/dib
Remove the rfldirectory option from the _ndsdb.ini file
Restart ndsd

Cause

The rfldirectory option in the _ndsdb.ini file was located on an NFS mount.  The server containing the directory lost communication causing the NFS mount to be invalid.  

ndsd couldn't access the nds.rfl directory.  

Apointer to the nds.rfl location and it's log file is stored in the header of the dib, even without rfl for incremental backups configured the nds.rfl is critical to the dib and the functionality of ndsd.   Do not remove this file.