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