Working with System Service Log Files Using the Journal Control

30 minutes
  • 2 Learning Objectives

About this Hands-on Lab

Troubleshooting is an important part of working with services through systemd. In this hands-on lab, we will learn how to view system service log files using the Journal Control utility. At the end of this hands-on lab, you will know how to use the built-in `journalctl` utility to view and troubleshoot system services.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Check the Web Server Configuration File

The Apache website’s default configuration file is missing. Once this task is completed, the service will start as expected.

Verify That the Web Server Service Is Running

Once the configuration issue is resolved, make sure the appropriate service is running.

Additional Resources

During the development of the new web-based API your organization has been working on, the web server they are using has stopped responding to web requests.

The development team indicates that this happened after they made some changes to the web server configuration and restarted the service. The web server stopped at that point and they were unable to restore the service.

As the system administrator on this system, you will need to investigate the reasons for the failure by looking at the approprite service log file. Once you have determined the issue, restore the service and then submit the server back to the development team to continue their work.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?