migrate: 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/bin/migrate - from package: python-migrate

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