[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cannot login to computer after upgrade to Lenny



Le Sun, May 31, 2009 at 04:40:02PM +0200, Sven Joachim écrivait :
> On 2009-05-31 14:48 +0200, MoS wrote:
>
> > I finally upgraded my computer to Lenny, following the release notes advices, and everything seemed to have worked quite well.
> > But after the reboot, I cannot login anymore !
> > The system complains about a missing library (libdl.so.2) ??
> >
> > A "failsafe" reboot using new Lenny kernel (2.6.26) provides me a root console, but I cannot do much more here (see the log below), I g$
> >
> > I have no clue about what's happening, and I couldn't find anything on the internet about this problem...
> > Some more details :
> >
> > <sources.list>
> > deb http://ftp.fr.debian.org/debian/ lenny main contrib non-free
> > deb-src http://ftp.fr.debian.org/debian/ lenny main contrib non-free
> >
> > deb http://security.debian.org/ lenny/updates main contrib non-free
> > deb-src http://security.debian.org/ lenny/updates main contrib non-free
> >
> > # Backports
> > deb http://www.backports.org/debian lenny-backports main contrib non-free
> >
> > <log>
> > # su
> > ksh: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
> >
> > # ldd /bin/su
> >         linux-gate.so.1 =>  (0xb7fca000)
> >         libpam.so.0 => /lib/libpam.so.0 (0xb7fbd000)
> >         libpam_misc.so.0 => /lib/libpam_misc.so.0 (0xb7fba000)
> >         libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7e5f000)
> >         libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7e5b000)
> >         /lib/ld-linux.so.2 (0xb7fcb000)
> >
> > # su - www-data
> > -su: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
> > # ls -la /lib/libdl.so.2
> > 0 lrwxrwxrwx 1 root root 12 May 31 13:09 /lib/libdl.so.2 -> libdl-2.7.so
>
> Note that the dynamic linker looks for /lib/i686/cmov/libdl.so.2 instead,
> since you seem to have libc6-i686 installed.
>

Thank you for helping Sven ;)

Well I must say I'm not very comfortable with that kind of low-level stuff...
You are right, package libc6-i686 is installed :

# dpkg -l |grep libc6
ii  libc6                                2.7-18                         GNU C Library: Shared libraries
ii  libc6-dev                            2.7-18                         GNU C Library: Development Libraries and Hea
ii  libc6-i686                           2.7-18                         GNU C Library: Shared libraries [i686 optimi

# dpkg -l | grep linux-image
ii  linux-image-2.6-486                  2.6.26+17+lenny1               Linux 2.6 image on x86
ii  linux-image-2.6.18-6-486             2.6.18.dfsg.1-24etch2          Linux 2.6.18 image on x86
ii  linux-image-2.6.26-2-486             2.6.26-15lenny2                Linux 2.6.26 image on x86

Is that ok if kernel is "486" and libc6 is "686" ?
This computer was installed a year ago using standard Etch install CD, and using default provided kernel. Never modified that kind of stuff.

> > # ls -la /lib/libdl-2.7.so
> > 12K -rw-r--r-- 1 root root 9.5K Jan  4 19:11 /lib/libdl-2.7.so
>
> What does "ls -l /lib/i686/cmov/libdl*" print?
>

# ls -la /lib/i686/cmov/libdl*

12K -rw-r--r-- 1 root root 9.5K Jan  4 19:12 /lib/i686/cmov/libdl-2.7.so
  0 lrwxrwxrwx 1 root root   12 May 30 20:59 /lib/i686/cmov/libdl.so.2 -> libdl-2.7.so

Dunno how to interpret this, hope that helps ?

> > Has somebody ever met this problem ? Anybody has an idea ?
> > I beg for helppp !!
>
> Maybe you need to reinstall the libc6-i686 package.
>
> Sven
>


# aptitude reinstall libc6-i686
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages will be REINSTALLED:
  libc6-i686
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 1265kB of archives. After unpacking 0B will be used.
Writing extended state information... Done
0% [Connecting to ftp.fr.debian.org (212.27.32.66)]
Get:1 http://ftp.fr.debian.org lenny/main libc6-i686 2.7-18 [1265kB]
78% [1 libc6-i686 991604/1265kB 78%]
Fetched 1265kB in 3s (412kB/s)
(Reading database ... 126483 files and directories currently installed.)
Preparing to replace libc6-i686 2.7-18 (using .../libc6-i686_2.7-18_i386.deb) ...
Unpacking replacement libc6-i686 ...
Setting up libc6-i686 (2.7-18) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done


Still cannot "login" or "su", same error as before :-/

Any help or clues would be deeply appreciated,
thanks in advance
MoS


Reply to: