envdir: 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/envdir - from package: daemontools

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