LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-23-2010, 07:00 AM   #1
Spuddy
Member
 
Registered: Jul 2010
Posts: 83

Rep: Reputation: 15
Linux will not boot.


Hi,

We have a Red Hat 9 box that will no longer boot. The error being

Code:
init: relocation error: /lib/tls/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference

Kernal Panic: Attempted to kill init!
Does anyone know what would be causing this?

Thanks,

Last edited by Spuddy; 07-23-2010 at 07:10 AM.
 
Old 07-23-2010, 07:15 AM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Something like this should not just occur "out of the blue" by itself. Has anyone recently (prior to this problem) tried upgrading (or downgrading) any packages installed in the machine (such as GLIBC?)? Have you otherwise changed any software or binaries that are installed?

Based on a very quick Google search for similar errors, it's difficult to determine exactly why this is "suddenly" happening, other than something has happened to the glibc components, so any further information you can provide might be very helpful.
 
Old 07-23-2010, 07:18 AM   #3
Spuddy
Member
 
Registered: Jul 2010
Posts: 83

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by GrapefruiTgirl View Post
Something like this should not just occur "out of the blue" by itself. Has anyone recently (prior to this problem) tried upgrading (or downgrading) any packages installed in the machine (such as GLIBC?)? Have you otherwise changed any software or binaries that are installed?

Based on a very quick Google search for similar errors, it's difficult to determine exactly why this is "suddenly" happening, other than something has happened to the glibc components, so any further information you can provide might be very helpful.
Thanks,

I believe one of our developers may have tried to updated PHP5.1 to PHP5.2 on the box. I remember him saying something about trying to install rpm, apt-get or yum. I was way too busy to overlook or assist him (not that my linux skills are great anyway).

I take it it's not an easy fix then...
 
Old 07-23-2010, 07:28 AM   #4
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Hmm, well, it would be less difficult of a fix, if we knew exactly what he did to the machine -- and what packages were affected by what he did. Perhaps talking to this developer fellow would be the best first step in determining what happened; after that, I suspect you'll be wanting to repair (reinstall some stuff) using the original installation media if possible - that would be the usual way of repairing a damaged system.

BUT: I personally am not experienced in upgrading RedHat systems, so I'm not sure how much trouble it would be to fix this if your RH license is expired, since (to my understanding - I could be off-base here) RH tends to not allow (or at least makes it difficult to do) software upgrades/installations when it is not under an active service contract.

If you do have a service contract with RH, contact them for advice. If not, then hopefully another LQ member will be familiar with that version to offer good advice.

By the way, RH 9 appears to be extremely old - like circa 2003? - so you may want to consider updating to something newer, or perhaps considering CentOS as a free alternative.

In any event, either talk to that developer guy to see if he has any insight, or wait for an experienced RH user here to offer some tips about what you might do first to fix this.
 
Old 07-23-2010, 08:29 AM   #5
Spuddy
Member
 
Registered: Jul 2010
Posts: 83

Original Poster
Rep: Reputation: 15
Thanks Sasha,

I have decided to blow it away and put Debian on the system. However I need to backup the required content on the server before hand. I have booted a Ubuntu Live CD on the server and can see the local hard disks. However I do not have permissions to copy files from them to a network share.

Any Ideas how I might achieve that?
 
Old 07-23-2010, 08:33 AM   #6
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
I'm don't want to advise about the "Network Share" portion, because that depends on what you've got set up, and I will presume you know what you're doing there.

As for the permissions issue, try doing what you're doing (the copying) as root (with the ubuntu live CD, you'd want to use `sudo` and start a nautilus or a terminal from which to work as root). If that doesn't work, you *might* be able to CHROOT into the messed up machine's root partition, and copy stuff out from there; this may or may not work, depending how messed up the machine is.

If neither of these seem to work, or you still can't get it, let us know and we'll try to come up with another idea.
 
Old 07-23-2010, 08:38 AM   #7
Spuddy
Member
 
Registered: Jul 2010
Posts: 83

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by GrapefruiTgirl View Post
I'm don't want to advise about the "Network Share" portion, because that depends on what you've got set up, and I will presume you know what you're doing there.
I have setup a samba share on another server and have connected to it from the Ubuntu live cd fine. It's wide open no restrictions.

