ipmi-detect: 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/ipmi-detect - from package: freeipmi

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

On Debian possible default full paths are:

/usr/sbin/ipmi-detect - from package: freeipmi-ipmidetect

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