yhsm-init-oath-token: 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

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 Debian possible default full paths are:

/usr/sbin/yhsm-init-oath-token - from package: yhsm-validation-server

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