我遇到了 org.freedesktop.systemd1 间歇性故障问题。它似乎在晚上发生(我始终开着电脑),并且冻结桌面,以至于我必须进行硬重启才能重新进入。以下是系统日志的结果:
Nov 2 07:26:00 garry-desktop dbus-daemon[778]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.8' (uid=0 pid=779 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
Nov 2 07:26:00 garry-desktop systemd[1]: Starting Network Manager Script Dispatcher Service...
Nov 2 07:26:00 garry-desktop whoopsie[1572]: [07:26:00] offline
Nov 2 07:26:00 garry-desktop /usr/lib/gdm3/gdm-x-session[1230]: dbus-daemon[1230]: [session uid=121 pid=1230] Activating service name='org.freedesktop.systemd1' requested by ':1.13' (uid=121 pid=1362 comm="/usr/libexec/gsd-sharing " label="unconfined")
Nov 2 07:26:00 garry-desktop /usr/lib/gdm3/gdm-x-session[1230]: dbus-daemon[1230]: [session uid=121 pid=1230] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Nov 2 07:26:00 garry-desktop gsd-sharing[1362]: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
Nov 2 07:26:00 garry-desktop gsd-sharing[1362]: message repeated 3 times: [ Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1]
Nov 2 07:26:00 garry-desktop dbus-daemon[778]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Nov 2 07:26:00 garry-desktop systemd[1]: Started Network Manager Script Dispatcher Service.
Nov 2 07:26:01 garry-desktop NetworkManager[779]: <info> [1604319961.4349] manager: NetworkManager state is now CONNECTED_GLOBAL
Nov 2 07:26:01 garry-desktop NetworkManager[779]: <info> [1604319961.4358] policy: set 'Profile 1' (enp5s0) as default for IPv4 routing and DNS
Nov 2 07:26:01 garry-desktop /usr/lib/gdm3/gdm-x-session[1230]: dbus-daemon[1230]: [session uid=121 pid=1230] Activating service name='org.freedesktop.systemd1' requested by ':1.13' (uid=121 pid=1362 comm="/usr/libexec/gsd-sharing " label="unconfined")
Nov 2 07:26:01 garry-desktop /usr/lib/gdm3/gdm-x-session[1230]: dbus-daemon[1230]: [session uid=121 pid=1230] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Nov 2 07:26:01 garry-desktop gsd-sharing[1362]: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
Nov 2 07:26:01 garry-desktop gsd-sharing[1362]: message repeated 3 times: [ Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1]
Nov 2 07:26:01 garry-desktop whoopsie[1572]: [07:26:01] The default IPv4 route is: /org/freedesktop/NetworkManager/ActiveConnection/1
Nov 2 07:26:01 garry-desktop whoopsie[1572]: [07:26:01] Not a paid data plan: /org/freedesktop/NetworkManager/ActiveConnection/1
Nov 2 07:26:01 garry-desktop whoopsie[1572]: [07:26:01] Found usable connection: /org/freedesktop/NetworkManager/ActiveConnection/1
Nov 2 07:26:02 garry-desktop whoopsie[1572]: [07:26:02] online
Nov 2 07:26:08 garry-desktop folding-at-home-fcole90.client[882]: 12:26:08:WU02:FS00:0xa7:Completed 62500 out of 125000 steps (50%)
Nov 2 07:26:11 garry-desktop systemd[1]: NetworkManager-dispatcher.service: Succeeded.
Nov 2 07:27:17 garry-desktop folding-at-home-fcole90.client[882]: 12:27:17:WU02:FS00:0xa7:Completed 63750 out of 125000 steps (51%)
Nov 2 07:28:24 garry-desktop folding-at-home-fcole90.client[882]: 12:28:24:WU02:FS00:0xa7:Completed 65000 out of 125000 steps (52%)
Nov 2 07:29:31 garry-desktop folding-at-home-fcole90.client[882]: 12:29:31:WU02:FS00:0xa7:Completed 66250 out of 125000 steps (53%)
Nov 2 07:30:01 garry-desktop CRON[14304]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
我在这个论坛和其他论坛上搜索过,但没有发现任何人遇到完全相同的故障。我正在使用 Ubuntu 20.04。有什么建议吗?
答案1
您必须尝试重新安装相关软件包
sudo apt-get update
sudo apt-get install --reinstall systemd gnome-settings-daemon gnome-settings-daemon-common
答案2
我遇到了类似的问题。读了一些资料后,我发现 RAM 可能是罪魁祸首。使用 Memtest86 我发现测试失败了。只有一个 RAM 模块,错误不再出现。我建议你测试一下你的内存。
答案3
这对我有用。
假设您总是使用以下方式登录:USER1
首先检查:我们是否可以登录到其他用户。假设其他用户:(USER2
注意:如果您没有其他用户,请创建一个新用户)
如果您使用用户成功登录 USER2
可能是用户配置文件的问题。
重命名~/.config
为~/.config.bak
。
然后尝试以该用户身份登录
CTRL您始终可以使用++获取 shellALT并F2以用户身份登录。