DSFW Channel upgrade fails with "ndsconfig failed to upgrade and start eDirectory"

  • 7007507
  • 06-Jan-2011
  • 27-Apr-2012

Environment

Novell Open Enterprise Server 2 SP1 (OES2SP2)
Novell Open Enterprise Server 2 SP2 (OES2SP3)
Domain Services for Windows
DSFW

Situation

After installing the rpms, rebooting the server and authenticating into the tree the following error is returned.

"ndsconfig failed to upgrade and start eDirectory
This may be due to incorrect LDAP admin password.
The online upgrade will be aborted.
Check your passwords and try again.

Command: /opt/novell/eDirectory/bin/ndsconfig upgrade -c -a ' ' -j –config-file /etc/opt/novell/eDirectory/conf/
Done

Upgrading the Novell eDirectory server with the following parameters, Please wait ..
Tree Name            : DSFW-TREE
Server DN            : DSFW-S1.ou=OESSystemOjbects.o=novell

Configuration File        : /etc/opt/novell/eDirectory/conf/nds.conf
Instance Location    : /var/opt/novell/eDirectory/data
DIB Location        : /var/opt/novell/eDirectory/data/dib

Checking if server is ready to serice requests ... unknown error 1 (1 hex).1
The instance at /etc/opt/novell/eDirectory/conf/nds.conf is upgraded successfully.
ERROR: /opt/novell/eDirectory/bin/ndsconfig return value =56."

Resolution

In the ndsconfig upgrade -c -a ' ' -j –config-file /etc/opt/novell/eDirectory/conf/ there is no admin listed after the -a. 
To resolve this edit the /etc/sysconfig/novell/oes-ldap file.
Most likely the XAD_TREE_ADMIN_CONTEXT is blank, but is is possible to have any of the three variables listed below with out a value.

CONFIG_LDAP_TREE_NAME="DSFW-TREE"
CONFIG_LDAP_ADMIN_CONTEXT="cn=Administrator,cn=Users,dc=novell,dc=com"
XAD_TREE_ADMIN_CONTEXT="cn=admin,o=novell"

If any of the three values are blank, populated it with the correct value for your tree.
Notice CONFIG_LDAP_ADMIN_CONTEXT="cn=Administrator,cn=Users,dc=novell,dc=com"
This is correct even though the administrator is located in  cn=Administrator,cn=Users,o=novell

Additional Information

Some customers have reported the same issue with a different error number
"ERROR: /opt/novell/eDirectory/bin/ndconfig return value = 68"
Following this TID has resolved the issue with an either error 56 or error 68.