Service triage bundle
service sshd status || true
pgrep -laf sshd || true
sockstat -4 -6 | grep ssh || true
tail -n 50 /var/log/auth.log- Desired state, process state, socket state and logs should tell a consistent story.
Diagnose boot, service, network, storage and package failures using evidence-first runbooks and safe recovery paths.
Capture exact error messages, service status, recent logs and relevant configuration. Repeated restarts can erase timing or state evidence.
Console access, single-user mode, boot environments on ZFS systems, configuration backups and filesystem snapshots provide different rollback options.
service sshd status || true
pgrep -laf sshd || true
sockstat -4 -6 | grep ssh || true
tail -n 50 /var/log/auth.logGoal: Prove that a daemon can be running while disabled for the next boot, then restore the persistent state safely.
sysrc sshd_enable
service sshd status
pgrep -laf sshd
sockstat -4 -6 | grep sshsysrc sshd_enable="NO"
sysrc sshd_enableservice sshd status
pgrep -laf sshd
sockstat -4 -6 | grep ssh
service -e | grep sshd || true
sysrc sshd_enablesysrc sshd_enable="YES"
sysrc sshd_enable
service -e | grep sshd
service sshd status
sockstat -4 -6 | grep sshMany service incidents come from confusing current runtime state with persistent boot configuration; evidence from sysrc, service, pgrep and sockstat resolves that ambiguity.
Open each answer only after you have tried to answer the question yourself.
Observe the error, identify the subsystem, collect state/logs, form a hypothesis, make one reversible change, and verify.
Runtime process state and persistent boot configuration are separate.
They limit blast radius and preserve a known path back to the previous state.
Progress is saved in this browser immediately. When you sign in to My Learning, it can also sync across devices.
Attempt the core lab and knowledge checks before marking the module complete.