Difference between revisions of "Troubleshooting Your Linux System"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
(Created page with "This is a work in progress. == Part 1: Important Log Files == Problems with system stability, hardware related problems, boot related problems. === syslog and dmesg === ...")
(No difference)

Revision as of 17:36, 20 January 2018

This is a work in progress.

Part 1: Important Log Files

Problems with system stability, hardware related problems, boot related problems.

syslog and dmesg

The system log typically contains the greatest deal of information by default about your Ubuntu system. It is located at /var/log/syslog, and may contain information other logs do not. Consult the System Log when you can't locate the desired log information in another log. It also contains everything that used to be in /var/log/messages.

If you want to review messages from the current day, use command:

cat /var/log/syslog |less

You can scroll up and down to look for issues, and do regex search.

You can actively monitor the syslog to watch for errors while you work or perform an activity which typically creates a problem;

tail -f /var/log/syslog

Keep that running in a terminal window while you work. Messages and errors will appear in real time.