leafnode: 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/sbin/leafnode - from package: leafnode

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