kbuildsycoca: 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/kbuildsycoca - from package: kdelibs3

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