Score:0

Need to see boot/system log from before actual session because of system shutdown after 30 minutes, only actual session log can be viewed

td flag

Laptop is an Acer Aspire V3-772 with 8GB and Ubuntu 22.04.3 LTS, Gnome 42.9 & Wayland on UEFI. The memtest could only pass once (without errors) because the laptop always crashes after close to 30 minutes. I am not sure of the integrity of the memory this way.

Because of a probable hardware problem in my friends laptop (always shutting off after half an hour), I wanted to take a look at the log from before the crash, but I can only acces the log from the actual session that is being worked at. Journalctl only shows this session and also the log viewer has no other logs than the actual session. Listing the log directory just shows 1 log.

I did read about the configuration for journalctl and did make the change from auto to persistent in that conf., but nothing changed.

B.t.w. As the shutdown also happened during memtest from Grub, I suspect the problem is not in the Ubuntu OS, because that is not loaded at that moment. Would it still be possible that a hardware failure could be revealed from a Ubuntu log?

I already ordered a new memory strip to switch with the memory in the laptop to see if that changes anything.

Power is ok, battery is full, temperature is not the problem, so looking at the logs seems to me the only way to find out what is the case.

alokym avatar
cn flag
Because disappearing old logs is a strange thing, show, please, the output of `sudo journalctl -b -1` command.
Score:0
it flag

Read man journalctl. Use sudo journalctl --list-boots. Use sudo journalctl -b -1 to see the logs of the previous boot, sudo journalctl -b -2 for the one before that, etc.

I use this alias to format date/time information the way --since= and --before= accept, using the full power of GNU date. Read man date

alias tsjou="date '+%y-%m-%d %H:%M:%S'"

I have more journalctl hints in my AskUbuntu profile, click on my userid.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.