In order to troubleshoot the problem you will have to understand it by collecting as much information as possible on the who and where and what.
There are different tools available at your disposal to do that on the Linux system such as :
- SYSTEM JOURNAL
Enabling SYSTEM JOURNAL Logs persistence and Past Boots Logs
- Create the Journal Log Directory
sudo mkdir -p /var/log/journal
2. Edit the journal configuration by removing the comment at the beginning of storage line then make it equal to persistent then save the file.
sudo vim /etc/systemd/journald.conf
Reboot the system or kill the journald process
Lets check the folder contents
drwxr-sr-x+ 2 root systemd-journal 28 Dec 5 03:27 08a8249fd77e46f0a0e86bc0d531f098
2. SOS tool
SOS tool can be used to generate reports about the system with different modules.Its one of the system information collection tools that used to gather package diagnostic and support data on your Linux system.
To Install sosreport
# yum install sos xfsprogs -y
Let's run our first report
Enter the case id number and press ENTER
Let's navigate to the location where the files are saved
You can extract the archived files to check the contents.