encode: 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/lib/news/bin/rnews.libexec/encode - from package: inn2-inews

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