>From a machine with actual ipmi support: $ lsmod | grep ipmi ipmi_ssif 36864 0 ipmi_si 65536 0 ipmi_devintf 20480 0 ipmi_msghandler 106496 3 ipmi_devintf,ipmi_si,ipmi_ssif
$ ll /dev/ipmi0 /dev/ipmi/0 /dev/ipmidev/0 ls: cannot access '/dev/ipmi/0': No such file or directory ls: cannot access '/dev/ipmidev/0': No such file or directory crw------- 1 root root 238, 0 Aug 24 06:27 /dev/ipmi0 $ sudo ipmitool lan print Set in Progress : Set Complete Auth Type Support : Auth Type Enable : Callback : ... But as one would expect without sudo: $ ipmitool lan print Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory But the same also triggers on systems without ipmi (obviously). So when I run it in a container or VM for example. So we now know this can happen: a) without root permissions (user error) b) on a system without ipmi (well, that is ok then) c) odd error we need to find (this would be worth to debug). Does your kernel create and populate any of these? $ ls -laF /dev/ipmi0 /dev/ipmi/0 /dev/ipmidev/0 And which modules are loaded? $ lsmod | grep ipmi Adding a kernel task for your reply to be seen there ** Also affects: linux (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1836701 Title: ubuntu18.04: ipmitool failed: Could not open device at /dev/ipmi0 : No such file or directory Status in ipmitool package in Ubuntu: Invalid Status in linux package in Ubuntu: Incomplete Bug description: ipmitool failed in-band #ipmitool lan print Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory And it work out-band: # ipmitool -H {theip} -I lanplus -U {user} -P {passwd} lan print Set in Progress : Set Complete Auth Type Support : NONE MD2 MD5 PASSWORD Auth Type Enable : Callback : MD2 MD5 PASSWORD : User : MD2 MD5 PASSWORD : Operator : MD2 MD5 PASSWORD : Admin : MD2 MD5 PASSWORD : OEM : MD2 MD5 PASSWORD IP Address Source : DHCP Address ... But the file exist: # ls -al /dev/ipmi0 crw------- 1 root root 240, 0 Jul 16 13:55 /dev/ipmi0 # cat /proc/devices | grep ipmidev 240 ipmidev packages that I installed: # dpkg -l | grep ipmi ii freeipmi-common 1.4.11-1.1ubuntu4.1 amd64 GNU implementation of the IPMI protocol - common files ii ipmitool 1.8.18-5ubuntu0.1 amd64 utility for IPMI control with kernel driver or LAN interface (daemon) ii libfreeipmi16 1.4.11-1.1ubuntu4.1 amd64 GNU IPMI - libraries ii libopenipmi0 2.0.22-1.1ubuntu2.1 amd64 Intelligent Platform Management Interface - runtime ii openipmi 2.0.22-1.1ubuntu2.1 amd64 Intelligent Platform Management Interface (for servers) the mods: # lsmod| grep ipmi_ ipmi_devintf 20480 0 ipmi_poweroff 16384 0 ipmi_watchdog 28672 0 ipmi_ssif 32768 0 ipmi_si 61440 0 ipmi_msghandler 53248 6 ipmi_devintf,ipmi_si,nvidia,ipmi_watchdog,ipmi_ssif,ipmi_poweroff the kernel: # uname -a Linux A16969628514217 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux the ubuntu version: # cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION="Ubuntu 18.04.2 LTS" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ipmitool/+bug/1836701/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp