lamexec: 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/lamexec - from package: lam-runtime

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