Is it possible to clear the DMI event log (the one that gets partially shown by
dmidecode --type 15) from Linux ?
I know it can be cleared from the bios but it is a server in a remote location and I'd like to avoid the downtime of a reboot.
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
SEL (System Event Log) can be cleared from Linux. Depending on which interfaces you have available will determine how it can be done.
My supermirco workstation as well as most servers have IPMI. You can check if your system registered an IPMI device with dmidecode.
dmidecode --type 38
Failure to query the interface, does not necessarily mean your system lacks an IPMI interface. Just a quick way to verify if it definitely does.
To use IPMI, install openipmi. You will have to start the service first, which is named differently distro to distro.
to clear, run (w/ su/sudo)
$ ipmitool sel clear
If openipmi does not work, you can also try freeipmi. I have heard freeipmi is very solid and has a really good direct (driverless) KCS or SSIF interface.
once you installed freeipmi, make sure to load i2c-dev and i2c-core with modprobe. You will also need to load your chipset dependant i2c-#DRIVER. For example, i2c-viapro or i2c-i810.
Once you load those modules, try running,
FreeIPMI, has the command ipmi-sel. Which, in addition to other options, would be run with --clear.
If you are running from a PC that does not support either open or free ipmi, I'm not exactly sure where to go from there.