1

A distant server computer is keeping rebooting and I'm unable to find the reason for it. Has anyone any idea? Maybe a PSU or electrical power grid failure?

There is no cronjob running which might initiate a reboot. Disk drive is not full.

uname -a

Linux myserver 4.15.0-142-generic #146-Ubuntu SMP Tue Apr 13 01:11:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

last -x|head --lines=40|tac and many more reboots

runlevel (to lvl 5)   4.15.0-142-gener Tue Jul 20 20:17 - 20:39  (00:22)
reboot   system boot  4.15.0-142-gener Tue Jul 20 20:39   still running
runlevel (to lvl 5)   4.15.0-142-gener Tue Jul 20 20:39 - 20:42  (00:02)
reboot   system boot  4.15.0-142-gener Tue Jul 20 20:42   still running
runlevel (to lvl 5)   4.15.0-142-gener Tue Jul 20 20:42 - 20:48  (00:05)
reboot   system boot  4.15.0-142-gener Tue Jul 20 20:47   still running
runlevel (to lvl 5)   4.15.0-142-gener Tue Jul 20 20:48 - 21:20  (00:32)
reboot   system boot  4.15.0-142-gener Tue Jul 20 21:17   still running
reboot   system boot  4.15.0-142-gener Tue Jul 20 21:20   still running
runlevel (to lvl 5)   4.15.0-142-gener Tue Jul 20 21:20 - 21:31  (00:10)
reboot   system boot  4.15.0-142-gener Tue Jul 20 21:30   still running
runlevel (to lvl 5)   4.15.0-142-gener Tue Jul 20 21:31 - 21:34  (00:02)
reboot   system boot  4.15.0-142-gener Tue Jul 20 21:33   still running
runlevel (to lvl 5)   4.15.0-142-gener Tue Jul 20 21:34 - 21:52  (00:17)
reboot   system boot  4.15.0-142-gener Tue Jul 20 21:51   still running
runlevel (to lvl 5)   4.15.0-142-gener Tue Jul 20 21:52 - 22:09  (00:16)
reboot   system boot  4.15.0-142-gener Tue Jul 20 22:08   still running
runlevel (to lvl 5)   4.15.0-142-gener Tue Jul 20 22:09 - 23:08  (00:59)
reboot   system boot  4.15.0-142-gener Tue Jul 20 23:07   still running
runlevel (to lvl 5)   4.15.0-142-gener Tue Jul 20 23:08 - 23:17  (00:08)
reboot   system boot  4.15.0-142-gener Tue Jul 20 23:16   still running
runlevel (to lvl 5)   4.15.0-142-gener Tue Jul 20 23:17 - 23:24  (00:07)
reboot   system boot  4.15.0-142-gener Tue Jul 20 23:24   still running
runlevel (to lvl 5)   4.15.0-142-gener Tue Jul 20 23:24 - 23:30  (00:05)
reboot   system boot  4.15.0-142-gener Tue Jul 20 23:29   still running
runlevel (to lvl 5)   4.15.0-142-gener Tue Jul 20 23:30 - 04:16  (04:45)
reboot   system boot  4.15.0-142-gener Wed Jul 21 04:15   still running
runlevel (to lvl 5)   4.15.0-142-gener Wed Jul 21 04:16 - 04:21  (00:05)
reboot   system boot  4.15.0-142-gener Wed Jul 21 04:20   still running
runlevel (to lvl 5)   4.15.0-142-gener Wed Jul 21 04:21 - 04:41  (00:20)
reboot   system boot  4.15.0-142-gener Wed Jul 21 04:41   still running
runlevel (to lvl 5)   4.15.0-142-gener Wed Jul 21 04:41 - 04:49  (00:07)
reboot   system boot  4.15.0-142-gener Wed Jul 21 04:49   still running
runlevel (to lvl 5)   4.15.0-142-gener Wed Jul 21 04:49 - 05:39  (00:50)
reboot   system boot  4.15.0-142-gener Wed Jul 21 05:39   still running
runlevel (to lvl 5)   4.15.0-142-gener Wed Jul 21 05:39   still running
admin  pts/0        10.199.0.6       Wed Jul 21 08:46 - 09:15  (00:29)
admin  pts/0        10.199.0.6       Wed Jul 21 09:16 - 09:17  (00:01)
admin  pts/0        10.199.0.6       Wed Jul 21 09:25 - 09:30  (00:04)
admin  pts/0        10.199.0.6       Wed Jul 21 09:34   still logged in

