Le mercredi 09 mai 2007 à 07:29 -0400, Michael a écrit : > > I use Debian Sid and Xen 3.0.3-1, and recently after an apt-dist upgrade, i > reboot my > server and now when i restart the server, i receive these error : /bin/sh : > error while > loading shared library libcrypt.so.1 cannot open shared object file :no such > file ... I > reboot the server on non-xen kernel, if i search the file libcrypt.so.1 i > found in these > file in many directory : > > /lib/i686/nosegneg/libcrypt.so.1 > /lib > > what's wrong ? >
I think the problem lies in the initrd used to boot the hypervisor (/boot/initrd.img-2.6.18-4-xen-686). I uncompressed it (using gunzip then cpio -i --make-directories), and found out the following : hortense:~/initrd.img-2.6.18-4-xen-686.out# ldd bin/sh linux-gate.so.1 => (0xffffe000) libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7f9a000) libm.so.6 => /lib/libm.so.6 (0xb7f73000) libc.so.6 => /lib/libc.so.6 (0xb7e30000) /lib/ld-linux.so.2 (0xb7fdb000) but : hortense:~/initrd.img-2.6.18-4-xen-686.out# ls -l lib total 1212 drwxr-xr-x 3 root root 4096 2007-06-08 12:23 i686 -rwxr-xr-x 1 root root 64572 2007-06-08 12:23 klibc-rOj3PRLKBA9FcF5ZuoqKQLmOWcA.so -rwxr-xr-x 1 root root 117460 2007-06-08 12:23 ld-linux.so.2 -rw-r--r-- 1 root root 10644 2007-06-08 12:23 libcfont.so.0 -rw-r--r-- 1 root root 73540 2007-06-08 12:23 libconsole.so.0 -rw-r--r-- 1 root root 18380 2007-06-08 12:23 libctutils.so.0 -rw-r--r-- 1 root root 65332 2007-06-08 12:23 libdevmapper.so.1.02 -rw-r--r-- 1 root root 271320 2007-06-08 12:23 libncurses.so.5 -rw-r--r-- 1 root root 26444 2007-06-08 12:23 libpopt.so.0 -rw-r--r-- 1 root root 196484 2007-06-08 12:23 libreadline.so.5 -rw-r--r-- 1 root root 79368 2007-06-08 12:23 libselinux.so.1 -rw-r--r-- 1 root root 219156 2007-06-08 12:23 libsepol.so.1 -rw-r--r-- 1 root root 9128 2007-06-08 12:23 libuuid.so.1 -rw-r--r-- 1 root root 23264 2007-06-08 12:23 libvolume_id.so.0 drwxr-xr-x 3 root root 4096 2007-06-08 12:23 modules drwxr-xr-x 2 root root 4096 2007-06-08 12:23 udev So there's no /lib/libcrypt.so.1 Actually, I find it in : hortense:~/initrd.img-2.6.18-4-xen-686.out# ls -l lib/i686/nosegneg/ total 1496 -rw-r--r-- 1 root root 21908 2007-06-08 12:23 libcrypt.so.1 -rw-r--r-- 1 root root 1327616 2007-06-08 12:23 libc.so.6 -rw-r--r-- 1 root root 9684 2007-06-08 12:23 libdl.so.2 -rw-r--r-- 1 root root 153424 2007-06-08 12:23 libm.so.6 Soo... I think there's something wrong with the initrd generation for the xen hypervisor :( I'm gonna try and symlink so that the libcrypt.so.1 gets available in lib and see if this solves the problem... however I'm not sure the nosegneg is right for starting the dom0... Hope this helps. Best regards, -- Olivier BERGER <[EMAIL PROTECTED]> (ATTENTION : new address) Ingénieur Recherche - Dept INF GET/INT at Evry (http://www.int-edu.eu/) OpenPGP-Id: 1024D/6B829EEC