mgpembed: 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

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/mgpembed - from package: mgp

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