NetworkManager is not running

Flattr this!

Yesterday my NetworkManager suddenly stopped working. After a reboot the tooltip „NetworkManager is not running“ appeared in my nm-applet. When I tried to start the service, I got the following message:

$ sudo systemctl start NetworkManager.service
Job for NetworkManager.service failed because the control process exited with error code.
See "systemctl status NetworkManager.service" and "journalctl -xe" for details.

As suggested I had a look at

$ journalctl -xe
[...]
-- Unit NetworkManager.service has finished shutting down.
Mar 20 08:27:38 hugo systemd[1]: NetworkManager.service: Start request repeated too quickly.
Mar 20 08:27:38 hugo systemd[1]: NetworkManager.service: Failed with result 'exit-code'.
Mar 20 08:27:38 hugo systemd[1]: Failed to start Network Manager.
-- Subject: Unit NetworkManager.service has failed

And here is where I had my problems. The message is clear: somehow the service was started too often in a short time frame. But how?

This is how: If you have a look at /etc/systemd/system/dbus-org.freedesktop.NetworkManager.service you’ll find the following entry:

Restart=on-failure

This entry is the reason for the multiple startups of NetworkManager in a short time. To get to the actual error message we need to disable this entry:

#Restart=on-failure

Then we need to reload the deamon:

sudo systemctl daemon-reload

and now we can have a look on the original error message:

$ sudo systemctl start NetworkManager.service
Job for NetworkManager.service failed because the control process exited with error code.
See "systemctl status NetworkManager.service" and "journalctl -xe" for details.
$ journalctl -xe
-- Unit NetworkManager.service has begun starting up.
Mar 20 08:27:51 hugo NetworkManager[16335]: /usr/bin/NetworkManager: error while loading shared libraries: libpsl.so.6: cannot open shared object file: No such file or d>
Mar 20 08:27:51 hugo systemd[1]: NetworkManager.service: Main process exited, code=exited, status=127/n/a
Mar 20 08:27:51 hugo systemd[1]: NetworkManager.service: Failed with result 'exit-code'.
Mar 20 08:27:51 hugo systemd[1]: Failed to start Network Manager.

So in my case a library was missing which I could fix really quick by


$ cd /lib
$ sudo ln -s libpsl.so.5 libpsl.so.6

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.