hal-find-by-capability: 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/hal-find-by-capability - from package: hal

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