LFCS Operation of Running Systems • Set 2
LFCS Operation of Running Systems Practice Test 2 — 15 questions with explanations. Free, no signup.
Based on the journalctl output, what is the most likely cause of the service failure?
Refer to the exhibit. $ sudo journalctl -u myapp.service --since "1 hour ago" -- Logs begin at Mon 2025-03-10 08:30:15 UTC, end at Mon 2025-03-10 12:45:22 UTC. -- Mar 10 11:30:17 server1 myapp[1234]: Starting application... Mar 10 11:30:18 server1 myapp[1234]: [ERROR] Failed to bind to port 8080: Address already in use Mar 10 11:30:18 server1 myapp[1234]: [INFO] Retrying in 5 seconds... Mar 10 11:30:23 server1 myapp[1234]: [ERROR] Failed to bind to port 8080: Address already in use Mar 10 11:30:23 server1 myapp[1234]: [INFO] Retrying in 10 seconds... Mar 10 11:30:33 server1 myapp[1234]: [ERROR] Failed to bind to port 8080: Address already in use Mar 10 11:30:33 server1 myapp[1234]: [FATAL] Exiting after repeated failures Mar 10 11:30:33 server1 systemd[1]: myapp.service: main process exited, code=exited, status=1/FAILURE Mar 10 11:30:33 server1 systemd[1]: myapp.service: Unit entered failed state.