9/34
Sign inSign up free

441. Address Already in Use

medium 20 XP ~6 minHands-on lab

Deploying the new version of syncd fails: /srv/lab/bin/syncd-start exits with OSError: [Errno 98] Address already in use on port 8454. An old copy is still running, but nobody knows its PID.

Task

  • Stop the process that holds port 8454.
  • Start the new version with /srv/lab/bin/syncd-start, so that http://127.0.0.1:8454/ answers syncd v2.
  • The unrelated syncd-metrics process must keep running.

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.