↑ ↓ select, Enter open, Esc close

Show all failed systemd units

user@server
systemctl --failed --no-pager

Shows all units that failed at startup or during operation, with a short description. After a reboot or update, this tells you at a glance whether everything is running again. An empty list with 0 loaded units listed is the normal state.

Note: Then journalctl -u <unit> -n 50 shows the cause. After fixing it, systemctl reset-failed resets the state.

Also searched as

  • which services have failed
  • show failed services
  • systemctl failed
  • what did not start after reboot

Related one-liners

All in systemd

Read first, then run.

The commands on myline.de act directly on servers, files and databases. A wrong path or placeholder can delete data irreversibly or make a server unreachable.

  • All commands are provided without warranty and are not tested on every system.
  • Understand what a command does before running it, and check every placeholder.
  • Make a backup first and, if possible, try it on a test system.
  • You run commands at your own risk. Liability for damages is excluded to the extent permitted by law.