pq2-info-server: 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

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/pq2-info-server - from package: root-proof-pq2

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