ACPI 日志重启

ACPI 日志重启

我尝试谷歌搜索,但没有找到有用的信息。我尝试调试我的服务器为什么会重启。我有一些来自 ACPI 的日志。根据这个日志,有人按下了我服务器上的电源按钮吗?

[root ~]# grep -i acpi /var/log/messages-20150726

Jul 25 04:10:33 node-dev kernel: [ 0.607577] pnp: PnP ACPI init
Jul 25 04:10:33 node kernel: [ 0.607589] ACPI: bus type pnp registered
Jul 25 04:10:33 node-dev kernel: [ 0.609994] pnp: PnP ACPI: found 14
devices
Jul 25 04:10:33 node-dev kernel: [ 0.609996] ACPI: ACPI bus type pnp
unregistered
Jul 25 04:10:33 node-dev kernel: [ 0.970521] acpiphp: ACPI Hot Plug
PCI Controller Driver version: 0.5
Jul 25 04:10:33 node-dev kernel: [ 0.971123] ACPI: Power Button [PWRB]
Jul 25 04:10:33 node-dev kernel: [ 0.971171] ACPI: Power Button [PWRF]
Jul 25 04:10:33 node-dev kernel: [ 0.972378] ACPI: SSDT
00000000bf79ffa0 007DD (v01 PmRef P001Cst 00003001 INTL 20051117)
Jul 25 04:10:33 node-dev kernel: [ 7.786393] ACPI Warning: SystemIO
range 0x0000000000000828-0x000000000000082f conflicts with OpRegion
0x0000000000000800-0x000000000000084f (\PMRG) (20090903/utaddress-254)
Jul 25 04:10:33 node-dev kernel: [ 7.786402] ACPI: If an ACPI driver
is available for this device, you should use it instead of the native driver

更新:

我得到了一些关于那个时间的信息日志:

I get some info log about that time:



    [root ~]# who -b 
    system boot 2015-07-25 04:10 

    [root ~]# last -x reboot 
    reboot system boot 2.6.32-042stab10 Sat Jul 25 04:10 - 20:10


   [root@node-dev ~]# grep tty /var/log/messages*
    /var/log/messages-20150726:Jul 25 04:10:33 node-dev kernel: [    0.000000] console [tty0] enabled
    /var/log/messages-20150726:Jul 25 04:10:33 node-dev kernel: [    1.236001] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    /var/log/messages-20150726:Jul 25 04:10:33 node-dev kernel: [    1.480012] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
    /var/log/messages-20150726:Jul 25 04:10:33 node-dev kernel: [    1.480270] 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    /var/log/messages-20150726:Jul 25 04:10:33 node-dev kernel: [    1.480393] 00:08: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
    /var/log/messages-20150726:Jul 25 07:52:18 node-dev init: tty (/dev/tty1) main process ended, respawning

答案1

根据此输出,似乎确实有人按下了电源按钮,但这也可以虚拟地完成,具体取决于使用 IPMI 或某种 OOB 管理接口(如 KVM,如果配置正确)的系统功能。如果系统具有某种 BMC 和/或 IPMI 接口,您应该能够使用 访问服务器/系统事件日志 (SEL) impitool <relevant connection options> sel list访问 SEL可能会为您提供有关重启时发生的情况的更多信息。

答案2

我得到了一些关于那个时间的信息日志:

[root ~]# who -b
         system boot  2015-07-25 04:10
[root ~]# last -x reboot
reboot   system boot  2.6.32-042stab10 Sat Jul 25 04:10 - 20:10 


[root ~]# grep tty /var/log/messages*
/var/log/messages-20150726:Jul 25 04:10:33 node-dev kernel: [    0.000000] console [tty0] enabled
/var/log/messages-20150726:Jul 25 04:10:33 node-dev kernel: [    1.236001] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
/var/log/messages-20150726:Jul 25 04:10:33 node-dev kernel: [    1.480012] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
/var/log/messages-20150726:Jul 25 04:10:33 node-dev kernel: [    1.480270] 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
/var/log/messages-20150726:Jul 25 04:10:33 node-dev kernel: [    1.480393] 00:08: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
/var/log/messages-20150726:Jul 25 07:52:18 node-dev init: tty (/dev/tty1) main process ended, respawning

相关内容