init:id 3 respawning to fast:disabled for 5 minites
昨天用文本方式装了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
我是新手,上网查了很多资料也没解决问题,还望大家多多指教?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
你的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]
回复 1# dyanlinux
那文件属于
initscript包
你不是给误删除了啊?
回复 2# cjavavb
有这个文件。