Jarry wrote:
Hi,
I have set-up serial console on my server in /etc/inittab:
s0:12345:respawn:/sbin/agetty 38400 ttyS0 vt100
It mostly works, with one exception: right after boot-up
I get this message:
INIT: ID "s0" respawning too fast: disabled for 5 minutes
Of course, I can see this only on attached monitor, because
ttyS0 is dead. After those 5min ttyS0 is again up/running
and I can finally log in. I tried lowering port speed
down to 9600, but it does not make any difference...
How can I control that respawn speed, or prohibit this
behavior (disabling ttyS0 for 5min)? I do not like waiting
5min to log in, after I restarted server...
Jarry
Don't know the answer to yr question. But I'm also not sure if you're
asking the right question.
When I last saw "respawning too fast: disabled for 5 minutes", it was
actually an issue with the spawned process not being able to start. I'm
therefore suggesting you'd want to consider checking why agetty cannot
run, rather than working around init's behavior.
Amit