ibdiagpath: 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/ibdiagpath - from package: ibutils

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

On Debian possible default full paths are:

/usr/bin/ibdiagpath - from package: ibutils

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