uwsgi_lua52: 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/uwsgi_lua52 - from package: uwsgi-plugin-lua5.2

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