DSfW install fails associating DomainDNS object class with domain object

  • 7008427
  • 20-Apr-2011
  • 27-Apr-2012

Environment

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

Situation

The install of DSfW is failing when associating the DomainDNS object with the domain object.
eDirectory is previously configure on the server before the install of DSfW.

The provisioning log shows the following:

>>>Associating DomainDNS object class with domain object
>>>Triggering Limber
   Waiting for the changes to take effect
ldap_bind: Can't contact LDAP server (-1)
could not associate domain dns at /opt/novell/xad/lib64/perl/NDS/import.pm line 156.
 at /opt/novell/xad/lib64/perl/Logger.pm line 119
    Logger::_err('could not associate domain dns at /opt/novell/xad/lib64/perl/...') called at /opt/novell/xad/lib64/perl/Logger.pm line 202
    Logger::Log(0, 'could not associate domain dns at /opt/novell/xad/lib64/perl/...') called at /opt/novell/xad/lib64/perl/NDS/import.pm line 160
    import::domaindns_associate_online('frd_install=HASH(0x61c289)') called at /opt/novell/xad/share/dcinit/provision/provision_add_domainobj.pl line 34
2011-04-13 11:08:46,944 INFO  - Domain Object Addition:Finished Domain Object Addition.

Resolution

In the /var/log/YaST/y2log search for DoesDIBExist.  If you see the following then eDirectory is already configured. The DSfW install will fail if eDirectory is configured on the server.  eDirectory has to be installed and configured at the time of the DSfW install.

2011-03-12 15:21:45 <1> DSFW-S1(20000) [YCP] Edirectory.ycp:818 eDirectory.DoesDIBExist:executing:/opt/novell/eDirectory/bin/ndsconfig get n4u.nds.dibdir |  tr -d "\n"
2011-03-12 15:21:45 <1> DSFW-S1(20000) [YCP] Edirectory.ycp:826 eDirectory.DoesDIBExist:ndsconfig reports the dib located at /var/opt/novell/eDirectory/data/dibDone
2011-03-12 15:21:45 <1> DSFW-S1(20000) [YCP] Edirectory.ycp:843 eDirectory.DoesDIBExist:eDirectory DIB at /var/opt/novell/eDirectory/data/dibDone has size -1
2011-03-12 15:21:45 <1> DSFW-S1(20000) [YCP] NovellUtils.ycp:322 Executing: ps -ef | grep ndsd | grep -v grep | wc -l | tr -d "\n"
2011-03-12 15:21:46 <1> DSFW-S1(20000) [YCP] NovellUtils.ycp:333 NovellUtils::IseDirRunning() returned: true
2011-03-12 15:21:46 <1> DSFW-S1(20000) [YCP] Edirectory.ycp:390 Edirectory::SoftwareInstalled() returned true
2011-03-12 15:21:46 <1> DSFW-S1(20000) [YCP] Edirectory.ycp:1908 eDirectory:ReadeDirectory upgrade/reconfigure data: DIB exists = false, eDir running = true, upgradeMode = false, upgradeModeOES2 = false, upgradeModeOES2Sp0 = false, eDirInstalled = true, xadInstalled = true


Further in the y2log eDirectory install will fail along with XAD

ndsconfig add -c -t 'DSFW_TREE' -n 'ou=OESSystemObjects.o=novell' -a 'cn=admin.o=novell' -p 192.168.0.2:524 -d /var/opt/novell/eDirectory/data/dib -D /var/opt/novell/eDirectory -m no_ss -B 192.168.0.3@524 -L 389 -l 636 -o 8028 -O 8030 -e -R --config-file /etc/opt/novell/eDirectory/conf/nds.conf
2011-03-12 15:27:21 <1> DSFW-S1(20000) [YCP] Edirectory.ycp:3422 eDirectory:RunNDSconfig:ndsconfig output:Map Value:
$["exit":2, "stderr":"", "stdout":"An instance of eDirectory already exists at /etc/opt/novell/eDirectory/conf/nds.conf.\nERROR: /opt/novell/eDirectory/bin/ndsconfig return value = 2.\n"]
2011-03-12 15:27:21 <1> DSFW-S1(20000) [YCP] Edirectory.ycp:2891 Edirectory.WriteEdirFailedFile:writing out /opt/novell/oes-install/edirretryfailure file.
2011-03-12 15:27:21 <3> DSFW-S1(20000) [Interpreter] Edirectory.ycp:2897 Argument (nil) to Write(...) is nil
2011-03-12 15:27:21 <1> DSFW-S1(20000) [YCP] NovellUtils.ycp:1081 NovellUtils::PopupErrorDetails(ndsconfig failed to configure and start eDirectory.
, $["cmd":"/opt/novell/eDirectory/bin/ndsconfig add -c -t 'DSFW_TREE' -n 'ou=OESSystemObjects.o=novell' -a 'cn=admin.o=novell' -p 192.168.0.2:524 -d /var/opt/novell/eDirectory/data/dib -D /var/opt/novell/eDirectory -m no_ss -B 192.168.0.3@524 -L 389 -l 636 -o 8028 -O 8030 -e -R --config-file /etc/opt/novell/eDirectory/conf/nds.conf", "exit":2, "stderr":"", "stdout":"An instance of eDirectory already exists at /etc/opt/novell/eDirectory/conf/nds.conf.\nERROR: /opt/novell/eDirectory/bin/ndsconfig return value = 2.\n"], /opt/novell/eDirectory/bin/ndsconfig add -c -t 'DSFW_TREE' -n 'ou=OESSystemObjects.o=novell' -a 'cn=admin.o=novell' -p 192.168.0.2:524 -d /var/opt/novell/eDirectory/data/dib -D /var/opt/novell/eDirectory -m no_ss -B 192.168.0.3@524 -L 389 -l 636 -o 8028 -O 8030 -e -R --config-file /etc/opt/novell/eDirectory/conf/nds.conf)
2011-03-12 15:27:21 <1> DSFW-S1(20000) [ui-shortcuts] YShortcutManager.cc(checkShortcuts):96 No valid shortcut for YPushButton "Details"
2011-03-12 15:27:27 <1> DSFW-S1(20000) [YCP] Edirectory.ycp:3042 Edirectory::EdirFailed() returned: `abort

2011-03-12 15:38:37 <3> DSFW-S1(27000) [YCP] Edirectory.ycp:3771 Failed to configure XAD!


DSfW can not be installed on an existing OES server or server with eDirectory.  Please install DSfW on a new install of OES.