{"id":5170,"date":"2015-08-26T10:29:58","date_gmt":"2015-08-26T02:29:58","guid":{"rendered":"http:\/\/rmohan.com\/?p=5170"},"modified":"2015-08-26T11:23:46","modified_gmt":"2015-08-26T03:23:46","slug":"certmonger-breaks-boot-on-linux-6-x","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=5170","title":{"rendered":"Certmonger breaks boot on  linux 6.x"},"content":{"rendered":"<p>Usually it will hang after Starting certmonger: [OK]<\/p>\n<p>Startup the hanging machine (H1)<br \/>\nFrom another machine do:<\/p>\n<p>&gt; ssh H1<br \/>\n&gt; su<br \/>\n&gt; mv \/etc\/X11\/<span class=\"skimlinks-unlinked\">xorg.conf<\/span> \/etc\/X11\/<span class=\"skimlinks-unlinked\">xorg.conf.bak<\/span><\/p>\n<p>Now restart H1.<\/p>\n<p>You can have more explanations by doing a \u201ctail -n 200 \/var\/logXorg.0.log\u201d on the hanging machine.<\/p>\n<p>just found a strange bug when installing Oracle Linux 6.5. After fresh install with \u2018Desktop\u2019 installation type , server is hanging on boot with certmonger service started. I normally don\u2019t do a \u2018Desktop\u2019 installation hence the reason i never seen this before.<\/p>\n<p>The main reason for this is an error\/bug, (call it what you want), in the X Windows System deployment when choosing \u2018Desktop\u2019 option.<\/p>\n<p>To fix this you have to update you \u2018X Window System\u2019 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:<\/p>\n<h2>Boot into system level 3<\/h2>\n<p>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.<\/p>\n<p>Edit kernel boot params and add at the end number \u20183\u2019.<\/p>\n<ul>\n<li>When the Grub menu appears, press the \u2018e\u2019 key.&lt;(li&gt;<\/li>\n<li>Scroll down to the line with kernel and press the \u2018e\u2019 again.<\/li>\n<li>At the end of the line, the last word should be \u2018quiet\u2019. Right arrow key over to the end of the line and press spacebar once to add a space after the word \u2018quiet\u2019 and press the 3 key.<\/li>\n<\/ul>\n<p>Example:<br \/>\n<code>kernel \/vmlinuz-2.6.39-400.109.5.el6uek.x86_64 rhgb quiet 3<\/code><\/p>\n<ul>\n<li>Then press the Enter key and then the letter \u2018b\u2019 to boot the system.<\/li>\n<\/ul>\n<p>This will boot system to level 3.<\/p>\n<h2>Install X Window packages<\/h2>\n<p><code>yum update<\/code><br \/>\n<code>yum groupinstall \"X Window System\"<\/code><\/p>\n<h2>Reboot the server<\/h2>\n<p><code>shutdown -r now<\/code><br \/>\nServer now should boot fine to mode-5 without any issue with entering GUI mode.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Usually it will hang after Starting certmonger: [OK]<\/p>\n<p>Startup the hanging machine (H1) From another machine do:<\/p>\n<p>&gt; ssh H1 &gt; su &gt; mv \/etc\/X11\/xorg.conf \/etc\/X11\/xorg.conf.bak<\/p>\n<p>Now restart H1.<\/p>\n<p>You can have more explanations by doing a \u201ctail -n 200 \/var\/logXorg.0.log\u201d on the hanging machine.<\/p>\n<p>just found a strange bug when installing Oracle Linux 6.5. [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,17],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/5170"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5170"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/5170\/revisions"}],"predecessor-version":[{"id":5171,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/5170\/revisions\/5171"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}