9/20
Sign inSign up free

1414. Combined: The App Can't Reach Its Database

medium 20 XP ~10 minHands-on lab

relay connects to its database using the name db-relay.internal and the port in /etc/relay/db.conf. relay-dbcheck tests that connection, and it fails. The database itself runs on this machine and is healthy; don't restart or move it. Use ss to see where it really listens.

Task

  • relay-dbcheck prints db OK.
  • The app still uses the name db-relay.internal (no IP address in db.conf).
  • The database keeps running with its PID.

About this machine

Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.

Teaching or writing about this? Embed this lab on your page

TerminalNot started

Your machine is ready to start

A fresh, isolated Ubuntu machine boots in a few seconds with the task already set up.

No account needed: 3 of 3 free tries left. Guest machines last 30 minutes.