Intermediate Free course, 2 parts
The fix-it field guide
Ten real failures with a symptom, a diagnosis path, the fix and how to stop it happening again.
For anyone paged at an inconvenient hour.
- 10 lessons
- 2h 55m total time
- 3 hands-on labs
- 2 diagrams
- 10 quizzes
Course complete
You finished The fix-it field guide
All 10 lessons done on . Share it, print the certificate, or start the next course below.
Levelrail Learn Certificate of completion Completed The fix-it field guide on Levelrail Learn 10 lessons, 2h 55m of guided practice levelrail.com/learn/courses/fix-it-field-guide/
What you will be able to do
- Diagnose SSH, disk, memory and port problems
- Fix 502 and 504 errors
- Debug certificates and DNS
- Stop containers restart-looping
Syllabus
10 lessons in 2 parts, 2h 55m in total
Part 1
Lessons 1 to 5
5 lessons, 1h 20m 0/5- Fix SSH permission denied (publickey) Up next Done Permission denied (publickey) means the server refused every key your SSH client offered, usually because of the wrong user, key or file permissions. 15 min Beginner Quiz
- Fix a full disk on a Linux server Up next Done A full disk is fixed by finding the biggest directories with df and du, then removing or shrinking what filled it, such as logs, journal files, Docker data or deleted files still held open. 20 min Beginner Lab Quiz
- Fix 504 Gateway Timeout behind a reverse proxy Up next Done A 504 Gateway Timeout means the reverse proxy reached for your app but got no answer in time, because the app is slow, hung, or not reachable from the proxy. 20 min Intermediate Quiz
- Fix a Docker container that keeps restarting Up next Done A container that keeps restarting has a main process that exits, and its restart policy starts it again; docker logs and the exit code from docker inspect show why it exits. 15 min Beginner Diagram Quiz
- Fix port already in use (address already in use) Up next Done Port already in use means another process or container is already listening on that port, so find the owner with ss or lsof and stop it or pick a different port. 10 min Beginner Lab Quiz
Part 2
Lessons 6 to 10
5 lessons, 1h 35m 0/5- Fix Let's Encrypt certificate errors Up next Done Let's Encrypt errors come from a failed domain check, usually DNS pointing elsewhere, port 80 blocked or a broken renewal timer, so check each before you retry. 20 min Intermediate Quiz
- Fix a domain that does not resolve Up next Done A domain that does not resolve returns NXDOMAIN, SERVFAIL or an empty answer, and dig +trace shows which step of the lookup broke so you know whose settings to fix. 20 min Intermediate Diagram Quiz
- Fix permission denied on a Docker volume Up next Done Permission denied on a Docker volume happens because the container's user ID cannot access files owned by a different ID on the host; match the IDs or change the owner. 15 min Intermediate Quiz
- Fix out of memory kills (OOM) on a Linux server Up next Done An out of memory kill happens when the kernel ends a process because the server ran out of RAM and swap; the kernel log names the victim and you fix it by freeing, limiting or adding memory. 20 min Intermediate Lab Quiz
- Fix a deploy that passes health checks but serves errors Up next Done A deploy that passes health checks but serves errors has a health check that tests less than real traffic needs, or traffic is routed somewhere other than the container you checked. 20 min Intermediate Quiz