Logs

Aug 04, 2015 40 Replies

If I'm checking a system for problems, after boot up I do a

dmesg -H

This prints out the kernel logs from boots, in a paginated form so it doesn't just shoot paste. Look for any red lines which signify errors, you'll normally only get a couple from brcmfmac which can normally be ignored.

I then do a

systemctl --failed

Which will show any services which didn't start up. If any are shown, for each name to a

systemctl status -l

I then also use vim to look at /var/log/messages (vim uses syntax colouring to make spotting errors easier) to look for issues before and/or after the reboot. If there are problems, more information will be in /var/log/syslog You may need to look in /var/log/syslog.1 for information from before the reboot.

---druck

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required