Blog

The Techie Gain Blog

Practical notes on backups, monitoring, SSH, patching and server automation, written by the team that builds the platform.

Automation

Packages Kept Back by apt Upgrade: Find the Cause

apt keeps packages back for four reasons: a new dependency, a hold, a needed removal or phasing. How to tell which one with apt-cache policy and a simulation.

5 min read

Operations

systemd Failed With Result: What Each Status Means

A failed systemd unit reports a result and an exit status. How to read exit-code, signal, timeout, start-limit-hit and 203/EXEC, each one reproduced on purpose.

5 min read

Automation

How to Check If a Linux Server Needs a Reboot

Ubuntu leaves a flag file, RHEL has needs-restarting and Debian often has neither. How to tell a restart from a reboot and check every server the same way.

5 min read

Monitoring

Linux OOM Killer: Find Out What It Killed

A service keeps dying and its own log says nothing. How to confirm the kernel's OOM killer did it, read its log line and stop it coming back on a small server.

5 min read

Monitoring

Why Your Uptime Monitor Sends False Alerts

Your monitor says the site is down and it is fine. The usual causes, how to tell which one you have, and how to cut the noise without going blind.

5 min read

Security

Harden SSH Without Locking Yourself Out

Turning off password logins takes one line and can cost you the server. The order that keeps a way in: a drop-in file, a second session and an undo timer.

4 min read

Backups

VPS Snapshot vs Backup: What Each One Covers

A snapshot undoes your last change. A backup survives losing the server and the account. How to tell which one you have, and a 3-2-1 plan for one VPS.

4 min read

Security

Certbot Renewal Failed? Find the Cause

Certbot renewals fail weeks after issuance, when nobody is looking. How to read the error, the causes behind most failures, and how to hear about it in time.

4 min read

Monitoring

What to Monitor on a Linux Server

A short, opinionated list of what to watch on a Linux server, the thresholds worth alerting on, and what to leave out so alerts stay worth reading.

4 min read

Automation

Ansible Alternatives for Small Teams

Ansible is fine until the upkeep outweighs the servers. A fair look at pyinfra, Fabric, salt-ssh, Puppet and a managed runner, and when plain SSH is enough.

4 min read

Operations

Linux Disk Full: Find What Is Using the Space

df says full, df says free, or the numbers disagree. A calm order of checks for a full Linux disk: inodes, deleted files, journald, Docker and logs.

4 min read