Skip to content
Clairos Learn

Server operations · Lesson 13 of 36 · 8 minutes

Service failure review

Inspect a simulated inactive backup service.

Mastery 0/3Run itExplain itApply it
learner@clairosSimulated Linux lab
learner@clairos:~ $
↑ history · Tab complete · Ctrl+C cancel · Esc, Tab to leaveExit 0

Understand the pattern

Good operators gather evidence before declaring an outage.

systemctl
Inspect or change a simulated systemd service. Status, active state, and unit configuration reveal different evidence.

A service can be active while an application endpoint is unhealthy; verify both layers.

journalctl
Read the training journal by unit or a bounded line window.

A relevant unit and time range are more useful than an unfiltered wall of logs.

Worked example and expected result
$ systemctl status backup
backup.service - simulated backup
   Loaded: loaded
   Active: inactive
   Notes: waiting for a configured backup target

Exit status: 3. This nonzero result is an expected part of this exercise.

$ journalctl -u backup
May 26 08:05:00 clairos-learn backup[88]: skipped, no fake target configured
May 26 08:20:00 clairos-learn backup[88]: inactive by policy

Exit status: 0. The command completed successfully in the training fixture.

$ systemctl is-active backup
inactive

Exit status: 3. This nonzero result is an expected part of this exercise.

Try a variation

Repeat this workflow in the sandbox with a different scratch filename. Keep the system fixtures unchanged and compare the observed output with your expectation before moving on.

Explain it

In “Service failure review”, which interpretation is safe?

Apply it elsewhere

Before adapting the journalctl workflow from “Service failure review” to another server, what should you do?

Keep the momentum.

Complete the lab, then explain and apply the pattern.

Next: Config test loopTry an incident drill

Anonymous lesson and mastery progress lasts for this session. Sign in to keep synced lesson XP between sessions; mastery stays device-local. No speed bonus, lost lives, or hint penalties.

Keep learning

  1. 01Deploy script reviewRead, hash, and inspect a training deploy script.Practice
  2. 02Config test loopCopy, open, and test nginx configuration safely.Practice
  3. 03Scheduled tasksInspect simulated cron configuration and related logs.Practice