viewevents: 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/viewevents - from package: music-bin

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