Quote:
Originally Posted by GrapefruiTgirl View Post
As for the permissions issue, try doing what you're doing (the copying) as root (with the ubuntu live CD, you'd want to use `sudo` and start a nautilus or a terminal from which to work as root). If that doesn't work, you *might* be able to CHROOT into the messed up machine's root partition, and copy stuff out from there; this may or may not work, depending how messed up the machine is.
The problem I have I guess is that RHEL was used to create all the files on it's local disk using root and a password. I'm connecting to them using the Ubuntu live cd and not giving that root password that it requires for access.

Edit: Put it this way, if a linux boxes OS gave up and it was irrepairable/unbootable natively, how would you get the data from it?

Last edited by Spuddy; 07-23-2010 at 08:40 AM.
 
Old 07-23-2010, 08:54 AM   #8
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Quote:
Edit: Put it this way, if a linux boxes OS gave up and it was irrepairable/unbootable natively, how would you get the data from it?
I would do what you're doing - use a live CD or another installed OS on the same machine, and as root, I would mount the damaged partition, and the backup partiton, and then proceed to copy what I wanted. It has always worked for me and you should not need the password for the damaged machine in order to mount that damaged partition.
 
Old 07-23-2010, 09:55 AM   #9
Spuddy
Member
 
Registered: Jul 2010
Posts: 83

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by GrapefruiTgirl View Post
I would do what you're doing - use a live CD or another installed OS on the same machine, and as root, I would mount the damaged partition, and the backup partiton, and then proceed to copy what I wanted. It has always worked for me and you should not need the password for the damaged machine in order to mount that damaged partition.
I can mount the damaged partition. Infact it mounts itstlf when I boot from the live CD. I can browse the internal disks, however when I attempt to copy from them to the network share I get permissions errors. The errors are pertaining to the local disks and not the remote share. I can create files, move/delete files on the remote share fine.

I have even tried
Code:
sudo passwd root
Whilst in the livecd session to change the root password to the same as the root password on the system. Still no change.
 
Old 07-23-2010, 10:01 AM   #10
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Hmm.. Very tricky situation, this one is..

The fact that the partition is already mounted at boot of the live CD, *might* be pointing to the root of the problem. Please try, as root, umounting and re-mounting the partition in question, and then see if you have access.

Basically:

1 - Boot live CD
2 - Become root (`sudo su` or `sudo nautilus` etc..)
3 - umount the partition.
4 - remount the partition.
5 - try to copy.

There might be an issue involving PAM (Pluggable Access Module) here, which is a security measure. If this is the case, I am unable to advise further since my system does not use PAM. Someone else might be able to suggest what to do if that starts appearing to be the case.
 
Old 07-23-2010, 10:43 AM   #11
Spuddy
Member
 
Registered: Jul 2010
Posts: 83

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by GrapefruiTgirl View Post
Basically:

1 - Boot live CD
2 - Become root (`sudo su` or `sudo nautilus` etc..)
3 - umount the partition.
4 - remount the partition.
5 - try to copy.
No change
 
Old 07-23-2010, 10:53 AM   #12
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Jeez.. I'm sorry all this hasn't helped; I really do not know what else to suggest. This routine has worked for me many times on my home machine(s). There must be either something painfully obvious we're both missing, or something about the RH installation that I/we don't know, which is doing this.

Did you happen to try chroot'ing into the RH box? If so, what was the result?

(In case you're unfamiliar, you would:

- become root on the Ubuntu CD.
- get a console as root
- mount the RH partition
- as root, type: chroot /some/mount/point #wherever you mounted the partition.
- now, you're effectively running "inside" the RH system, not the Ubuntu one.
- inside the chroot, mount (or connect) the location where you will copy to.
- begin copying.
- if this works, umount the destination when done & type "exit" to exit chroot and return to Ubuntu.)

And if this doesn't work, as mentioned, I'm at a loss unfortunately. I'm (fairly) sure someone else will have a clue what the problem is here, but we'll have to wait for them to appear.

Last edited by GrapefruiTgirl; 07-23-2010 at 10:54 AM. Reason: added exit details
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a boot CD (start up disc) to reinstall boot loader Red Hat 9 johnnylinux Linux - Laptop and Netbook 2 08-03-2006 10:19 AM
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Linux - Newbie 15 10-21-2005 10:29 AM
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Red Hat 1 09-25-2005 07:08 AM
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Linux - General 1 09-25-2005 07:07 AM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 08:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration