Transfer id migration fails during dib copy: ERROR 127 dsbk: command not found

  • 7005396
  • 25-Feb-2010
  • 27-Apr-2012

Environment

OES1SP2
eDirectory 8.8.2

OES2SP2
eDirectory 8.8.5

Migration wizard
novell-migration-gui-base-2.0.1-0.24
novell-migration-1.0.1-0.21
novell-migration-edirectory-0.1.0-58
novell-migration-gui-1.0.1-0.20

Situation

Transfer id migration fails during dib copy.  The migration.log shows the following:

INFO - ServerIDSwap:migedir:ssh -o BatchMode=yes -o ConnectionAttempts=5 root@192.168.1.140 dsbk backup -f /var/opt/novell/.edir_migrate/backup.nds -l /var/opt/novell/.edir_migrate/backup.log -t -b -c -o -w

INFO  - ServerIDSwap:migedir:ERROR 127: Backup failed on the source server. Cannot migrate successfully. View '192.168.1.140://var/opt/novell/.edir_migrate/backup.log' on the source server for more details - bash: line 1: dsbk: command not found.

The source server is OES1SP2 eDir 8.8.2
The target server is OES2SP2 eDir 8.8.5

If you manually run “dsbk backup -f /var/opt/novell/.edir_migrate/backup.nds -l /var/opt/novell/.edir_migrate/backup.log -t -b -c -o -w” dsbk will run correctly. The problem appears to be the migedir uses the old 8.7.3 path for dsbk and ndstrace (which is used by dsbk) and not the new path for 8.8.2

Resolution

The workaround is to create a symbolic link in the /usr/bin for dsbk

Example
ln -s usr/bin/dsbk /opt/novell/eDirectory/bin/dsbk

Open /opt/novell/eDirectory/bin/dsbk with vi or your favorite editor and add the complete patch to ndstrace -c "load dsbk"

Example
/opt/novell/eDirectory/bin/ndstrace -c"load dsbk"

Go back and re-run the dib copy in the migration wizard.