Skip to content

Instantly share code, notes, and snippets.

@plembo
Created April 4, 2019 13:40
Show Gist options
  • Save plembo/6f566373d1071e5b9a116b2c1be4aa5e to your computer and use it in GitHub Desktop.
Save plembo/6f566373d1071e5b9a116b2c1be4aa5e to your computer and use it in GitHub Desktop.
Systemd units failed to start

Systemd units failed to start

From time to time I'll get a message (or messages) to the effect that a particular unit failed to start. Most of the time this is the result of some preordained Ubuntu configuration being out of sync. This gist will contain a running list of those as they come up.

To see a list of failed units:

$ sudo systemctl list-units --state=failed

Here's the list of failed units on my latest (2019/04/04) update and reboot:

NetworkManager-wait-online.service The server is question is not using NetworkManager, but instead ifupdown and the networking service. Set this unit to disabled.

isc-dhcp-server6.service Not doing ipv6 networking on the local network, so disabled this unit.

cgmanager.service Per this post on the lxc issues list, cgmanager is not needed if you're running systemd. This unit now disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment