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

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

On Debian possible default full paths are:

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

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