lgagent: 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/lgagent - from package: ion

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