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 this chapter, we experienced what seemed like a simple networking issue with our blog application connecting to its database. In our data collection phase, we used commands such as netstat and tcpdump to inspect the network packets and quickly discovered that the blog server was receiving an ICMP packet indicating that the database server is rejecting the blog server's TCP packets.

From that point, we suspected the issue was a firewall issue, which after investigating with the iptables command we noticed that the firewall rules were out of order.

Afterwards, we were able to use the trial and error stage to resolve the issue. This specific issue is a very common issue, something that I personally have seen in many different environments. This is mostly due to lack of knowledge around how iptables works and how to define rules properly. While this chapter only covered one type of misconfiguration within iptables, the general troubleshooting methods used within this chapter can be...