journalctl -a no reboot reason is logged, is it maybe a PSU failure?

...
Jul 21 04:13:59 myserver systemd[1]: Failed to start OpenVPN connection to inst.
Jul 21 04:15:43 myserver kernel: microcode: microcode updated early to revision 0xde, date = 2020-05-26
Jul 21 04:15:43 myserver kernel: Linux version 4.15.0-142-generic (buildd@lgw01-amd64-036) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #146-Ubuntu SMP Tue Apr 13 01:11:19 UTC 2021 (Ubuntu 4.15.0-142.146-generic 4.15.18)
...
Jul 21 04:18:54 myserver freshclam[1474]: Wed Jul 21 04:18:54 2021 -> !Update failed.
Jul 21 04:20:57 myserver kernel: microcode: microcode updated early to revision 0xde, date = 2020-05-26
Jul 21 04:20:57 myserver kernel: Linux version 4.15.0-142-generic (buildd@lgw01-amd64-036) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #146-Ubuntu SMP Tue Apr 13 01:11:19 UTC 2021 (Ubuntu 4.15.0-142.146-generic 4.15.18)
...
Jul 21 04:39:35 myserver systemd[1]: Failed to start OpenVPN connection to inst.
Jul 21 04:41:18 myserver kernel: microcode: microcode updated early to revision 0xde, date = 2020-05-26
Jul 21 04:41:18 myserver kernel: Linux version 4.15.0-142-generic (buildd@lgw01-amd64-036) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #146-Ubuntu SMP Tue Apr 13 01:11:19 UTC 2021 (Ubuntu 4.15.0-142.146-generic 4.15.18)
...
Jul 21 04:44:40 myserver systemd[1]: Failed to start OpenVPN connection to inst.
Jul 21 04:49:05 myserver kernel: microcode: microcode updated early to revision 0xde, date = 2020-05-26
Jul 21 04:49:05 myserver kernel: Linux version 4.15.0-142-generic (buildd@lgw01-amd64-036) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #146-Ubuntu SMP Tue Apr 13 01:11:19 UTC 2021 (Ubuntu 4.15.0-142.146-generic 4.15.18)
...
Jul 21 05:34:30 myserver userappXYZ[1488]: 2021-07-21 05:34:30.689 OK
Jul 21 05:39:21 myserver kernel: microcode: microcode updated early to revision 0xde, date = 2020-05-26
Jul 21 05:39:21 myserver kernel: Linux version 4.15.0-142-generic (buildd@lgw01-amd64-036) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #146-Ubuntu SMP Tue Apr 13 01:11:19 UTC 2021 (Ubuntu 4.15.0-142.146-generic 4.15.18)
...

dmesg|grep -Ei 'warning|error|panic' looks not suspicious

[    0.000000] ACPI Error: [\_SB_.PCI0.XHC_.RHUB.HS11] Namespace lookup failure, AE_NOT_FOUND (20170831/dswload-210)
[    0.000000] ACPI Error: 1 table load failures, 6 successful (20170831/tbxfload-246)
[    0.072911] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
[    0.705259] ERST: Error Record Serialization Table (ERST) support is initialized.
[    0.758641] RAS: Correctable Errors collector initialized.
[   35.215320] random: 3 urandom warning(s) missed due to ratelimiting
[   40.020347] EXT4-fs (dm-0): re-mounted. Opts: errors=remount-ro

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.