yhsm-db-export: 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-db-export - from package: yhsm-yubikey-ksm

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