qnodes: 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/qnodes - from package: torque-client

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