socks: 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 CentOS possible default full paths are:

/usr/bin/socks - from package: 3proxy

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