ecm-compress: 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/ecm-compress - from package: ecm

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