NetworkManager.service failed to load properly: File exists.

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

NetworkManager.service failed to load properly: File exists.

Post by ^rooker »

[PROBLEM]

Booting Xubuntu 20.04.6, after upgrading packages - the network-icon in the notification panel was gone, I had no network connection(s) anymore - and couldn't start the NetworkManager service.

Code: Select all

$ systemctl status NetworkManager
returned:
● NetworkManager.service - Network Manager
Loaded: error (Reason: Unit NetworkManager.service failed to load properly: File exists.)
Active: inactive (dead)
Docs: man:NetworkManager(8)
Also the error:
"NetworkManager.service: Two services allocated for the same bus name org.freedesktop.NetworkManager, refusing operation."
[SOLUTION]
The "file exists" means that something registered as "a service seemingly identical for systemd".
Weirdly there are 2 very similar services:
  1. network-manager.service
  2. NetworkManager.service
After i "systemctl stop network-manager", I could start the NetworkManager (and my icon re-appeared in the panel).

There seems to be some kind of naming-collision here, but I didn't have the time to find out (=read more) on what is what.
I guess "networkd" is for headless/CLI and NetworkManager for GUI?

Related links:
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply