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

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

On Debian possible default full paths are:

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

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