Down server upgrade from OES SP2 Linux to OES2 SP1 fails during the eDirectory upgrade.

  • 7000342
  • 24-Feb-2009
  • 27-Apr-2012

Environment

Novell Open Enterprise Server 1 (OES 1) Support Pack 2 Linux
Novell Open Enterprise Server 2 (OES 2)
Novell Open Enterprise Server (Linux based)
Novell eDirectory 8.8 for Linux

Situation

eDirectory 8.8.2 was installed on Open Enterprise Server 1 (Linux Based) SP2 through the Red-carpet channel.
An attempt to do a down server upgrade to OES2 SP1 fails during the database migration phase.

The upgrade fails with the following error:

ndsconfig failed to upgrade and start eDirectory.
Starting the service 'ndsd' ... Done.
Command socket error: No such file or directory. ErrorCode=2
n4u_send_command failed with error code=-1

The /var/opt/novell/eDirectory/log/ndsd.log shows:

Path of Novell eDirectory configuration file
/etc/opt/novell/eDirectory/conf/nds.conf
Loader Failed:for /opt/novell/eDirectory/lib/nds-modules/libncpengine.so,error
/opt/novell/eDirectory/lib/nds-modules/libncpns.so: undefined symbol: _ZN13SMEntryHandle17nextReferenceToMeEPj,errno NCPShim Init Failed, error -5984

Resolution

The issue has been addressed and can be resolved by installing the following patches from oes-edir88 Red-carpet channel:

google-perftools 0.8-1.1
novell-ncpenc 5.1.1-20.1
novell-ncpserv-nrm 1.3-11.1
novell-ncpserv 2.0-43.1
novell-ncpserv-tools 2.0-43.1
novell-ncpns 5.0-21.1

During the upgrade the path to the nds.conf file needs to be changed into /etc/opt/novell/eDirectory/conf/nds.conf in the  "eDirectory Upgrade - Existing Server information" screen.

If the server wasn't patched prior to the upgrade process there are two scenarios to resolve the issue:
1. Before hitting the error mentioned above:

Before the point of the installation where eDirectory will be upgraded two RPMs needs to be installed from the console (use the ALT-F1 keys to switch back to the console).

Assuming that the installation media is mounted to /media/cdrom - if not, mount the installation media manually using the following command:

mount /dev/cdrom/ /media/cdrom

Execute the following commands:

rpm -Uvh /media/cdrom/suse/i586/novell-ncpns-5.1-14.i586.rpm
rpm -Uvh /media/cdrom/suse/i586/novell-ncpenc-5.1.3-0.19.i586.rpm

Once the RPMs are installed the installation should continue without any errors by YaST after switching back to the graphical screen (use the CTRL-F7 or CTRL-ALT-F7 keys to switch back to the graphical screen).


2. After a failed upgrade:

The issue can be resolved after a failed upgrade as well. Please wait until the upgrade process is finished and YaST2 restarts the server.
Login with root, and stop the ndsd process (rcndsd stop).

Assuming that the installation media is mounted to /media/cdrom - if not, mount the installation media manually using the following command:

mount /dev/cdrom/ /media/cdrom

Execute the following commands:

rpm -Uvh /media/cdrom/suse/i586/novell-ncpns-5.1-14.i586.rpm
rpm -Uvh /media/cdrom/suse/i586/novell-ncpenc-5.1.3-0.19.i586.rpm

Run the ndsconfig upgrade" command and make sure to use the /etc/nds.conf configuration file.
Once eDirectory is running, run the "namconfig -k" command, followed by "namcd start" to start up Linux User Management.

At this stage, restart the server and the services should come up normally.