kpsetool: 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/kpsetool - from package: texlive

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

On Debian possible default full paths are:

/usr/bin/kpsetool - from package: texlive-base

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