Gentoo Archives: gentoo-user

From: fei huang <daniel.huangfei@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] system suspend every time when rebooting or shutdown.
Date: Sun, 21 May 2006 13:05:48
Message-Id: 5cd9791d0605210554w191ba104gda7722f4ea7a84f5@mail.gmail.com
In Reply to: Re: [gentoo-user] system suspend every time when rebooting or shutdown. by Teresa and Dale
1 On 5/21/06, Teresa and Dale <teendale@×××××××××××××.com> wrote:
2 >
3 > fei huang wrote:
4 >
5 > > This issue was found when I started to use gentoo again after around
6 > > three months. I remember that I updated some packages including the
7 > > portage... the system suspends with " *no more* processes *left in
8 > > this runlevel*
9 > > <
10 > http://www.google.com/url?sa=t&ct=res&cd=2&url=http%3A%2F%2Flists.debian.org%2Fdebian-user-catalan%2F2005%2F12%2Fmsg00168.html&ei=JRVvRIugEY78oQKRuZT3Bg&sig2=JMh6dJZsXqlJFzbvo8gPug
11 > >"
12 > > message. I have solved this problem by removing all files under /etc/
13 > > within the package "baselayout", and re-emerge it. but I got another
14 > > problem that all applications failed to run and complained " error
15 > > while loading shared libraries: lib stdc++.so.5: cannot load shared
16 > > object file: No such file or directory", I had no idea and re-emerge
17 > > gcc together with some other updates, I could not reboot again!!!..
18 > > It makes me crazy. any ideas about this problem... mm
19 > >
20 > > thanks a lot.
21 > > daniel
22 >
23 >
24 > I ran into that a good while back. What I had was a blank inittab file
25 > in /etc. This is what should be in there:
26 >
27 > > #
28 > > # /etc/inittab: This file describes how the INIT process should set up
29 > > # the system in a certain run-level.
30 > > #
31 > > # Author: Miquel van Smoorenburg, <miquels@×××××××.nl>
32 > > # Modified by: Patrick J. Volkerding, <volkerdi@×××××××××.com>
33 > > # Modified by: Daniel Robbins, <drobbins@g.o>
34 > > # Modified by: Martin Schlemmer, <azarah@g.o>
35 > > #
36 > > # $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/files/inittab,v
37 > > 1.5 2005/12/22 02:03:23 vapier Exp $
38 > >
39 > > # Default runlevel.
40 > > id:3:initdefault:
41 > >
42 > > # System initialization, mount local filesystems, etc.
43 > > si::sysinit:/sbin/rc sysinit
44 > >
45 > > # Further system initialization, brings up the boot runlevel.
46 > > rc::bootwait:/sbin/rc boot
47 > >
48 > > l0:0:wait:/sbin/rc shutdown
49 > > l1:S1:wait:/sbin/rc single
50 > > l2:2:wait:/sbin/rc nonetwork
51 > > l3:3:wait:/sbin/rc default
52 > > l4:4:wait:/sbin/rc default
53 > > l5:5:wait:/sbin/rc default
54 > > l6:6:wait:/sbin/rc reboot
55 > > #z6:6:respawn:/sbin/sulogin
56 > >
57 > > # TERMINALS
58 > > c1:12345:respawn:/sbin/agetty 38400 tty1 linux
59 > > c2:2345:respawn:/sbin/agetty 38400 tty2 linux
60 > > c3:2345:respawn:/sbin/agetty 38400 tty3 linux
61 > > c4:2345:respawn:/sbin/agetty 38400 tty4 linux
62 > > c5:2345:respawn:/sbin/agetty 38400 tty5 linux
63 > > c6:2345:respawn:/sbin/agetty 38400 tty6 linux
64 > >
65 > > # SERIAL CONSOLES
66 > > #s0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100
67 > > #s1:12345:respawn:/sbin/agetty 9600 ttyS1 vt100
68 > >
69 > > # What to do at the "Three Finger Salute".
70 > > ca:12345:ctrlaltdel:/sbin/shutdown -r now
71 > >
72 > > # Used by /etc/init.d/xdm to control DM startup.
73 > > # Read the comments in /etc/init.d/xdm for more
74 > > # info. Do NOT remove, as this will start nothing
75 > > # extra at boot if /etc/init.d/xdm is not added
76 > > # to the "default" runlevel.
77 > > x:a:once:/etc/X11/startDM.sh
78 > >
79 >
80 > I was lucky, I make a back-up of my /etc directory every once in a
81 > while. I just copied it back over. I had to boot from the CD and mount
82 > the root partition to do that though.
83 >
84 > Hope that helps.
85 >
86 > Dale
87 > :-)
88
89
90 the inittab file is ok, really odd, I could not go back to the point where
91 the system was working, even I re-emerge the baselayout again. no idea about
92 this problem, though I've even checked all the stuff under init.d and conf.d..
93 so... I really appreciate if there's any clue offered.
94
95 --
96 > gentoo-user@g.o mailing list
97 >
98 >

Replies

Subject Author
Re: [gentoo-user] system suspend every time when rebooting or shutdown. fei huang <daniel.huangfei@×××××.com>