ecryptfs-generate-tpm-key: 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/ecryptfs-generate-tpm-key - from package: ecryptfs-utils

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

On Debian possible default full paths are:

/usr/bin/ecryptfs-generate-tpm-key - from package: ecryptfs-utils

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