impwagent: 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/impwagent - from package: im

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