“kernel panic - not syncing: Attempted to kill init”我的解决方法
2013-10-20 09:19
417 查看
故障现象:今天早上一开机,就碰到此提示:kernel panic - not syncing: Attempted to kill init,大概意思是内核不同步:试图杀死init进程。
系统环境:Centos5.9。
后来在网上查了下,可能与selinux有关,我想了想,昨天好像配置了mysql好像是需要关闭selinux,然后我就从光盘引导,按F5进入rescue mode,中间一路OK,有个continue最后进入命令行后,要改变下镜像文件位置:
chroot /mnt/sysimage
才可以进入shell状态,使用命令。
我先查了selinux的配置文件:
[root@server ~]# grep -i "selinux=" /etc/selinux/config
# SELINUX= can take one of these three values:
SELINUX=enforcing
我用sed将SELINUX值更改为disable:
[root@server ~]# sed -i 's#SELINUX=enforcing#SELINUX=disable#g' /etc/selinux/config
[root@server ~]# grep -i "selinux=" /etc/selinux/config
# SELINUX= can take one of these three values:
SELINUX=disable
重启系统后,正常启动,故障解除!!!!
本文出自 “Linux天地” 博客,请务必保留此出处http://tianbright.blog.51cto.com/6682167/1312212
系统环境:Centos5.9。
后来在网上查了下,可能与selinux有关,我想了想,昨天好像配置了mysql好像是需要关闭selinux,然后我就从光盘引导,按F5进入rescue mode,中间一路OK,有个continue最后进入命令行后,要改变下镜像文件位置:
chroot /mnt/sysimage
才可以进入shell状态,使用命令。
我先查了selinux的配置文件:
[root@server ~]# grep -i "selinux=" /etc/selinux/config
# SELINUX= can take one of these three values:
SELINUX=enforcing
我用sed将SELINUX值更改为disable:
[root@server ~]# sed -i 's#SELINUX=enforcing#SELINUX=disable#g' /etc/selinux/config
[root@server ~]# grep -i "selinux=" /etc/selinux/config
# SELINUX= can take one of these three values:
SELINUX=disable
重启系统后,正常启动,故障解除!!!!
本文出自 “Linux天地” 博客,请务必保留此出处http://tianbright.blog.51cto.com/6682167/1312212
相关文章推荐
- Kernel panic – not syncing: Attempted to kill init 解决
- Linux启动提示Kernel panic - not syncing: Attempted to kill init解决办法
- Kernel panic - not syncing: Attempted to kill init!问题解决办法
- Linux启动提示Kernel panic - not syncing: Attempted to kill init解决办法
- Linux启动提示Kernel panic - not syncing: Attempted to kill init解决办法
- 文件系统编译过程中遇到问题,解决过程Kernel panic - not syncing: Attempted to kill init!
- Linux启动提示""Kernel panic - not syncing: Attempted to kill init""永久解决办法
- Linux启动提示Kernel panic - not syncing: Attempted to kill init解决办法
- Kernel panic - not syncing: Attempted to kill init 解决办法
- Kernel Panic -- not syncing: attempted to kill init的解决
- Kernel Panic -- not syncing: attempted to kill init的解决
- ARM上的浮点运算 eabi oabi busybox (Kernel panic - not syncing: Attempted to kill init!)
- Kernel panic - not syncing: Attempted to kill init!
- 对于ARM加载文件系统出现 Kernel panic - not syncing: Attempted to kill init!
- Kernel panic - not syncing: Attempted to kill init!(移植linux2.6.29.4进友善mini2440开发板时遇到)
- Kernel panic – not syncing: Attempted to kill init
- Kernel panic - not syncing: Attempted to kill init
- Kernel panic - not syncing: Attempted to kill init!
- 应修改selinux参数导致Kernel panic -not syncing:Attempted to kill init
- Kernel panic-not syncing:attempted to kill init!