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

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