file2sock: 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/file2sock - from package: ndoutils-common

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