LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 12-10-2008, 12:53 AM   #1
babygajah
LQ Newbie
 
Registered: Dec 2008
Posts: 1

Rep: Reputation: Disabled
INIT : no more processes left in this runlevel


Hello,

Last friday my workstation worked fine, but after the weekend, somehow it rebooted, but failed to continue until the GUI.

There was a prompt waiting for my input :
Code:
INIT : entering runlevel :
I tried entering 0-5, but this error appears
Code:
INIT : no more processes left in this runlevel
I've encountered numerous of threads regarding this, but mostly it occurs during shut down.

What I have done :
  1. Use the CD to enter the 'linux rescue' mode --> chroot /mnt/sysimage
  2. Checked my /etc/inittab, i have only "id:5:initdefault:" uncommented.
  3. Assuming the file was corrupted, Tried to copy from /etc/inittab.rpmsave, but there's no such file.
  4. So I’ve added the /etc/inittab with these commands:
    Code:
    id:5:initdefault:
    si::sysinit:/etc/rc.d/rc.sysinit
     
    l0:0:wait:/etc/rc.d/rc 0
    l1:1:wait:/etc/rc.d/rc 1
    l2:2:wait:/etc/rc.d/rc 2
    l3:3:wait:/etc/rc.d/rc 3
    l4:4:wait:/etc/rc.d/rc 4
    l5:5:wait:/etc/rc.d/rc 5
    l6:6:wait:/etc/rc.d/rc 6
     
    ca::ctrlaltdel:/sbin/shutdown -t3 -r now
     
    pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"
    
    pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"
    
    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
     
    x:5:respawn:/etc/X11/prefdm -nodaemon
    (taken from http://basiclinuxcommand.blogspot.co...iguration.html)

    After I rebooted, it had successfully entering level 5.
    But there were numerous 'Segmentation Faults', which I wasn't able to capture as it was too fast.(May I know how can I capture all those errors?)
    Then, instead of the GUI, a black screen with these prompt came out.
    Code:
    Centos release 5.2 (Final)
    Kernel 2.6.18.92.1.13.e15 on an i686
    (none) login:
    And even I entered a login (root or other users), it came back the same prompt. No prompt for password, just login.

    So I reverted back to the original version of inittab.
    Tried id:0-5, still the same error ("no more processes left")
  5. fsck : "Running e2fsck on mounted filesystem may cause severe damage filesystem."So I skipped.
  6. fdisk -l :
    Code:
    disk /dev/sda xxxGB 
    Device     Boot   Start    End     Blocks    Id     System
    /dev/sda1   *       1       13     104381    83     Linux
    /dev/sda2          14      17821   14xxxxx   8e     Linux LVM
  7. uname -r : 2.6.18-92.1.13.e15
  8. rpm -qV initscripts
    Code:
    S.?.... T c /etc/inittab
    S.?.... T c /etc/rc.d/rc.sysinit
  9. I tried to access using the single mode, ('a' then 'single' during boot choice) and succeded.
    • fsck :
      Code:
      fsck 1.3.9 (2/5/06)
      e2fsck 1.3.9 (2/5/06) 
      /dev/VolGroup00/LogVol00: clean,
      e2fsck 1.3.9 (2/5/06)
      /boot: clean,
    • When I exited the single mode, the same thing appears.
      Code:
      INIT : entering runlevel : 5
      INIT : no more processes left in this runlevel

Sorry for the lengthy post.
I am still new at this and I think I am running in circles.
Any suggestions will be much appreciated.
Btw, if possible, I would like to avoid wiping out all my data.

Thank you.

Last edited by babygajah; 12-10-2008 at 01:33 AM.
 
Old 12-11-2008, 12:48 AM   #2
vamsi_k
Member
 
Registered: Aug 2008
Posts: 66

Rep: Reputation: 18
So u are not able to enter the GUI mode :

try these steps at single user mode :

cross check or verify the rpm packages related gnome or kde.

then run the command

# startx
 
Old 12-11-2008, 01:20 AM   #3
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 98
With the modified /etc/inittab file, you get to a login prompt but are unable to login as any user?

Check that /etc/passwd and /etc/shadow exist and have the correct information. Single user mode doesn't need to read either of these files, but an attempt to login would need to be able to read both.
 
  


Reply



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: no more processes left in this run level zarazek Linux - Software 1 12-12-2007 07:38 AM
INIT: no more processes left on this runlevel sanu Linux - General 1 10-15-2006 03:21 PM
INIT: no more processes left in this runlevel netsina Red Hat 3 07-04-2005 03:21 AM
No initab file found - No more processes left in this runlevel mrhansen Linux - Newbie 6 08-27-2004 02:17 PM
INIT: no more processes left in this runlevel ..:eMa:.. Linux - Newbie 8 10-29-2003 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:12 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration