Page 1 of 1

Latest update results in hanging at boot

Posted: 2018/07/17 16:05:51
by janripke
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.

Re: Latest update results in hanging at boot

Posted: 2018/07/18 08:18:37
by janripke
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

Re: Latest update results in hanging at boot

Posted: 2018/07/18 13:45:23
by janripke
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

Re: Latest update results in hanging at boot

Posted: 2018/07/18 13:56:37
by TrevorH
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).

Re: Latest update results in hanging at boot

Posted: 2018/07/19 09:39:33
by janripke
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

Re: Latest update results in hanging at boot

Posted: 2018/07/19 10:02:54
by TrevorH
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/

Re: Latest update results in hanging at boot

Posted: 2018/07/19 11:09:42
by janripke
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.