hpidomain: 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/hpidomain - from package: openhpi32

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