Error: Novell eDirectory uninstallation is not successful when running nds-uninstall

  • 3435493
  • 23-Jul-2007
  • 26-Apr-2012

Environment

Novell eDirectory 8.8 SP1 for Solaris
Novell eDirectory 8.8 SP1 for Linux

Situation

When running the nds-uninstall scriopt to remove eDirectory from a server the following error is observed:
eDirectory881 on Solaris could not be uninstalled by nds-uninstall shell script with message bellow.
%% Some instances of eDirectory servers were instantiated using this set of binaries. Cannot proceed with uninstall
%% Packages will not be removed.
%% Novell eDirectory uninstallation is not successful

Resolution

The above error condition usually means an instance of eDirectory still exists. To remove the instance of eDirectory pleas do the following:
1. Before running the nds-uninstall script you must first stop the ndsd daemon.
" /etc/init.d/ndsd stop "
2. Then remove the database from the server.
" ndsconfig rm "
If the error is still returned when running the nds-uninstall script or if the database is unable to be removed using regular commands the database must be forcefully removed. The below procedure assumes the default file locations were kept during the original installation of eDirectory.
1. Ensure the ndsd daemon is stopped.
" /etc/init.d/ndsd stop "
2. Delete or rename the database dib directory.
" mv /var/opt/novell/eDirectory/data/dib /var/opt/novell/eDirectory/data/dibbak "
3. Delete the nds conf file.
" rm /etc/opt/novell/eDirectory/conf/nds.conf "
4. Delete the instances file.
" rm /etc/opt/novell/eDirectory/conf/.edir/instances.0 "
Now, the nds-uninstall command should proceed normally.