rqsh: 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/rqsh - from package: librdf-query-perl

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