Error: ndsconfig return value = 12

  • 7003291
  • 17-May-2009
  • 27-Apr-2012


Novell eDirectory 8.8 for Linux
Novell Open Enterprise Server 2 (OES 2) Linux


Adding an OES2 SP1 Linux server into an existing NDS Tree fails with error message "Error: ndsconfig return value = 12"
ndsd.log file shows error message "Missing modules configuration file or error opening  module configuration file /etc/opt/novell/eDirectory/conf/ndsmodules.conf"
All eDirectory-related RPMs seem to be installed.
Folder /etc/opt/novell/eDirectory/conf does not have any of the required files except nds.conf


1. Place the OES2 SP1 installation media into the CD-ROM drive and make sure that the media is mounted
2. Open a Shell Prompt and login as "root"
3. Execute the command "cat /etc/SuSE-release" and verify the architecture of the server hardware (32/64 bit)
4. Using "cd" command browse into the sub-folder suse/i586 (Browse into the correct folder based on the architecture) on the OES2 SP1 installation media
5. Force the installation of all RPMs that start with "novell-NDS" by following command: rpm -Uvh --force novell-NDS*
6. Once the installation is over, make sure that the folder /etc/opt/novell/eDirectory/conf has ndsmodules.conf and other files
7. Browse into the folder /etc/opt/novell/eDirectory/conf and rename the file nds.conf
  • cd /etc/opt/novell/eDirectory/conf
  • mv nds.conf nds.conf.old
8. Rename the eDirectory Datbase folder (DIB Directory)
  • cd /var/opt/novell/eDirectory/data
  • mv dib dib.old
9. Using ConsoleOne or iManager, make sure that the the NDS Tree does not have any objects related with the new server.
10. Launch YaST and try to add the server into the NDS Tree again

Additional Information

  • OES2 Linux servers with eDirectory uses folder /var/opt/novell/eDirectory/data/dib as the DIB directory
  • Find out the eDirectory DIB folder by the command: ndsconfig get | grep dib
  • Display last lines of eDirectory Daemon (NDSD) log file: tail /var/opt/novell/eDirectory/log/ndsd.log