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

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

On Debian possible default full paths are:

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

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