myproxy-admin-query: 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/sbin/myproxy-admin-query - from package: myproxy-admin

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/sbin/myproxy-admin-query - from package: myproxy-admin
/usr/lib/debug/usr/sbin/myproxy-admin-query - from package: myproxy-dbg

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