ecalength: 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/ecalength - from package: ecatools

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