Centos 7.6 ipmitool 启动报错 Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
刚安装完ipmitool 执行报错
先查看lsmod | grep -i ipmi
需要添加如下:
[root@localhost ~]# modprobe ipmi_watchdog
[root@localhost ~]# modprobe ipmi_poweroff
[root@localhost ~]# modprobe ipmi_devintf
[root@localhost ~]# modprobe ipmi_si
[root@localhost ~]# modprobe ipmi_msghandler
再次执行
注意:
手动添加的系统重启就失效了,需要写到配置文件或者脚本里面