Incident response guides 48

Signals to check first, command examples, common misdiagnoses, and recovery order. After reading, practice on a problem about the same failure.

How to split Linux failures by systemd, permission, and filesystem signalsAn InfraTree guide that lays out the first signals to check, the CLI verification order, common misdiagnoses, and a safe recovery path when a service fails but you need to isolate whether the cause is a systemd unit, permission, inode, mount, or process.Linux3 min readWhen a command works manually but fails only under cronAn InfraTree guide that lays out the first signals to check, the CLI verification order, common misdiagnoses, and a safe recovery path when the same command succeeds in an interactive shell but fails only under cron or a non-interactive environment.Linux3 min readWhen permissions are fixed but only new directories are created with the wrong groupAn InfraTree guide that lays out the first signals to check, the CLI verification order, common misdiagnoses, and a safe recovery path when existing file permissions are correct but group inheritance breaks for newly created files and directories.Linux3 min readWhen sudo works in the shell but fails under automationAn InfraTree guide that lays out the first signals to check, the CLI verification order, common misdiagnoses, and a safe recovery path when only automation jobs fail because of TTY, sudoers, environment reset, or service user differences.Linux3 min readnginx 403 Forbidden (13: Permission denied) — causes and fixes (path permissions, SELinux, index)When nginx returns 403 and error.log shows open() failed (13: Permission denied): check path permissions, uploaded file modes and SELinux contexts from the worker user's point of view, plus the 403 caused by a missing index file.Linux4 min readNo space left on device — causes and fixes (disk space, inode exhaustion, deleted open files)When you get No space left on device: how to tell full disk space from inode exhaustion, find the big directory, free space held by deleted but still open files, clean up journald and Docker, and stop it recurring with logrotate.Linux4 min readSSH Permission denied (publickey) — causes and fixes (user name, key permissions, sshd config)When SSH fails with Permission denied (publickey): use ssh -v to see which key was offered, then work through the image's default user, the key pair, private key and .ssh permissions, sshd settings and ssh-rsa algorithm refusals.Linux4 min readToo many open files — causes and fixes (ulimit, systemd LimitNOFILE, fd leaks)When you see Too many open files, EMFILE or accept4: too many open files: how to read a service's real fd limit, raise it with systemd LimitNOFILE or container ulimits, and find a file descriptor leak.Linux4 min readWhen only install scripts or runners fail because of /tmp noexecA guide to separating the cases where noexec on /tmp makes only certain installers, self-hosted runners, or temp-file-based deploys fail.Linux3 min read