Kernel panic - error while loading shared libraries
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Kernel panic - error while loading shared libraries
Hello,
I'm newbie in linux so, please be patient.
My os is CentOS 5.
I have a problem at booting kernel, i had an error like:
/sbin/init: error while loading shared libraries: /lib/libdl.so.2: file to short
kernel panic - not synicing: attempted to kill init!
This happnes after I installed Apache and restart server.
Is this a way to skip loading this library?
Do you have any idea how to boot system now?
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731
Rep:
Hi
the problem seems to be not your apache installation. The problem is a possibly damaged library. The error message stated point to a file which is part of glibc. During system tries to load the library it detect that the file seems to be not complete.
Try booting in rescue mode from cd and check the files of glibc using
Code:
rpm -V glibc
. If the file is damaged, replace it by a complete working version. If the size of the file is not the problem your hard disk or settings for the disk creates the problems, so that not all data can be read. You can try stopping the use of DMA by parsing
the problem seems to be not your apache installation. The problem is a possibly damaged library. The error message stated point to a file which is part of glibc. During system tries to load the library it detect that the file seems to be not complete.
Try booting in rescue mode from cd and check the files of glibc using
Code:
rpm -V glibc
. If the file is damaged, replace it by a complete working version. If the size of the file is not the problem your hard disk or settings for the disk creates the problems, so that not all data can be read. You can try stopping the use of DMA by parsing
Code:
ide=nodma
on boot prompt.
I suggest to verify not only glibc, but all packages. may be more than one file was damaged and may be not only in in glibc.
If it's only one file - do as mesiol said. If damage is serious - I recommend reinstall the system
I booted a system from liveCD and copy all of libraries which were empty, and then almost succesfully run the server.
I wrote "almost" beacouse system and all of services started, but i can't login to the system. The message sayes something like "login incorrect".
I'm not sure that login 'root' is correct beacouse of non-knowing of this server. Is this possible to change the root password from livecd? passwd or something?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.