opj_server: 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/opj_server - from package: libopenjpip-server

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