sge_qmaster: 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/sge_qmaster - from package: gridengine-qmaster
/usr/share/gridengine/bin/lx26-amd64/sge_qmaster - from package: gridengine-qmaster

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