tor-resolve: 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/tor-resolve - from package: tor

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/tor-resolve - from package: tor

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