我遇到了 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。有什么建议么?
您必须尝试重新安装相关软件包
我遇到了类似的问题。经过一番阅读,我发现 RAM 可能是罪魁祸首。使用 Memtest86 我发现测试失败。只有一个 RAM 模块,我不再出现错误。我建议你测试一下你的记忆力。
这对我有用。
假设您总是使用以下方式登录:USER1
首先检查:我们是否可以登录到其他用户。假设其他用户:(USER2
注意:如果您没有其他用户,请创建一个新用户)
如果您使用用户成功登录 USER2
可能,这是用户配置文件的问题。
重命名
~/.config
为~/.config.bak
.然后,尝试登录该用户
您始终可以使用CTRL++获取ALTshellF2并使用用户登录。