DSRepair reports error -6024 (RFL file not found)

  • 3005124
  • 09-Jun-2006
  • 26-Apr-2012

Environment

Novell eDirectory 8.7.3.7 for NetWare 6.5
Novell NetWare 6.5 Support Pack 4
_ndsdb.ini's rfldirectory entry points to different location than SYS:_NETWARE

Situation

When using DSRepair to run Unattended Full Repair, the module may try to create a copy of the current eDirectory database (DIB).  This copy can be recognized by the use of the 'NDO' prefix.  If there already exists an NDO.RFL directory in the default SYS:_NETWARE directory, and the rfldirectory entry in the _ndsdb.ini file is pointing to a different location than the default, it if possible that the copy may fail with error -6024.
This problem occurs due to a failure by the code used by DSRepair to recognize the new location for the Roll Forward Logging (RFL), and still try to create a new NDO.RFL from the default  SYS:_NETWARE\NDS.RFL, which may be non-existent or invalid.

Resolution

The solution is to remove the NDO.* files and directory, and then execute the repair operation.  By doing this, Flaim will now create the NDO.RFL file in the path specified by the _ndsdib.ini file and the repair operation will succeed.

Additional Information

The problem may happen more often when changes to the _ndsdb.ini are made repeatedly and the server is not restarted or DS.NLM not re-loaded.

Also, the problem in question has not been seen with eDirectory 8.8.x or newer.