LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-23-2009, 08:08 AM   #1
grainfive
LQ Newbie
 
Registered: May 2009
Posts: 3

Rep: Reputation: 0
init: no more processes left and respawning too fast disabled


Hi all,

I have been using Fedora 7 (installed from DVD an year ago by my friend).

Yesterday when I rebooted the system it gave me the following message:

respawning too fast disabled for 5 minutes

I rebooted couple of time, but the message stuck on. I was able to get the command prompt without any problem, but, I did not know how to resolve the problem.

I googled around and found some information regarding getty etc...

Based on the information on the internet, I misinterpretted and commented a few lines on the file /etc/inittab. The following lines were commented by me:

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

I rebooted the system after that and now, in addition to the "respawning too fast disabled for 5 minutes" comment, I get

init: no more processes left in this runlevel

Again I googled around and understood that I have disabled all the terminals.

1. Is there someway I can rescue the system and bring it back to work. I have lot of important files on this PC, so, I do not want to format and install a fresh. Please let me know how I can resolve the problem.

2. I have already read that we can use rescue CD to solve the problem. My friend had installed using Fedora DVD and gave me a copy of the same. Where can I get the rescue CD. I have been able to locate the rescue CD here: http://archives.fedoraproject.org/pu...6-rescuecd.iso

2a: Do I have to download all the 97MB and create a rescue CD by burning the image?

2b: Cannot I create a rescue CD from the DVD that I already have with me

2c: By simply using the rescue CD will I be able to get the system back into working condition. Will I get access to /etc/initab file by using the rescue CD? Kindly clarify how to work with the rescue CD

3. If I am able to access /etc/initab using the resuce CD and I uncomment those few lines, and if the initial problem saying "respawning" occurs, how can I correct the problem.

The initial problem occurred when I was trying to change the IP address, gateway etc frequently. I rebooted after that restarting network service a few time, and this is where I landed.

Any help and method to rectify these problems will be very helpful.

Thanks and regards,
GF

PS: I have gone through a few posts including (http://www.linuxquestions.org/questi...roblem-206898/) on linuxquestions.org as well. But, I think I have done lot of harm. Hope someone can let me know how to rescue the system.
 
Old 05-23-2009, 08:18 AM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
If you have a livecd handy, just stick that in. Mount your partitions on there and you can go in and set your inittab back to what it was.

What was the full respawning message? When you boot into a live cd, output the result of
Code:
#  grep -i respawn /var/log/dmesg.0
 
Old 05-23-2009, 09:58 AM   #3
grainfive
LQ Newbie
 
Registered: May 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Hello James, I am away from the system now. I will use the live CD and mount the root partition and edit /etc/initab file.

I didnt know we could mount the regular file system and edit files from the live CD.

Can you give me some clue on why the problem "respawning too fast disabled for 5 minutes" came up to start with.

Thanks.
 
Old 05-23-2009, 10:15 AM   #4
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Well, there are certain programmes which need to respawn automatically when they close- try hitting ctrl+alt+backspace to close X (so long as this starts autmatically, that is ) and it'll pop right up.

You almost solved this yourself by commenting out those lines, which stopped any terminals starting- The actual programme that is respawning too often has an error and needs rebuilding; when it errors and closes, it restarts right away and, again, dies. This vicious little circle is causing too much of a problem so the kernel stops it respawning for 5mins, so you can repair it.

Get the actual programme that errors, from dmesg presumably, and rebuild it.

But yes, a live cd can be used exactly for this- normal mount command (though, of course, mkdir a mount point first)
 
Old 05-24-2009, 09:59 PM   #5
grainfive
LQ Newbie
 
Registered: May 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks James,

will try the same and update here in the forum.

regs.
 
Old 05-27-2009, 03:39 AM   #6
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,475

Rep: Reputation: 87
Probably not applicable, but I once had this "respawning too fast" problem with an old serial "Intelliport 2" serial multiplexer on an SCO/Unix system at the Fire Brigade where I used to work. Turned out it was going bad (lightning strikes from several distributed serial terminals) and that this was screwing up respawns. TTY's would respawn, die, respawn, die - as a previous poster said, this causes the kernel to respawn over and over and over (i. e. infinitely) and this gets detected, and that's why it complains "respawning too fast".

I. e. the spawned application isn't running long enough (or at all), init detects this and stops trying - since it can presumably slow down your system or use up memory to infinitely respawn something that just instantly crashes again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
init id 'x' respawning too fast:disabled for 5 mins r_ramya06 Fedora 3 06-17-2008 09:52 PM
FC7 with XEN : init: Id "x" respawning too fast: disabled for 5 minutes erikjan Fedora - Installation 0 07-11-2007 03:08 PM
RH9 INIT: ID "x" respawning too fast: disabled for 5 minutes valimare Linux - Newbie 4 02-16-2007 04:53 AM
INIT:Id "x" respawning too fast: disabled for 5 minutes problem satimis Red Hat 4 07-22-2004 06:03 AM
INIT: id 'x' respawning too fast: disabled for 5 minutes unitcoed Linux - Newbie 1 07-06-2003 07:35 PM


All times are GMT -5. The time now is 11:16 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration