ns3.17-raw-sock-creator: 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-raw-sock-creator - from package: ns3

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