CertGrid CertGrid
Troubleshooting·CompTIA Linux+

Faults, and the order that finds them

Domain 5 is 22% of XK0-006 and it is a method rather than a topic. This guide stages three faults - a process pinned to a core, a filesystem whose free space is held by a deleted file, and a service reachable only from itself - and finds each one with the command that produces a fact instead of a suspicion.

Troubleshooting Guide 7 of 28 Intermediate

Two hosts, because a service that has only ever been tested from itself is the third fault on this page.
Server NameIP AddressOSRolesCPURAMHDD
LPLUS-A01192.168.0.73Ubuntu 26.04 LTSDebian-family host - apt, ufw, netplan, AppArmor2 Core4 GB50 GB
LPLUS-C01192.168.0.75Ubuntu 26.04 LTSSecond Debian host - so networking and ssh have two ends2 Core4 GB50 GB

This guide includes

Use this when something is wrong and you do not yet know which layer to look at. This matters because the fastest route is elimination in a fixed order, and because two of these faults look like something they are not: a full disk that du says is empty, and a refused connection that has nothing to do with the network.

Before you start

  1. The questions to ask before any theory

  2. A process eating a core, and finding it

  3. A filesystem that fills, and the space df cannot see

  4. And once nothing holds it open

  5. A service that answers itself and nothing else

  6. The same service, bound where it can be reached

  7. Putting the machine back

Official sources