migrate-ds: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/sbin/migrate-ds - from package: 389-ds-base

You may install the required package with command apt-get install {package}
Error in other languages:
migrate-ds: bevel nie gevind nie
migrate-ds: comandă negăsită
migrate-ds: comando não encontrado
migrate-ds: commande introuvable
migrate-ds: command not found
migrate-ds: käsku ei ole
migrate-ds: không tìm thấy lệnh
migrate-ds: komanda nerasta
migrate-ds: Kommando nicht gefunden.
migrate-ds: kommandot finns inte
migrate-ds: komut yok
migrate-ds: nie znaleziono polecenia
migrate-ds: níor aimsíodh an t-ordú
migrate-ds: no se encontró la orden
migrate-ds: no s'ha trobat l'ordre
migrate-ds: opdracht niet gevonden
migrate-ds: parancs nem található
migrate-ds: perintah tidak ditemukan
migrate-ds: príkaz nenájdený
migrate-ds: příkaz nenalezen
migrate-ds: команда не найдена
migrate-ds: командата не е открита
migrate-ds: 命令找不到
migrate-ds: コマンドが見つかりません