Book Image

Red Hat Enterprise Linux Troubleshooting Guide

By : Benjamin Cane
Book Image

Red Hat Enterprise Linux Troubleshooting Guide

By: Benjamin Cane

Overview of this book

Red Hat Enterprise Linux is an operating system that allows you to modernize your infrastructure, boost efficiency through virtualization, and finally prepare your data center for an open, hybrid cloud IT architecture. It provides the stability to take on today's challenges and the flexibility to adapt to tomorrow's demands. In this book, you begin with simple troubleshooting best practices and get an overview of the Linux commands used for troubleshooting. The book will cover the troubleshooting methods for web applications and services such as Apache and MySQL. Then, you will learn to identify system performance bottlenecks and troubleshoot network issues; all while learning about vital troubleshooting steps such as understanding the problem statement, establishing a hypothesis, and understanding trial, error, and documentation. Next, the book will show you how to capture and analyze network traffic, use advanced system troubleshooting tools such as strace, tcpdump & dmesg, and discover common issues with system defaults. Finally, the book will take you through a detailed root cause analysis of an unexpected reboot where you will learn to recover a downed system.
Table of Contents (19 chapters)
Red Hat Enterprise Linux Troubleshooting Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In the previous chapter, Chapter 7, FileSystem Errors and Recovery we noticed a simple RAID failure message in our /var/log/messages log file. In this chapter, we used a Data Collector approach to investigate the cause of that failure message.

After investigating with the RAID management command mdadm, we found several RAID devices in a degraded state. Using dmesg, we were able to determine which hard drive devices were affected and that the disks at some point were removed from service. We also found that the disk event counts were mismatched, preventing the disks from being re-added automatically.

We verified that the devices were not physically faulty with dmesg and choose to re-add them to the RAID array.

While this chapter focused heavily on RAID and disk failures, both /var/log/messages and dmesg can be used to troubleshoot other device failures. For devices other than hard disks, however, the solution is often a simple replacement. Of course, like most things, this depends on...