saquery: 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/saquery - from package: infiniband-diags

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

On Debian possible default full paths are:

/usr/sbin/saquery - from package: infiniband-diags

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