msg2wims: 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/lib/wims/bin/msg2wims - from package: wims

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