sockschain: 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

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/sockschain - from package: python-socksipychain

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