Re: [Vserver] gentoo guest wont start up or find anything after failed emerge

From: Chuck <chuck_at_sbbsnet.net>
Date: Thu 24 Nov 2005 - 22:25:03 GMT
Message-Id: <200511241725.04130.chuck@sbbsnet.net>

On Thursday 24 November 2005 04:55 pm, Grzegorz Nosek wrote:
> 2005/11/24, Chuck <chuck@sbbsnet.net>:
> >
> > without knowing much about the library system, i would say it is
installed.
> > see below... ldconfig would be very hard to run within the guest when i
> > cannot chroot the guest.
> >
> > /vservers/davin/opt/OpenOffice.org/program/libstdc++.so
> > /vservers/davin/opt/OpenOffice.org/program/libstdc++.so.5
> > /vservers/davin/var/cache/edb/dep/usr/portage/sys-libs/libstdc++-v3-3.3.4
> > /vservers/davin/var/cache/edb/dep/usr/portage/sys-libs/libstdc++-v3-3.3.6
>
> /vservers/davin/var/cache/edb/dep/usr/portage/sys-libs/libstdc++-v3-3.3.3-r1
> > /vservers/davin/usr/lib/libstdc++.so.2.7.2.8
> > /vservers/davin/usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
> > /vservers/davin/usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
> > /vservers/davin/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.la
> > /vservers/davin/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so
> > /vservers/davin/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.a
> > /vservers/davin/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5
> > /vservers/davin/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++_pic.a
> > /vservers/davin/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5.0.7
> > /vservers/davin/usr/lib/libstdc++-libc6.2-2.so.3
> > /vservers/davin/usr/lib/libstdc++.so.2.8
> > /vservers/davin/usr/lib/libstdc++.so.2.9
> > /vservers/davin/usr/lib/libstdc++.so.2.7.2
> > /vservers/davin/usr/lib/libstdc++.so.2.8.0
> > /vservers/davin/usr/lib/libstdc++.so.2.9.0
> > /vservers/davin/usr/lib/libstdc++-libc6.1-1.so.2
>
> /vservers/davin/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/locale/de/LC_MESSAGES/libstdc++.mo
>
> /vservers/davin/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/locale/fr/LC_MESSAGES/libstdc++.mo
> >
>
> These are the standard C++ libraries. The standard C library is
> /lib/libc.so.6 or something similar (along with several other
> essential libraries).
>
> You should be able to run ldconfig inside the chroot as it's (at least
> on some ancient box I'm looking at right now) statically linked, so
> try:
>
> chroot /vservers/davin ldconfig -v
>
> Also compare your /lib directories on the host and the guest.

the guest cannot execute any files at all. nor can it find them even with the
proper path given. if i just knew what could have happened within the emerge
of a binary program for this to occur..... it was working fine before this
and nothing had been installed/changed in approx month before this.

eron davin # chroot /vservers/davin /sbin/ldconfig -v
chroot: cannot run command `/sbin/ldconfig': No such file or directory

it cant find bash it cant find ls it cant access anything. same behavior as
when the guest was 'alive' before i stopped it. stopping it was error prone
too since it could not execute shutdown. it simply has lost the ability to
execute anything or find anything..

i tried comparing the libs but that seems useless too in a way since the host
and guest are vastly different in what is installed. the host is a full
featured workstation with literally hundreds of applications installed while
the guest is a minimal remote desktop server. ill try to make lists and
diff them and see what happens..

> Best regards,
> Grzegorz Nosek
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
>

-- 
Chuck
"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Thu Nov 24 22:25:33 2005
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 24 Nov 2005 - 22:25:44 GMT by hypermail 2.1.8