Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning RHEL Networking
  • Table Of Contents Toc
Learning RHEL Networking

Learning RHEL Networking

By : Andrew Mallett
4.3 (4)
close
close
Learning RHEL Networking

Learning RHEL Networking

4.3 (4)
By: Andrew Mallett

Overview of this book

This book is ideal for administrators who need to learn the networking abilities of Red Hat Enterprise Linux 7. You may not be a Linux administrator already, but you will need to be able to test files in Linux and navigate the filesystem.
Table of Contents (13 chapters)
close
close
12
Index

Troubleshooting SELinux


Let's take a look at different ways of troubleshooting SELinux.

The log file

If we were left uncertain as to the problem that was causing errors that we encountered before with the web server, then our troubleshooting should always start with log files. For SELinux, this is the /var/log/audit/audit.log file. Logging in from SELinux will be marked as AVC (Access Vector Cache). We can search the log file with grep using something similar to the following command:

# grep AVC /var/log/audit/audit.log

However, more appropriately, there is also the ausearch command that we can use. If an error has just occurred, we can use the recent time start code to help reduce returned results. This is a shortcut for displaying errors within the last 10 minutes:

# ausearch -m avc -ts recent

Other than this, we can supply an actual time, date, or both. In the following example, we will use 16:00 as the starting time to search. In the absence of the date, today's date is implied as follows...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning RHEL Networking
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon