Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Boot Problem, Error message when I try to boot
tslothrop
post Jul 30 2003, 06:48 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 9
Joined: 30-July 03
Member No.: 1,174



I don't know how it happened, but somehow the libc6 library file on my computer got zapped. Now, when I try to boot Linux I get an error message telling me that the OS cannot find that particular file, and the boot process stops.

I've tried booting with my rescue disk but that hasn't worked. Is there any way I can save my system? Or at least get my to my files and back them up? Or do I have to re-install Linux?

Thanks!
Go to the top of the page
 
+Quote Post
Joey
post Jul 30 2003, 06:55 AM
Post #2


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



What happened when you used the rescue mode?

Do you have any small spare hard drives laying around?
Go to the top of the page
 
+Quote Post
tslothrop
post Jul 30 2003, 07:00 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 9
Joined: 30-July 03
Member No.: 1,174



Thanks for the reply ...

When I try to use the rescue disk, I get 1) an option to boot from floppy or the hard drive, and 2) (shortly thereafter) the same error message telling me the library file is missing.

Unfortunately, I don't have an extra HDD.
Go to the top of the page
 
+Quote Post
Joey
post Jul 30 2003, 07:10 AM
Post #4


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



How big is the current drive? How important is the data on it?

What I'm thinking you can do is partition your hard drive, do a small installation of Linux on the new partition (use a boot disk to get into it after the install, do not install LILO/GRUB) and then mount your current install and then fix the filesystem etc.
Go to the top of the page
 
+Quote Post
tslothrop
post Jul 30 2003, 07:13 AM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 9
Joined: 30-July 03
Member No.: 1,174



That's a god idea. I'll have to try it.

As for the files, they're fairly pretty important. In fact, I was about to back them up when this happened.

Thanks again for your help.
Go to the top of the page
 
+Quote Post
Joey
post Jul 30 2003, 07:47 AM
Post #6


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



No problem if you need any more details etc dont be afraid to ask smile.gif
Go to the top of the page
 
+Quote Post
Joey
post Jul 30 2003, 07:48 AM
Post #7


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



There are also distributions that fit on a floppy disk. You might want to check out those before you go ahead with the other method listed above.
Go to the top of the page
 
+Quote Post
tslothrop
post Jul 30 2003, 10:46 AM
Post #8


Whats this Lie-nix Thing?
*

Group: Members
Posts: 9
Joined: 30-July 03
Member No.: 1,174



I've been checking out a few floppy/bootable CD based Linux distros and rescue kits. I may try one of those first, just to get my files. Then, so a full re-install.
Go to the top of the page
 
+Quote Post
hughesjr
post Jul 30 2003, 07:16 PM
Post #9


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



If you have access to a burner, you can download Knoppix, burn it to CD, boot up, and do most linux things with KDE ....

You could even download the missing files!

http://www.knopper.net/knoppix/index-en.html


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
tslothrop
post Aug 1 2003, 01:09 PM
Post #10


Whats this Lie-nix Thing?
*

Group: Members
Posts: 9
Joined: 30-July 03
Member No.: 1,174



Just a quick thank you to those who replied to my original question. Thanks to a Linux rescue floppy, some command line work, and a bit of luck I managed to recover my system.

If anyone is interested in the process I went through, please let me know and I'll do a quick write-up about it.
Go to the top of the page
 
+Quote Post
Joey
post Aug 1 2003, 01:16 PM
Post #11


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



Please do, it would be helpful to others and I would really appreciate it.

Thanks
Go to the top of the page
 
+Quote Post
tslothrop
post Aug 3 2003, 08:18 PM
Post #12


Whats this Lie-nix Thing?
*

Group: Members
Posts: 9
Joined: 30-July 03
Member No.: 1,174



Will do.

However, while I was cobbling together the write-up, I encountered another small(?) problem. When I try to start certain applications (for example, Xemacs, Nedit, etc.), at the command prompt I get a message like this:

<app name>: error in loading shared libraries: /usr/X11R6/lib/libXt.so.6: undefined symbol: <name of symbol, e.g. _Xsetlocale>

Again, this only happens with certain applications. Could this be caused by me having hard linked the library file libc.so.6 (the one which disappeared), instead of symbolically linking it?
Go to the top of the page
 
+Quote Post
hughesjr
post Aug 4 2003, 07:01 AM
Post #13


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



I don't think a hard link (compared to a soft link) would make a difference ... it sounds to me like the library may be not the same version as it was before ... and because of that, some symbols are missing.

Are you sure the file you put back is the same version as the one that was removed?

You didn't really say what distro and version of glibc you had ... and how you repaired/replaced the file...


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
tslothrop
post Aug 4 2003, 12:09 PM
Post #14


Whats this Lie-nix Thing?
*

Group: Members
Posts: 9
Joined: 30-July 03
Member No.: 1,174



I'm using Caldera OpenLinux 2.4. I replaced the file glibc.so.6 by linking it to libc-2.1.2.so. I'm sure that the libXt file is the same version as the old one -- I got it off my distro's CD.
Go to the top of the page
 
+Quote Post
hughesjr
post Aug 4 2003, 01:38 PM
Post #15


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



I looked at my redhat 8, redhat 9 and Debain SID installs ... I don't have a glibc.so.6 ... I do have a libc.so.6 and it is a ln -s of /lib/libc-2.3.2.so (redhat 8 and 9) and a ln -s of /lib/libc-2.3.1.so (debian)...

So I assume that the link is correct .... and if the version of libc-2.1.2.so is correct then I don't know what is wrong.

All my links are in /lib and they are symbolic links vice hard links ... so maybe it makes a difference ... but I don't see how.

Maybe if you run the command:

ldd binaryfile

it will show you that it is pointing to a different version of the shared library that is hiding somewhere else on your filesystem....


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
tslothrop
post Aug 9 2003, 07:44 PM
Post #16


Whats this Lie-nix Thing?
*

Group: Members
Posts: 9
Joined: 30-July 03
Member No.: 1,174



OK, problem solved. I re-installed the wrong version of the library file -- a development one instead of a stable one. Duh!

Anyway, I know I mentioned that I'd do a write up on how I solved my problems, but I'm really bad with this sort of thing. And with correspondence. And eating. And personal hygine.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 07:37 PM