metasql: 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/metasql - from package: openrpt

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