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

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

On Debian possible default full paths are:

/usr/bin/kpsestat - from package: texlive-binaries

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