Advertisement
Guest User

Kernel Panic after updation of CentOS 6.3

a guest
Oct 18th, 2012
1,341
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. //Infizeal Technologies
  2. //By: Hardeep Singh
  3. //www.fb.com/h4rdeep
  4. kernel panic - not syncing: Attempted to kill inint !
  5. PId: 1, comm: init not tainted 2.6.32.-279-5.2.e16.x86_64 #1
  6. Call Trace:
  7. [<ffffffff814fd39a>] ? panic+0xa0/0a0x168
  8. [<ffffffff81070bd2>] ? do_exit+0x862/0x870
  9. [<ffffffff8117ccf5>] ? fput+x25/0x30
  10. [<ffffffff81070c38>] ? do_group_exit+0x58/0xd0
  11. [<ffffffff81070cc7>] ? sys_exit_group+0x70/0x20
  12. [<ffffffff8100b0f2>] ? system_call_fastpath+0x16/0x1b
  13. Panic occured, switching back to text console
  14.  
  15. If this error is shown when you boot cent os 6.3
  16. then you should have disabled selinux (linux firewall)
  17. and after that you have rebooted the system.
  18.  
  19. now reboot the system
  20.  
  21. when the menu comes that says
  22. automatic booting in 10 secs.
  23. press 'e' to edit the command
  24. select the kernel
  25. line starting with kernel.x.x.x
  26. press 'e' to edit kernel command
  27. at the end of the line write
  28. 3 selinux=0
  29. 3 is the runlevel for the boot process
  30. and selinux=0 means that we are disables selinux permanentaly
  31. http://superuser.com/questions/365118/how-can-i-install-centos-6-without-the-gui
  32. http://www.crypt.gen.nz/selinux/disable_selinux.html
  33. now login as root user
  34.  
  35. edit /etc/inittab and look for a line that begin with id:5. Replace the 5 in that line by 3
  36. nano /etc/inittab
  37.  
  38.  
  39. Runlevel 0 and 6: halt and reboot the machine, respectively.
  40. Runlevel 1: No services running, only root can login.
  41. Runlevel 2: Users can login but no networking.
  42. Runlevel 3: Networking and text-mode.
  43. Runlevel 4: unused.
  44. Runlevel 5: GUI.
  45. it will add 3 permanentaly in the kernel boot command
  46.  
  47. now add selinux=0 permanentaly in kernel boot command
  48. by editing /boot/grub/grub.conf
  49. nano /boot/grub/grub.conf
  50.  
  51. On the kernel line, add selinux=0 at the end, eg
  52. kernel /boot/vmlinuz-2.4.20-selinux-2003040709 ro root=/dev/hda1 nousb selinux=0
  53.  
  54. http://www.crypt.gen.nz/selinux/disable_selinux.html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement