我安装了一个新的 Ubuntu Server v23.10(无头运行,没有屏幕/键盘)当我尝试重新启动服务器时,系统不会重新启动(使用“shutdown -r now”或“reboot”)它只是等待我按下电源按钮
奇怪的是,当我将键盘连接到系统时,重启工作正常
我尝试手动加载模块 hid、usbhid 和 hid_generic,但没有成功
有人知道如何修复这个问题吗?
root@ubuntuserver:~# journalctl -b -1 -e
feb 09 13:11:31 ubuntuserver systemd[1]: Unmounted snap-gnome\x2b44\x2b4404-141.mount - Mount unit for gnome-42-2204, revision 141.
feb 09 13:11:31 ubuntuserver systemd[1]: snap-gtk\x2dcommon\x2dthemes-1535.mount: Deactivated successfully.
feb 09 13:11:31 ubuntuserver systemd[1]: Unmounted snap-gtk\x2dcommon\x2dthemes-1535.mount - Mount unit for gtk-common-themes, revision 1535.
feb 09 13:11:31 ubuntuserver systemd[1]: snap-lxd-25846.mount: Deactivated successfully.
feb 09 13:11:31 ubuntuserver systemd[1]: Unmounted snap-lxd-25846.mount - Mount unit for lxd, revision 25846.
feb 09 13:11:31 ubuntuserver systemd[1]: snap-lxd-26200.mount: Deactivated successfully.
feb 09 13:11:31 ubuntuserver systemd[1]: Unmounted snap-lxd-26200.mount - Mount unit for lxd, revision 26200.
feb 09 13:11:31 ubuntuserver systemd[1]: snap-snapd-20290.mount: Deactivated successfully.
feb 09 13:11:31 ubuntuserver systemd[1]: Unmounted snap-snapd-20290.mount - Mount unit for snapd, revision 20290.
feb 09 13:11:31 ubuntuserver systemd[1]: snap-snapd-20671.mount: Deactivated successfully.
feb 09 13:11:31 ubuntuserver systemd[1]: Unmounted snap-snapd-20671.mount - Mount unit for snapd, revision 20671.
feb 09 13:11:31 ubuntuserver systemd[1]: Stopped target snapd.mounts-pre.target - Mounting snaps.
feb 09 13:11:31 ubuntuserver systemd[1]: Unmounting boot.mount - /boot...
feb 09 13:11:31 ubuntuserver systemd[1]: Unmounting run-snapd-ns.mount - /run/snapd/ns...
feb 09 13:11:31 ubuntuserver systemd[1]: Unmounting snap.mount - Ensure that the snap directory shares mount events....
feb 09 13:11:31 ubuntuserver systemd[1]: systemd-fsck@dev-disk-by\x2duuid-EAD6\x2dFE46.service: Deactivated successfully.
feb 09 13:11:31 ubuntuserver systemd[1]: Stopped systemd-fsck@dev-disk-by\x2duuid-EAD6\x2dFE46.service - File System Check on /dev/disk/by-uuid/EAD6-FE46.
feb 09 13:11:31 ubuntuserver systemd[1]: systemd-fsck@dev-disk-by\x2duuid-d405a30c\x2d79bb\x2d4a00\x2dafb3\x2df1d02f5cb248.service: Deactivated successfully.
feb 09 13:11:31 ubuntuserver systemd[1]: Stopped systemd-fsck@dev-disk-by\x2duuid-d405a30c\x2d79bb\x2d4a00\x2dafb3\x2df1d02f5cb248.service - File System Check on /dev/disk/by-uuid/d405a30c-79bb-4a00-afb>
feb 09 13:11:31 ubuntuserver kernel: EXT4-fs (nvme0n1p2): unmounting filesystem cffb030ce-806a-4312-bd69-abc345d0a404.
feb 09 13:11:31 ubuntuserver systemd[1]: run-snapd-ns.mount: Deactivated successfully.
feb 09 13:11:31 ubuntuserver systemd[1]: Unmounted run-snapd-ns.mount - /run/snapd/ns.
feb 09 13:11:31 ubuntuserver systemd[1]: boot.mount: Deactivated successfully.
feb 09 13:11:31 ubuntuserver systemd[1]: Unmounted boot.mount - /boot.
feb 09 13:11:31 ubuntuserver systemd[1]: Stopped target swap.target - Swaps.
feb 09 13:11:31 ubuntuserver systemd[1]: Deactivating swap swap.img.swap - /swap.img...
feb 09 13:11:31 ubuntuserver systemd[1]: systemd-fsck@dev-disk-by\x2duuid-cffb030ce\x2d806a\x2d4312\x2dbd69\x2abce345d0a404.service: Deactivated successfully.
feb 09 13:11:31 ubuntuserver systemd[1]: Stopped systemd-fsck@dev-disk-by\x2duuid-cffb030ce\x2d806a\x2d4312\x2dbd69\x2abce345d0a404.service - File System Check on /dev/disk/by-uuid/cffb030ce-806a-4312-bd6>
feb 09 13:11:31 ubuntuserver systemd[1]: Removed slice system-systemd\x2dfsck.slice - Slice /system/systemd-fsck.
feb 09 13:11:31 ubuntuserver systemd[1]: snap.mount: Deactivated successfully.
feb 09 13:11:31 ubuntuserver systemd[1]: Unmounted snap.mount - Ensure that the snap directory shares mount events..
feb 09 13:11:31 ubuntuserver systemd[1]: Stopped target local-fs-pre.target - Preparation for Local File Systems.
feb 09 13:11:31 ubuntuserver systemd[1]: Stopping lvm2-monitor.service - Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
feb 09 13:11:31 ubuntuserver multipathd[491]: multipathd: shut down
feb 09 13:11:31 ubuntuserver systemd[1]: Stopping multipathd.service - Device-Mapper Multipath Device Controller...
feb 09 13:11:31 ubuntuserver systemd[1]: systemd-tmpfiles-setup-dev.service: Deactivated successfully.
feb 09 13:11:31 ubuntuserver systemd[1]: Stopped systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev.
feb 09 13:11:31 ubuntuserver systemd[1]: systemd-sysusers.service: Deactivated successfully.
feb 09 13:11:31 ubuntuserver systemd[1]: Stopped systemd-sysusers.service - Create System Users.
feb 09 13:11:31 ubuntuserver systemd[1]: swap.img.swap: Deactivated successfully.
feb 09 13:11:31 ubuntuserver systemd[1]: Deactivated swap swap.img.swap - /swap.img.
feb 09 13:11:31 ubuntuserver systemd[1]: Reached target umount.target - Unmount All Filesystems.
feb 09 13:11:31 ubuntuserver systemd[1]: multipathd.service: Deactivated successfully.
feb 09 13:11:31 ubuntuserver lvm[5684]: 1 logical volume(s) in volume group "ubuntu-vg" unmonitored
feb 09 13:11:31 ubuntuserver systemd[1]: Stopped multipathd.service - Device-Mapper Multipath Device Controller.
feb 09 13:11:31 ubuntuserver systemd[1]: systemd-remount-fs.service: Deactivated successfully.
feb 09 13:11:31 ubuntuserver systemd[1]: Stopped systemd-remount-fs.service - Remount Root and Kernel File Systems.
feb 09 13:11:31 ubuntuserver systemd[1]: lvm2-monitor.service: Deactivated successfully.
feb 09 13:11:31 ubuntuserver systemd[1]: Stopped lvm2-monitor.service - Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling.
feb 09 13:11:31 ubuntuserver systemd[1]: Reached target shutdown.target - System Shutdown.
feb 09 13:11:31 ubuntuserver systemd[1]: Reached target final.target - Late Shutdown Services.
feb 09 13:11:31 ubuntuserver systemd[1]: systemd-reboot.service: Deactivated successfully.
feb 09 13:11:31 ubuntuserver systemd[1]: Finished systemd-reboot.service - System Reboot.
feb 09 13:11:31 ubuntuserver systemd[1]: Reached target reboot.target - System Reboot.
feb 09 13:11:31 ubuntuserver systemd[1]: Shutting down.
feb 09 13:11:31 ubuntuserver systemd-shutdown[1]: Syncing filesystems and block devices.
feb 09 13:11:31 ubuntuserver systemd-shutdown[1]: Sending SIGTERM to remaining processes...
feb 09 13:11:31 ubuntuserver systemd-journald[456]: Received SIGTERM from PID 1 (systemd-shutdow).
feb 09 13:11:31 ubuntuserver systemd-journald[456]: Journal stopped