Linux Labs

Packages, services, and logs / Stage 6 of 13 · step 6 of 7

Service doesn't come up after reboot

introductory ~10 min
Not running Starting usually ~20 s
Report a problem

Situation

The server was rebooted overnight as planned. In the morning the demo-web service was not running until the on-call engineer started it by hand. It is running now, but the next reboot may leave the server without it again.

Task

  1. The demo-web service is running now.
  2. At the next system boot demo-web starts by itself.

You do not need to reboot the machine to check: you can ask systemd about both states of the service.

The tools you need are already installed. There is no internet on this machine.

Visible only to you. Saved as you type.

All notes

Lab goals

0 of 2
  • The demo-web service is active — not checked yet
  • The demo-web service is enabled at boot — not checked yet

Hints

0 of 3 open · they open one at a time
Hint 1
Show the solution after 3 failed checks

Leave the lab?

The machine keeps running for 10 more minutes, then it is removed. Files are lost; completed goals stay.

Loading…