kmess: 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 Debian possible default full paths are:

/usr/bin/kmess - from package: kmess

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