kcstashtest: 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/kcstashtest - from package: kyotocabinet

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

On Debian possible default full paths are:

/usr/bin/kcstashtest - from package: kyotocabinet-utils

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