texhash: 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/texhash - from package: texlive

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

On Debian possible default full paths are:

/usr/bin/texhash - from package: texlive-binaries

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