控制台输出"INIT: Id "c0" respawning too fast: disabled for 5 minutes"
在Linux服务器串口控制台经常输出INIT: Id "c0" respawning too fast: disabled for 5 minutes让人非常疑惑:
2018-03-01 22:08:06 INIT: Id "c0" respawning too fast: disabled for 5 minutes
2018-03-01 22:14:47 INIT: Id "c0" respawning too fast: disabled for 5 minutes
2018-03-01 22:21:28 INIT: Id "c0" respawning too fast: disabled for 5 minutes
2018-03-01 22:28:09 INIT: Id "c0" respawning too fast: disabled for 5 minutes
...
Mar 2 15:33:36 my.xen.server init: Id "c0" respawning too fast: disabled for 5 minutes
Mar 2 15:40:17 my.xen.server init: Id "c0" respawning too fast: disabled for 5 minutes
...
Mar 2 15:17:22 my.kvm.server init: Id "c0" respawning too fast: disabled for 5 minutes
Mar 2 15:24:03 my.kvm.server init: Id "c0" respawning too fast: disabled for 5 minutes
...
解决方法
首先注释掉/etc/inittab中这行异常的串口配置
# Run gettys in standard runlevels
# c0:2345:respawn:/sbin/agetty hvc0 vt100-nav
S0:2345:respawn:/sbin/agetty ttyS0 115200 vt100-nav
...