* [gentoo-user] system suspend every time when rebooting or shutdown. @ 2006-05-20 13:39 fei huang 2006-05-20 17:30 ` Teresa and Dale 0 siblings, 1 reply; 5+ messages in thread From: fei huang @ 2006-05-20 13:39 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 905 bytes --] This issue was found when I started to use gentoo again after around three months. I remember that I updated some packages including the portage... the system suspends with "*no more* processes *left in this runlevel*<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>" message. I have solved this problem by removing all files under /etc/ within the package "baselayout", and re-emerge it. but I got another problem that all applications failed to run and complained "error while loading shared libraries: lib stdc++.so.5: cannot load shared object file: No such file or directory", I had no idea and re-emerge gcc together with some other updates, I could not reboot again!!!.. It makes me crazy. any ideas about this problem... mm thanks a lot. daniel [-- Attachment #2: Type: text/html, Size: 1175 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] system suspend every time when rebooting or shutdown. 2006-05-20 13:39 [gentoo-user] system suspend every time when rebooting or shutdown fei huang @ 2006-05-20 17:30 ` Teresa and Dale 2006-05-21 12:54 ` fei huang 0 siblings, 1 reply; 5+ messages in thread From: Teresa and Dale @ 2006-05-20 17:30 UTC (permalink / raw To: gentoo-user fei huang wrote: > This issue was found when I started to use gentoo again after around > three months. I remember that I updated some packages including the > portage... the system suspends with " *no more* processes *left in > this runlevel* > <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>" > message. I have solved this problem by removing all files under /etc/ > within the package "baselayout", and re-emerge it. but I got another > problem that all applications failed to run and complained " error > while loading shared libraries: lib stdc++.so.5: cannot load shared > object file: No such file or directory", I had no idea and re-emerge > gcc together with some other updates, I could not reboot again!!!.. > It makes me crazy. any ideas about this problem... mm > > thanks a lot. > daniel I ran into that a good while back. What I had was a blank inittab file in /etc. This is what should be in there: > # > # /etc/inittab: This file describes how the INIT process should set up > # the system in a certain run-level. > # > # Author: Miquel van Smoorenburg, <miquels@cistron.nl> > # Modified by: Patrick J. Volkerding, <volkerdi@ftp.cdrom.com> > # Modified by: Daniel Robbins, <drobbins@gentoo.org> > # Modified by: Martin Schlemmer, <azarah@gentoo.org> > # > # $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/files/inittab,v > 1.5 2005/12/22 02:03:23 vapier Exp $ > > # Default runlevel. > id:3:initdefault: > > # System initialization, mount local filesystems, etc. > si::sysinit:/sbin/rc sysinit > > # Further system initialization, brings up the boot runlevel. > rc::bootwait:/sbin/rc boot > > l0:0:wait:/sbin/rc shutdown > l1:S1:wait:/sbin/rc single > l2:2:wait:/sbin/rc nonetwork > l3:3:wait:/sbin/rc default > l4:4:wait:/sbin/rc default > l5:5:wait:/sbin/rc default > l6:6:wait:/sbin/rc reboot > #z6:6:respawn:/sbin/sulogin > > # TERMINALS > c1:12345:respawn:/sbin/agetty 38400 tty1 linux > c2:2345:respawn:/sbin/agetty 38400 tty2 linux > c3:2345:respawn:/sbin/agetty 38400 tty3 linux > c4:2345:respawn:/sbin/agetty 38400 tty4 linux > c5:2345:respawn:/sbin/agetty 38400 tty5 linux > c6:2345:respawn:/sbin/agetty 38400 tty6 linux > > # SERIAL CONSOLES > #s0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100 > #s1:12345:respawn:/sbin/agetty 9600 ttyS1 vt100 > > # What to do at the "Three Finger Salute". > ca:12345:ctrlaltdel:/sbin/shutdown -r now > > # Used by /etc/init.d/xdm to control DM startup. > # Read the comments in /etc/init.d/xdm for more > # info. Do NOT remove, as this will start nothing > # extra at boot if /etc/init.d/xdm is not added > # to the "default" runlevel. > x:a:once:/etc/X11/startDM.sh > I was lucky, I make a back-up of my /etc directory every once in a while. I just copied it back over. I had to boot from the CD and mount the root partition to do that though. Hope that helps. Dale :-) -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] system suspend every time when rebooting or shutdown. 2006-05-20 17:30 ` Teresa and Dale @ 2006-05-21 12:54 ` fei huang 2006-05-22 2:39 ` fei huang 0 siblings, 1 reply; 5+ messages in thread From: fei huang @ 2006-05-21 12:54 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 3669 bytes --] On 5/21/06, Teresa and Dale <teendale@vista-express.com> wrote: > > fei huang wrote: > > > This issue was found when I started to use gentoo again after around > > three months. I remember that I updated some packages including the > > portage... the system suspends with " *no more* processes *left in > > this runlevel* > > < > 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 > >" > > message. I have solved this problem by removing all files under /etc/ > > within the package "baselayout", and re-emerge it. but I got another > > problem that all applications failed to run and complained " error > > while loading shared libraries: lib stdc++.so.5: cannot load shared > > object file: No such file or directory", I had no idea and re-emerge > > gcc together with some other updates, I could not reboot again!!!.. > > It makes me crazy. any ideas about this problem... mm > > > > thanks a lot. > > daniel > > > I ran into that a good while back. What I had was a blank inittab file > in /etc. This is what should be in there: > > > # > > # /etc/inittab: This file describes how the INIT process should set up > > # the system in a certain run-level. > > # > > # Author: Miquel van Smoorenburg, <miquels@cistron.nl> > > # Modified by: Patrick J. Volkerding, <volkerdi@ftp.cdrom.com> > > # Modified by: Daniel Robbins, <drobbins@gentoo.org> > > # Modified by: Martin Schlemmer, <azarah@gentoo.org> > > # > > # $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/files/inittab,v > > 1.5 2005/12/22 02:03:23 vapier Exp $ > > > > # Default runlevel. > > id:3:initdefault: > > > > # System initialization, mount local filesystems, etc. > > si::sysinit:/sbin/rc sysinit > > > > # Further system initialization, brings up the boot runlevel. > > rc::bootwait:/sbin/rc boot > > > > l0:0:wait:/sbin/rc shutdown > > l1:S1:wait:/sbin/rc single > > l2:2:wait:/sbin/rc nonetwork > > l3:3:wait:/sbin/rc default > > l4:4:wait:/sbin/rc default > > l5:5:wait:/sbin/rc default > > l6:6:wait:/sbin/rc reboot > > #z6:6:respawn:/sbin/sulogin > > > > # TERMINALS > > c1:12345:respawn:/sbin/agetty 38400 tty1 linux > > c2:2345:respawn:/sbin/agetty 38400 tty2 linux > > c3:2345:respawn:/sbin/agetty 38400 tty3 linux > > c4:2345:respawn:/sbin/agetty 38400 tty4 linux > > c5:2345:respawn:/sbin/agetty 38400 tty5 linux > > c6:2345:respawn:/sbin/agetty 38400 tty6 linux > > > > # SERIAL CONSOLES > > #s0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100 > > #s1:12345:respawn:/sbin/agetty 9600 ttyS1 vt100 > > > > # What to do at the "Three Finger Salute". > > ca:12345:ctrlaltdel:/sbin/shutdown -r now > > > > # Used by /etc/init.d/xdm to control DM startup. > > # Read the comments in /etc/init.d/xdm for more > > # info. Do NOT remove, as this will start nothing > > # extra at boot if /etc/init.d/xdm is not added > > # to the "default" runlevel. > > x:a:once:/etc/X11/startDM.sh > > > > I was lucky, I make a back-up of my /etc directory every once in a > while. I just copied it back over. I had to boot from the CD and mount > the root partition to do that though. > > Hope that helps. > > Dale > :-) the inittab file is ok, really odd, I could not go back to the point where the system was working, even I re-emerge the baselayout again. no idea about this problem, though I've even checked all the stuff under init.d and conf.d.. so... I really appreciate if there's any clue offered. -- > gentoo-user@gentoo.org mailing list > > [-- Attachment #2: Type: text/html, Size: 5078 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] system suspend every time when rebooting or shutdown. 2006-05-21 12:54 ` fei huang @ 2006-05-22 2:39 ` fei huang 2006-05-22 15:56 ` fei huang 0 siblings, 1 reply; 5+ messages in thread From: fei huang @ 2006-05-22 2:39 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 520 bytes --] I think I have solved this problem, not completely though. again I removed everything under /etc that belongs to baselayout, and re-emerge it, (I still don't know what the hell had caused the problem!). however, when I tried to restore some of my startup scripts like "metalog, alsasound", gentoo complains with message like this: "Could not *get dependency info* for XXX, try to fix ..... please run depscan.sh .... " could not remember all words, but depscan.sh seemed no use at all ! thanks..... daniel [-- Attachment #2: Type: text/html, Size: 585 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] system suspend every time when rebooting or shutdown. 2006-05-22 2:39 ` fei huang @ 2006-05-22 15:56 ` fei huang 0 siblings, 0 replies; 5+ messages in thread From: fei huang @ 2006-05-22 15:56 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 721 bytes --] problem solved~ by the following steps: > touch /etc/init.d/* > depscan.sh --update thank you. On 5/22/06, fei huang <daniel.huangfei@gmail.com> wrote: > > I think I have solved this problem, not completely though. again I removed > everything under /etc that belongs to baselayout, and re-emerge it, (I still > don't know what the hell had caused the problem!). however, when I tried to > restore some of my startup scripts like "metalog, alsasound", gentoo > complains with message like this: "Could not *get dependency info* for > XXX, try to fix ..... please run depscan.sh .... " could not remember all > words, but depscan.sh seemed no use at all ! > > thanks..... > > daniel > [-- Attachment #2: Type: text/html, Size: 1420 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-05-22 16:09 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-05-20 13:39 [gentoo-user] system suspend every time when rebooting or shutdown fei huang 2006-05-20 17:30 ` Teresa and Dale 2006-05-21 12:54 ` fei huang 2006-05-22 2:39 ` fei huang 2006-05-22 15:56 ` fei huang
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox