ktp-log-viewer: 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/ktp-log-viewer - from package: kde-telepathy-text-ui

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