-2

My Pi 3B+ (full config details at link) has started to lock up out of the blue (red and green LEDs on), requiring a reboot. Which system log(s) do I check to see what the problem might be?

7
  • Are you using the latest Raspbian Buster with Desktop fully updated? What are you running on your Pi? Any reason you can't just re-flash your sd card?
    – CoderMike
    Mar 28 '20 at 19:13
  • I would try a new card with Buster light on it to isolate hardware vs software. If it locks you have a hardware issue (possibly power but that supply you list should be fine) if not I would be surprised if the logs will show anything. The Pi caches data to cut down SD card writes and I find the logs are not up to date and reset...
    – user115418
    Mar 28 '20 at 20:02
  • @CoderMike Why would I reflash unless I know what the root cause of the problem is? Reflashing doesn't actually touch the root cause, which means I learn nothing and can unwittingly recreate conditions for failure again.
    – jdrch
    Mar 29 '20 at 20:17
  • @Andyroo I don't think it's the power supply because I'm using the official power supply that's been working since I got it (in 2018, I think.) Thanks for the suggestion on the new card. Unfortunately I don't have a spare on hand.
    – jdrch
    Mar 29 '20 at 20:19
  • @jdrch because it's the quickest way to fix the issue.
    – CoderMike
    Mar 29 '20 at 21:42
2

Which system log(s) do I check to see what the problem might be?

It is difficult to answer the question without knowing what operating system you are using. But most modern distributions use systemd, also Raspbian since version Jessie. So you may find the journal. Just have a look at it with:

rpi ~$ journalctl --pager-end

Or more detailed

rpi ~$ journalctl --pager-end --catalog
3
  • > without knowing what operating system That's why I provided a link with config details. It says Raspbian Stable there, which would be Raspbian Buster. Thanks for the reply, I'll check those if it happens again.
    – jdrch
    Mar 29 '20 at 20:16
  • 1
    @jdrch Please don't expect that we follow links to understand the question. You should provide all necessary information direct in the question: What's wrong with “I followed this tutorial” kind of questions?.
    – Ingo
    Mar 29 '20 at 22:20
  • This isn't the same. I created the GitHub project I linked to have all my device specs and configs so I could provide the rapidly if need be. It's not a 3rd party tutorial, it's a detailed description of everything I've set up on the Pi myself. Not to mention you seem to be violating your own principles by using a link instead manually typing out everything you have to say. 🙄 As I said, thanks. I'll look into those commands next time the issue happens.
    – jdrch
    Mar 30 '20 at 1:13

Not the answer you're looking for? Browse other questions tagged or ask your own question.