Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8013

Troubleshooting • Re: Headless Bookworm crashes but where are the logs so show the details?

$
0
0
Thanks, after a bit of searching I came up with this command and have spent some time viewing the output.

Code:

journalctl -g "error" --since "2025-02-18 10:00:00"
Background, this is a headless Pi4B running bookworm and nginx. I wanted to be able to use the Desktop GUI via VNC, but could not get that to work so I opted the the simple console/command line default interface.

I have found the time when the system shutdown. Here are a few of the messages I'm seeing. I get hundreds like this all the time:
Feb 19 13:16:45 MyWeb rpi-connect-wayvnc[2129]: ERROR: ../src/main.c: 526: WAYLAND_DISPLAY is not set in the environment
Feb 19 13:16:45 MyWeb rpi-connect-wayvnc[2129]: ERROR: ../src/main.c: 1882: Failed to initialise wayland
then at the time when it shutdown:
Feb 18 10:51:51 MyWeb sh[829]: ERROR: ../src/main.c: 495: Compositor has gone away. Exiting...
Feb 18 10:51:51 MyWeb dbus-daemon[572]: [system] Rejected send message, 0 matched rules; type="error", sender=":1.339" (uid=106 pid=1234 comm="/usr/bin/wireplumber") interface="(unset)" m>
Feb 18 10:51:51 MyWeb dbus-daemon[572]: [system] Rejected send message, 0 matched rules; type="error", sender=":1.339" (uid=106 pid=1234 comm="/usr/bin/wireplumber") interface="(unset)" m>
and later just before actually stops:
Feb 18 10:51:51 MyWeb dbus-daemon[572]: [system] Rejected send message, 0 matched rules; type="error", sender=":1.441" (uid=1000 pid=1158870 comm="/usr/bin/wireplumber") interface="(unset>
-- Boot 8a6d5be36e174553ac96e5375d97eba5 --
Feb 18 10:51:56 MyWeb alsactl[553]: alsa-lib main.c:1541:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2
Feb 18 10:51:56 MyWeb alsactl[553]: alsa-lib main.c:1541:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -2
Feb 18 10:51:56 MyWeb alsactl[553]: alsa-lib main.c:1541:(snd_use_case_mgr_open) error: failed to import hw:2 use case configuration -2
Feb 18 10:52:00 MyWeb lightdm[810]: Could not chown user data directory /var/lib/lightdm/data/lightdm: Error setting permissions: No such file or directory
Feb 18 10:52:03 MyWeb rpi-connect[1224]: 2025/02/18 10:52:03 systray error: failed to register: The name org.kde.StatusNotifierWatcher was not provided by any .service files
Feb 18 10:52:13 MyWeb rpi-connect-wayvnc[1585]: ERROR: ../src/main.c: 526: WAYLAND_DISPLAY is not set in the environment
Feb 18 10:52:13 MyWeb rpi-connect-wayvnc[1585]: ERROR: ../src/main.c: 1882: Failed to initialise wayland
I'm a beginner with bookworm. Can someone help me get started figuring out this issue? Thanks...RDK

Statistics: Posted by RDK — Thu Feb 20, 2025 7:10 am



Viewing all articles
Browse latest Browse all 8013

Trending Articles