tpm_updatepcrhash: 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/tpm_updatepcrhash - from package: tpm-quote-tools

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