Service Keeps Crashing
Read logs, find a config bug, fix it, and verify the service starts cleanly.
A advanced Linux challenge worth 20 points. Solve it hands-on in a real Linux environment in your browser - no local setup, no fake shells.
The Challenge
TICKET: "webapp service crashes 30 seconds after starting. Started after someone edited the config."
Files to investigate:
- Logs: /tmp/webapp/service.log (read these first!)
- Config: /tmp/webapp/config.json (has a bug)
- App script: /tmp/webapp/app.sh (run this to test your fix)
Your tasks:
- Read /tmp/webapp/service.log — find the error message that explains the crash
- Open /tmp/webapp/config.json — spot and fix the bug
- Run /tmp/webapp/app.sh — it should print "Service started successfully"
- Write the name of the broken config key to /tmp/debug_answer.txt
Commands to learn: cat, jq, nano or vim, JSON syntax, reading stack traces
Run check when done.