doctrine.php: 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/doctrine.php - from package: php-doctrine-orm

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