Latest update results in hanging at boot

General support questions
Post Reply
janripke
Posts: 5
Joined: 2018/07/17 15:41:49

Latest update results in hanging at boot

Post by janripke » 2018/07/17 16:05:51

After updating to the latest release of centos7 my system hangs at boot. It is in an seaming endless loop trying to start the Login Service.
The output shown is:
[FAILED] Failed to start Login Service
See 'systemctl status systemd-logind.service' for details

, which is repeated over and over.

I am using centos7 within VMware workstation 12 Player.
For your information it is reproducible, with even different images. Directly after installing the updates, about 1300 packages, the system gets stuck during boot with the messages above.

I tried to startup in runlevel 2, in which I was not succesful, the system keeps trying to start the login service.
My question is how can I get around this a obtain a command prompt, so that I can investigate what is going wrong.
Attachments
centos7-boot.jpg
centos7-boot.jpg (94.03 KiB) Viewed 538 times

janripke
Posts: 5
Joined: 2018/07/17 15:41:49

Re: Latest update results in hanging at boot

Post by janripke » 2018/07/18 08:18:37

The problem appeared after updating from version 3.10.0-693.17.1.el7.x86_64 to 3.10.0-862.6.3.e17.x86_64

janripke
Posts: 5
Joined: 2018/07/17 15:41:49

Re: Latest update results in hanging at boot

Post by janripke » 2018/07/18 13:45:23

After a while, about an hour, my network is started, so I could logon using ssh.
Examining the log, more specific /var/log/message in this post shows the following message:

dbus-daemon: /usr/bin/dbus-daemon: symbol lookup error: /usr/bin/dbus-daemon: undefined symbol: XML_SetHashSalt

some googling shows that a redhat solution is in progress, for what it looks the same problem:
https://access.redhat.com/solutions/3468321

do you pick this up at centos

User avatar
TrevorH
Forum Moderator
Posts: 24075
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Latest update results in hanging at boot

Post by TrevorH » 2018/07/18 13:56:37

You can read that article if you have the free Redhat Developer subscription (or any other RH sub). It appears to be blaming Oracle in this instance though there could be other causes:
Remove third party libraries from /etc/ld.so.conf.d/, such as oracle.conf which adds itself to the dbus path and prevents dbus from running properly.

Once any third party libraries are removed that were adding themselves to dbus please run a ldconfig to point tell the system to point to the proper libraries.

Then a ldd command can be run again to verify the changes took effect (where we should see that we're not using system libraries).
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

janripke
Posts: 5
Joined: 2018/07/17 15:41:49

Re: Latest update results in hanging at boot

Post by janripke » 2018/07/19 09:39:33

Thanks for you answer. unfortunately I do not have a redhat account or any othe rh subscription.
I think you could be right about oracle. The image I use has an oracle database installed, during the update I saw some error's pointing in this direction.
I will investage your tips, thanks

User avatar
TrevorH
Forum Moderator
Posts: 24075
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Latest update results in hanging at boot

Post by TrevorH » 2018/07/19 10:02:54

I posted the relevant portion of the article in my reply.

You can get a free Redhat Developer subscription by using http://developers.redhat.com/blog/2016/ ... available/
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

janripke
Posts: 5
Joined: 2018/07/17 15:41:49

Re: Latest update results in hanging at boot

Post by janripke » 2018/07/19 11:09:42

As you mentioned I did follow your instructions and removed the third party libraries from /etc/ld.so.conf.d/
In my case they were, or I guessed
- atlas-x86_64.conf
- oracle-instantclient.conf
- R-x86_64.conf

After this I did run the command ldconfig and rebooted the system and ... success!!!
So thanks for your guidance.

Post Reply