ekglogs: 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/ekglogs - from package: ekg

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