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

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