解決 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 比較陌生(這裡是網路工程師)。
謝謝大家...(這是我的第一篇文章!)
答案1
做了以下事情:
lsmod | grep ipmi
...這表示 ipmi_devintf 模組未載入。做了 modprobe 並加載了它並且它起作用了。
但是,即使我驗證了正確的網路配置,我仍然無法 ping ipmi 介面<--這是我需要研究的單獨問題。