My Oracle Support Banner

VM Server Not Booting "[FAILED] Failed to start Login Service" & "Failed to start message bus: Could not get UID and GID for username "dbus"" (Doc ID 2636434.1)

Last updated on FEBRUARY 13, 2020

Applies to:

Linux OS - Version Oracle Linux 6.10 and later
Linux x86-64

Symptoms

Patch Virtual Machine from Oracle Linux 6 to Oracle Linux 7 failed.


[FAILED] Failed to start Login Service.
See 'systemctl status systemd-logind.service' for details.
[ OK ] Started Oracle VM guest daemon.
[ OK ] Started D-Bus System Message Bus.
[ OK ] Stopped Login Service.
  Starting Login Service...
[ OK ] Started preipconf.
[ OK ] Started D-Bus System Message Bus.
[FAILED] Failed to start Login Service.
See 'systemctl status systemd-logind.service' for details.
[ OK ] Stopped Login Service.
  Starting Login Service...
[ OK ] Started D-Bus System Message Bus.
[FAILED] Failed to start Login Service.
See 'systemctl status systemd-logind.service' for details.
[ OK ] Stopped Login Service.
  Starting Login Service...
[ OK ] Started D-Bus System Message Bus.
[FAILED] Failed to start Login Service.
See 'systemctl status systemd-logind.service' for details.
[ OK ] Stopped Login Service.
  Starting Login Service...
[ OK ] Started D-Bus System Message Bus.
[ OK ] Started D-Bus System Message Bus.
[FAILED] Failed to start Login Service.

From rescue check journalctl -xn

sh-4.2# journalctl -xn
-- Logs begin at Mon 2020-01-27 15:34:17 IST, end at Tue 2020-01-28 21:05:50 IST
Jan 28 21:05:50 <HOST> systemd[1]: systemd-logind.service: main
Jan 28 21:05:50 <HOST> systemd[1]: Failed to start Login Servic
-- Subject: Unit systemd-logind.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-logind.service has failed.
--
-- The result is failed.
Jan 28 21:05:50 <HOST> systemd[1]: Unit systemd-logind.service
Jan 28 21:05:50 <HOST> systemd[1]: systemd-logind.service faile
Jan 28 21:05:50 <HOST> systemd[1]: dbus.service: main process e
Jan 28 21:05:50 <HOST> systemd[1]: Unit dbus.service entered fa
Jan 28 21:05:50 <HOST> systemd[1]: dbus.service failed.
Jan 28 21:05:50 <HOST> systemd[1]: systemd-logind.service has n
Jan 28 21:05:50 <HOST> systemd[1]: Started D
[FAILED] Failed to start Login Service.
See 'systemctl status systemd-logind.service' for details.
[ OK ] Started D-Bus System Message Bus.
[ OK ] Stopped Login Service.
Starting Login Service...
[ OK ] Started D-Bus System Message Bus.
[FAILED] Failed to start Login Service.
See 'systemctl status systemd-logind.service' for details.
[ OK ] Started D-Bus System Message Bus.
[ OK ] Stopped Login Service.
Starting Login Service...
[ OK ] Started D-Bus System Message Bus.
[FAILED] Failed to start Login Service.
See 'systemctl status systemd-logind.service' for details.
[ OK ] Started D-Bus System Message Bus.
[ OK ] Stopped Login Service.
Starting Login Service...
[ OK ] Started D-Bus System Message Bus.

Changes

 Upgrade from Oracle Linux6 to Oracle Linux 7

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.