tpm_setactive: 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/sbin/tpm_setactive - from package: tpm-tools

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

On Debian possible default full paths are:

/usr/sbin/tpm_setactive - from package: tpm-tools

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