Changes

Troubleshooting Your Linux System

1,336 bytes added, 22:55, 20 January 2018
/* Part 1: Important Log Files */
The following lines were added (+) and removed (-):
Problems with system stability, hardware related problems, boot related problems.Problems with system stability, hardware related problems, boot related problems. The log files generated in a Linux environment can typically be classified into four different categories:#Application#Event#Service #System === other useful logs ===We are looking at relevant log files generated by the system and stored in the path: /var/logCaution: do not open these in a text editor because they are files in an "open" state meaning they are being written in real time, content constantly being added as events occur.  You can "cat" or "tail" or make a copy "cp" and open the copy in an editor such as vi. cat /var/log/boot.log or make a copy and open in an editor cp /var/log/boot.log /tmp/boot.log vi /tmp/boot.logOthers: (kern.log faillog cron auth.log) secure which are all relevant to a linux workstation.  Additional logs become relevant to a server such as web or mail, not covered here.== hardware modules ==Get to know the lsmod command lsmodThis command reports which modules are in loaded into the kernel and their use count.  An example is checking to see of a sound card module is loaded (system has no audio.)  You might find that the sound card module failed to load or initialize by reviewing dmesg, and you double check to see if module loaded by using lsmod.You can see what hardware is using the PCI bus. lspci [[Category:Computer_Technology]][[Category:Linux]]
Administrator
4,579
edits