pkcsslotd: 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/pkcsslotd - from package: opencryptoki

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

On Debian possible default full paths are:

/usr/sbin/pkcsslotd - from package: opencryptoki
/usr/lib/debug/usr/sbin/pkcsslotd - from package: opencryptoki-dbg

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