ns3.17-bench-packets: 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/ns3.17-bench-packets - from package: ns3

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