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

Resolving the issue


In this stage, we will attempt to resolve the issue. To do this, let's take a look at what these data files are and what they are used for.

Understanding database data files

Most databases with the exception of in-memory-only databases have some sort of file that is used to store the data on a file system; this is often referred to as persistent storage. MariaDB and MySQL are no exception to this rule.

Depending on the database storage engine in use, there may be one big file or multiple files with different file extensions. Irrespective of the file type or where/how the files are stored, at the end of the day, if these files are not accessible, the database will have issues.

Finding the MariaDB data folder

Since we are new to this environment, we currently do not know where the MariaDB data files are stored. Identifying the location of these files will be the first step in correcting the issue. One way to identify the data folder is to look through the database services'...