migrate-ds.pl: 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 CentOS possible default full paths are:

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

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