Ipmi

Supermicro 上的 IPMI Web 管理無法正常工作:“無法在 /dev/ipmi0 或 /dev/ipmi/0 或 /dev/ipmidev/0:…打開設備”和“無效通道 255”

  • February 26, 2015

對 centos 6.5 伺服器上的 IPMI 問題進行故障排除。具體來說,由於嘗試使用 IPMI LAN 設置時出現錯誤,我無法設置 IPMI Web 管理。

輸入 ipmitool lan print 時出現以下錯誤:

[root@]# ipmitool lan print
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
Get Channel Info command failed
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
Get Channel Info command failed
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
Get Channel Info command failed
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
Get Channel Info command failed
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
Get Channel Info command failed
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
Get Channel Info command failed
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
Get Channel Info command failed
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
Get Channel Info command failed
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
Get Channel Info command failed
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
Get Channel Info command failed
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
Get Channel Info command failed
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
Get Channel Info command failed
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
Get Channel Info command failed
Invalid Channel 255

幾乎所有 google/stackexchange 對這些問題的回答都會在此處找到答案ipmitool - 找不到 /dev/ipmi0 或 /dev/ipmidev/0,但是這個 supermicro 伺服器與我的其他 supermicro 伺服器載入的 ipmi 核心模組完全相同如下所示:

[root@SERVER_WITHOUT_WORKING_IPMI]# modprobe --showconfig | grep ipmi
alias platform:ipmi_si ipmi_devintf
[root@SERVER_WITH_WORKING_IPMI]# modprobe --showconfig | grep ipmi
alias platform:ipmi_si ipmi_devintf

因此,我懷疑這不是與核心模組相關的問題……

非常感謝您對此的任何幫助。請注意,此設備正在生產中,因此我必須小心“嘗試”。另請注意,我對 linux 比較陌生(這裡是網路工程師)。

謝謝大家…(這是我的第一篇文章!)

做了以下事情:

lsmod | grep ipmi

…這表明未載入 ipmi_devintf 模組。做了 modprobe 並載入了它,它工作了。

但是,即使我驗證了正確的網路配置,我仍然無法 ping ipmi 介面<–這是一個單獨的問題,我需要研究。

引用自:https://serverfault.com/questions/671701