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

Troubleshooting the NFS server, again


Since we identified that even new clients cannot write to the /nfs share, we have at this point narrowed down that the issue is likely on the server side and not the client.

Earlier, while troubleshooting the NFS server, we checked almost everything that there is to check about NFS. We validated that the service is in fact running, accessible by the clients, that the data in /etc/exports is correct, and that the currently exported directories match what is in /etc/exports. At this point, there is only one place left to check: the log files.

By default, the NFS service does not have its own log file like Apache or MariaDB. Instead, this service on the RHEL systems utilizes the syslog facility; which means our logs will be within /var/log/messages.

The messages log is a very frequently used log file for Red Hat Enterprise Linux based Linux distributions. In fact, by default, outside of cron jobs and authentication, every syslog message above the info log...