Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Based on a previous question, I installed ipmitool (yum install ipmitool).

Even after a reboot, though, i get the following error when trying to run ipmitool power status:

Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
Unable to get Chassis Power Status

Is this an OS/hardware issue (CentOS 6.3 x64 on a hosted machine in a remote datacenter - unsure on hardware vendor)? Or have I missed something more elemental in installing ipmitool?

share|improve this question
    
Does the system have IPMI-capable hardware (a system management controller or equivalent)? Is that hardware supported by the operating system? (If a kernel module is required for support, is it loaded?) –  voretaq7 Feb 19 '13 at 17:32
    
@voretaq7 - unsure, hence the qualifier that I do not know what hardware vendor (beyond basics) my server is :) –  warren Feb 19 '13 at 17:35
1  
Knowing such things is important -- lacking that knowledge you can try blindly loading all the IPMI kernel modules you can find as described in the answers below (but be aware that you might not have IPMI-capable hardware so it might not get you any results, and by loading modules you always have a (small) chance of knocking your system down in the process and would need someone to power cycle it) –  voretaq7 Feb 19 '13 at 17:39
    
Run dmidecode -t 1 -t -2 -t 3. Then read the output. –  Michael Hampton Feb 19 '13 at 17:41
    
Also, you may need to run ipmitool as root or with sudo (I get the same error message if I don't). –  Dennis Williamson Mar 5 at 20:43

2 Answers 2

up vote 8 down vote accepted

You probably need to load the IPMI kernel modules:

modprobe ipmi_devintf
modprobe ipmi_si

You can add these to /etc/modules to have them loaded automatically (just list the module names):

ipmi_devintf
ipmi_si
share|improve this answer
    
I don't have an /etc/modules - I have /etc/modprobe.d/*.conf: thoughts on which would be needed? –  warren Feb 19 '13 at 17:34
1  
@warren Just create it (I've described the format above). –  mgorven Feb 19 '13 at 17:36

Do you have the devices loaded ? You can load manually the modules : modprobe ipmi_devintf ; modprobe ipmi_si and check your logs

share|improve this answer
    
the first ran fine; the second kicked-back FATAL: Error inserting ipmi_si (/lib/modules/2.6.32-279.22.1.el6.x86_64/kernel/drivers/char/ipmi/ipmi_si.ko): No such device –  warren Feb 19 '13 at 17:33
    
OK it is maybe another impi driver. Check in the /lib/modules/2.6.32-279.22.1.el6.x86_64/kernel/drivers/char/ipmi/ directory which are available on your plateform –  Dom Feb 19 '13 at 17:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.