kde4-menu: 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/kde4-menu - from package: kdebase-runtime

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

On Debian possible default full paths are:

/usr/bin/kde4-menu - from package: kde-runtime

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