免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2909 | 回复: 3
打印 上一主题 下一主题

init:id 3 respawning to fast:disabled for 5 minites [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-04-16 17:37 |只看该作者 |倒序浏览
昨天用文本方式装了Red Hat linux 5,完成后重启,没什么问题,进入系统后,想改下/etc/inittab文件,居然没找到这个文件,启都能启动,我估计是自己没找到而已,顺着就安了DHCPD和BIND,也成功了。
第二天,开机就提示:
INIT:no inittab file found
INIT: no more processes left in this runlevel
在修复模式下,我建立了个inittab 文件,如此,系统启动要结束的时候又有个新问题:
INIT:cannot execute" /sbin/mingetty"
INIT:Id"3"respawning too fast:disabled for 5minutes
按CTRL+Z后让我登录,用startx可以进图形界面,在文本模式下隔一段时间就会提示:
INIT:cannot execute" /sbin/mingetty"
INIT:Id"3"respawning too fast:disabled for 5minutes
我是新手,上网查了很多资料也没解决问题,还望大家多多指教?

论坛徽章:
0
2 [报告]
发表于 2011-04-17 10:15 |只看该作者
你的initab文件建的有问题吧,
INIT:cannot execute" /sbin/mingetty"  这个是关键
看看有没有这个文件什么的

----------------------------------------
In most distributions this means that the system is booting by default
into runlevel 5, which is supposed to respawn (re-start again after
it's been exited) a graphical login via xdm, kdm, gdm, or whatever,
and the system can't locate the program.

However, "Id" can also indicate the absence or misconfiguration of
another program, like mingetty, if init tries to respawn itself more
than 10 times in 2 minutes.

Id "x" is the number in the leftmost column of the /etc/inittab file:

# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

Commenting the offending line out and then fixing the errant program
and testing on the command line will allow you to see any error
messages that go to standard error output (console) if the errors are
not going to the system log file. Uncomment the line and restart init
with "kill -SIGHUP 1" or "telinit q" to cause init to reinitialize and
reread the /etc/inittab file.

Some systems, however, rewrite /etc/inittab when booting. In that
case, refer to the init man page, and/or the settings in
/etc/sysconfig/init.

Refer to the init and /etc/inittab man pages for detailed information.

[Carl King]

论坛徽章:
0
3 [报告]
发表于 2011-04-17 11:51 |只看该作者
回复 1# dyanlinux

    那文件属于
    initscript包

    你不是给误删除了啊?

论坛徽章:
0
4 [报告]
发表于 2011-04-18 22:08 |只看该作者
回复 2# cjavavb


    有这个文件。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP