inspectsocks: 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/inspectsocks - from package: tsocks

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