check_lft_balance.pl: 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/check_lft_balance.pl - from package: infiniband-diags

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