qsh: 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 CentOS possible default full paths are:

/usr/bin/qsh - from package: gridengine
/usr/share/gridengine/bin/lx26-amd64/qsh - from package: gridengine
/usr/share/gridengine/bin/lx26-x86/qsh - from package: gridengine

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