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

/usr/sbin/yhsm-daemon - from package: yhsm-daemon

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