April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Categories

April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Certmonger breaks boot on linux 6.x

Usually it will hang after Starting certmonger: [OK]

Startup the hanging machine (H1)
From another machine do:

> ssh H1
> su
> mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak

Now restart H1.

You can have more explanations by doing a “tail -n 200 /var/logXorg.0.log” on the hanging machine.

just found a strange bug when installing Oracle Linux 6.5. After fresh install with ‘Desktop’ installation type , server is hanging on boot with certmonger service started. I normally don’t do a ‘Desktop’ installation hence the reason i never seen this before.

The main reason for this is an error/bug, (call it what you want), in the X Windows System deployment when choosing ‘Desktop’ option.

To fix this you have to update you ‘X Window System’ but since starting the system is the issue you need to do some kernel boot magic. But unfortunately there is no magic, you just have to boot system into level 3:

Boot into system level 3

Press any key after the BIOS has completed, before the grub bootloader timeout is reached. This will stop booting and display the grub bootloader menu.

Edit kernel boot params and add at the end number ‘3’.

  • When the Grub menu appears, press the ‘e’ key.<(li>
  • Scroll down to the line with kernel and press the ‘e’ again.
  • At the end of the line, the last word should be ‘quiet’. Right arrow key over to the end of the line and press spacebar once to add a space after the word ‘quiet’ and press the 3 key.

Example:
kernel /vmlinuz-2.6.39-400.109.5.el6uek.x86_64 rhgb quiet 3

  • Then press the Enter key and then the letter ‘b’ to boot the system.

This will boot system to level 3.

Install X Window packages

yum update
yum groupinstall "X Window System"

Reboot the server

shutdown -r now
Server now should boot fine to mode-5 without any issue with entering GUI mode.

 

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>