Mission 20

Service inspection

Compare simulated service status and journal output before taking action.

Server operations
9 minutes Beginner Lesson 20 of 360
systemctljournalctltail
Lesson 20 of 360 0/360 lessons 0/17 missions Server operations · 9 minutes
0%
Continue View profile
Ops lab terminal Training lab
New learnerrank 0XP 0%complete
learner@clairos:/home/learner $ Unix ops lab: type a command, press Enter
Instructions 9 minutes

Click any instruction for the command details, the why, and the common mistake to avoid.

Check nginx status

Run systemctl status nginx.

systemctl status nginx
Read nginx journal

Run journalctl -u nginx.

journalctl -u nginx
Tail error log

Run tail -n 2 /var/log/nginx-error.log.

tail -n 2 /var/log/nginx-error.log
Lesson support

What to notice while you play.

Objective

Read service status and matching logs together.

Hint

Check nginx status, then journalctl -u nginx.

Why it matters

Service triage is a habit of status plus evidence.

Common mistakes
  • Only checking process lists.
  • Ignoring service-specific logs.
Reference

Commands in this lesson.

systemctl status <service>

Inspect simulated service status.

journalctl -u <service>

Read simulated service journal entries.