Tuesday, March 25, 2014

Linux -- Rhel 6 panics on boot -- selinux problem

When booting the RHEL 6.5 , with kernel 2.6.32-431 or 2.6.32-279 , we have faced a panic issue
as follows;

Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: init not tainted 2.6.32-279.el6.x86_64 #1
Call Trace
  [<ffffffff814fd11a>] ? panic+0xa0/0x168
  [<ffffffff81070db2>] ? do_exit+0862/0x870
  [<ffffffff8117ca75>] ? fput+0x25/0x30
  [<ffffffff81070c38>] ? do_group_exit+0x17/0x20
  [<ffffffff81070cc7>] ? sys_exit_group+0x17/0x20
  [<ffffffff8100b0f2>] ? system_call_fastpath+0x16/0x1b

This seems to be document in Redhat Support: https://access.redhat.com/site/solutions/232483

For the solution, we booted Redhat with rescue cd and corrected the selinux configuration , as it was corrupted.. SELINUXTYPE was set to DISABLED..

An alternative solution could be using command line option in grub menu;

press 'e' to edit the command
press 'e' to edit kernel command
at the end of the line write
3 selinux=0
3 is runlevel 3
and selinux=0 -> disables selinux permanentaly..


  1. We are facing same issue. But the set is OVM guest machine. Upon launching console, we are not able to get into edit mode. It is directly getting into the error screen.

  2. Use my forum to ask your questions.

    Link: http://ermanarslan.blogspot.com.tr/p/forum.html

    Register and create you issue under "Oracle Database Appliance(ODA) & VM" category. I will give you tech assistance from there.


If you will ask a question, please don't comment here..

For your questions, please create an issue into my forum.

Forum Link: http://ermanarslan.blogspot.com.tr/p/forum.html

Register and create an issue in the related category.
I will support you from there.