In the middle of my ssh session, the server froze and it went offline. I plugged in the monitor to the server and there’s no display either. I had to restart to bring the server back online. This has happened earlier too, but last time the server was idle in the night, and when I checked in the morning, it was offline.
What could have happened? What logs do I need to look for?
I removed the wifi pcie adapter and just using ethenet. The server went offline again last night. Please find below the logs from /var/log/messages.
Jun 7 09:50:45 localhost systemd[1]: Starting dnf makecache…
Jun 7 09:50:46 localhost dnf[13037]: AlmaLinux 9 - AppStream 6.4 kB/s | 4.1 kB 00:00
Jun 7 09:50:46 localhost dnf[13037]: AlmaLinux 9 - BaseOS 7.9 kB/s | 3.8 kB 00:00
Jun 7 09:50:47 localhost dnf[13037]: AlmaLinux 9 - Extras 5.5 kB/s | 3.8 kB 00:00
Jun 7 09:50:47 localhost dnf[13037]: Docker CE Stable - x86_64 22 kB/s | 3.5 kB 00:00
Jun 7 09:50:47 localhost dnf[13037]: Metadata cache created.
Jun 7 09:50:47 localhost systemd[1]: dnf-makecache.service: Deactivated successfully.
Jun 7 09:50:47 localhost systemd[1]: Finished dnf makecache.
Jun 7 10:27:20 localhost cupsd[1286]: REQUEST localhost - - “POST / HTTP/1.1” 200 182 Renew-Subscription successful-ok
Jun 7 10:53:36 localhost auditd[1052]: Audit daemon rotating log files
Jun 7 10:58:40 localhost dnf[14313]: Metadata cache refreshed recently.
Jun 7 10:58:40 localhost systemd[1]: dnf-makecache.service: Deactivated successfully.
Jun 7 10:58:40 localhost systemd[1]: Finished dnf makecache.
Jun 7 10:58:40 localhost systemd[1]: Starting dnf makecache…
Jun 7 11:25:40 localhost cupsd[1286]: REQUEST localhost - - “POST / HTTP/1.1” 200 182 Renew-Subscription successful-ok
Jun 7 12:04:41 localhost systemd[1]: Starting dnf makecache…
Jun 7 12:04:42 localhost dnf[15192]: Metadata cache refreshed recently.
Jun 7 12:04:42 localhost systemd[1]: dnf-makecache.service: Deactivated successfully.
Jun 7 12:04:42 localhost systemd[1]: Finished dnf makecache.
Jun 7 12:24:00 localhost cupsd[1286]: REQUEST localhost - - “POST / HTTP/1.1” 200 182 Renew-Subscription successful-ok
Jun 7 13:22:20 localhost cupsd[1286]: REQUEST localhost - - “POST / HTTP/1.1” 200 182 Renew-Subscription successful-ok
Jun 7 13:33:08 localhost dnf[16331]: AlmaLinux 9 - AppStream 6.2 kB/s | 4.1 kB 00:00
Jun 7 13:33:08 localhost systemd[1]: Starting dnf makecache…
Jun 7 13:33:09 localhost dnf[16331]: AlmaLinux 9 - BaseOS 5.8 kB/s | 3.8 kB 00:00
Jun 7 13:33:10 localhost dnf[16331]: AlmaLinux 9 - Extras 7.5 kB/s | 3.8 kB 00:00
Jun 7 13:33:10 localhost dnf[16331]: Docker CE Stable - x86_64 27 kB/s | 3.5 kB 00:00
Jun 7 13:33:10 localhost dnf[16331]: Metadata cache created.
Jun 7 13:33:10 localhost systemd[1]: dnf-makecache.service: Deactivated successfully.
Jun 7 13:33:10 localhost systemd[1]: Finished dnf makecache.
Jun 7 14:20:40 localhost cupsd[1286]: REQUEST localhost - - “POST / HTTP/1.1” 200 182 Renew-Subscription successful-ok
Jun 7 15:15:16 localhost dnf[17848]: Metadata cache refreshed recently.
Jun 7 15:15:16 localhost systemd[1]: dnf-makecache.service: Deactivated successfully.
Jun 7 15:15:16 localhost systemd[1]: Finished dnf makecache.
Jun 7 15:15:16 localhost systemd[1]: Starting dnf makecache…
Jun 7 15:19:00 localhost cupsd[1286]: REQUEST localhost - - “POST / HTTP/1.1” 200 182 Renew-Subscription successful-ok
Jun 7 16:17:20 localhost cupsd[1286]: REQUEST localhost - - “POST / HTTP/1.1” 200 182 Renew-Subscription successful-ok
Jun 7 16:31:48 localhost dnf[18775]: Metadata cache refreshed recently.
Jun 7 16:31:48 localhost systemd[1]: dnf-makecache.service: Deactivated successfully.
Jun 7 16:31:48 localhost systemd[1]: Finished dnf makecache.
Jun 7 16:31:48 localhost systemd[1]: Starting dnf makecache…
Jun 7 17:15:40 localhost cupsd[1286]: REQUEST localhost - - “POST / HTTP/1.1” 200 182 Renew-Subscription successful-ok
Jun 7 17:42:56 localhost dnf[20220]: AlmaLinux 9 - AppStream 6.8 kB/s | 4.1 kB 00:00
Jun 7 17:42:56 localhost systemd[1]: Starting dnf makecache…
Jun 7 17:42:57 localhost dnf[20220]: AlmaLinux 9 - BaseOS 7.6 kB/s | 3.8 kB 00:00
Jun 7 17:42:57 localhost dnf[20220]: AlmaLinux 9 - Extras 7.1 kB/s | 3.8 kB 00:00
Jun 7 17:42:57 localhost dnf[20220]: Docker CE Stable - x86_64 25 kB/s | 3.5 kB 00:00
Jun 7 17:42:58 localhost dnf[20220]: Metadata cache created.
Jun 7 17:42:58 localhost systemd[1]: dnf-makecache.service: Deactivated successfully.
Jun 7 17:42:58 localhost systemd[1]: Finished dnf makecache.
Jun 7 18:14:00 localhost cupsd[1286]: REQUEST localhost - - “POST / HTTP/1.1” 200 182 Renew-Subscription successful-ok
Jun 7 19:12:20 localhost cupsd[1286]: REQUEST localhost - - “POST / HTTP/1.1” 200 182 Renew-Subscription successful-ok
Jun 7 19:31:44 localhost dnf[22111]: Metadata cache refreshed recently.
Jun 7 19:31:44 localhost systemd[1]: dnf-makecache.service: Deactivated successfully.
Jun 7 19:31:44 localhost systemd[1]: Finished dnf makecache.
Jun 7 19:31:44 localhost systemd[1]: Starting dnf makecache…
Jun 7 20:10:40 localhost cupsd[1286]: REQUEST localhost - - “POST / HTTP/1.1” 200 182 Renew-Subscription successful-ok
Jun 7 20:19:34 localhost auditd[1052]: Audit daemon rotating log files
Jun 7 21:09:00 localhost cupsd[1286]: REQUEST localhost - - “POST / HTTP/1.1” 200 182 Renew-Subscription successful-ok
Jun 7 21:14:03 localhost systemd[1]: Starting dnf makecache…
Jun 7 21:14:04 localhost dnf[23137]: AlmaLinux 9 - AppStream 4.5 kB/s | 4.1 kB 00:00
Jun 7 21:14:04 localhost dnf[23137]: AlmaLinux 9 - BaseOS 7.5 kB/s | 3.8 kB 00:00
Jun 7 21:14:05 localhost dnf[23137]: AlmaLinux 9 - Extras 5.8 kB/s | 3.8 kB 00:00
Jun 7 21:14:05 localhost dnf[23137]: Docker CE Stable - x86_64 20 kB/s | 3.5 kB 00:00
Jun 7 21:14:05 localhost dnf[23137]: Metadata cache created.
Jun 7 21:14:05 localhost systemd[1]: dnf-makecache.service: Deactivated successfully.
Jun 7 21:14:05 localhost systemd[1]: Finished dnf makecache.
Jun 7 21:38:16 localhost systemd[1804]: Finished Cleanup of User’s Temporary Files and Directories.
Jun 7 21:38:16 localhost systemd[1804]: Starting Cleanup of User’s Temporary Files and Directories…
Jun 7 21:47:06 localhost systemd[1]: Finished Cleanup of Temporary Directories.
Jun 7 21:47:06 localhost systemd[1]: run-credentials-systemd\x2dtmpfiles\x2dclean.service.mount: Deactivated successfully.
Jun 7 21:47:06 localhost systemd[1]: Starting Cleanup of Temporary Directories…
Jun 7 21:47:06 localhost systemd[1]: systemd-tmpfiles-clean.service: Deactivated successfully.
Jun 7 22:07:20 localhost cupsd[1286]: REQUEST localhost - - “POST / HTTP/1.1” 200 182 Renew-Subscription successful-ok
Jun 7 22:31:59 localhost dnf[23402]: Metadata cache refreshed recently.
Jun 7 22:31:59 localhost systemd[1]: dnf-makecache.service: Deactivated successfully.
Jun 7 22:31:59 localhost systemd[1]: Finished dnf makecache.
Jun 7 22:31:59 localhost systemd[1]: Starting dnf makecache…
Jun 7 23:05:40 localhost cupsd[1286]: REQUEST localhost - - “POST / HTTP/1.1” 200 182 Renew-Subscription successful-ok
Note: Another logline that was recurring thousands of times was ‘ssh-rsa algorithm is disabled’; which I removed from the above section before pasting here.