LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 12-20-2006, 03:34 AM   #1
teluguswan
Member
 
Registered: Oct 2005
Posts: 116

Rep: Reputation: 15
Kernel Panic - Unable to Boot RHEL4 *******glibc*******8


When iam booting into my system it is giving the following message

at Boot after GRUB.....
XXXXXXXXXXXxxx
XXXXXXXXXXXXXXxx
XXXXXXXXXXXXXXXXXXXxxx

...........................blah
...........................blah
Uncompressing Linux...Ok, booting the kernel.
Red hat nash version ....... blah blah
Reading all Physical volumes.........blah blah
2 logical volume(s) in volume group "VolGroup00" now active
/sbin/init: /lib/tls/libc.so.6: version GLIBC_2.3.4 not found (required by /lib/libselinux.so.1)
kernel panic - not syncing: Attempted to kill init!

and my keyboard lights of Caps lock and Scroll lock are glowing on and off

please give the solution how i should get back my system booting.

(Note: Previously i tried updating oldpackage the old Glibc-2.2.xx rpm without deps and ...so how i can get back install the original even i unable to boot into my system)

After this i tried to mount this hard disk on another system of mine which is installed Fedora core 5 but iam unable to mount my hard disks.

please help me out to get rid of this

iam very thank full for you

lot of important data is there

this is the lesson for me ..........................

Last edited by teluguswan; 12-20-2006 at 03:35 AM.
 
Old 12-20-2006, 09:23 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
You changed the glibc rpm packages on the system??? This is one good way to destroy a working installation. The system cannot boot because you did this, you have the wrong glibc version installed for selinux to work. Not only is selinux messed up but a lot of other packages as well.

Recovery may be possible but you need to first restore the glibc rpm packages to what should be installed on the system. You can try booting the system with the installation media into rescue mode answer a few questions and use chroot as directed by the on-screen messages. To gain access to the installation media to hopefully restore the glibc rpm packages try the following;

# mknod /tmp/tmpcdrom b 22 0
# mount -t iso9660 /tmp/tmpcdrom /cdrom
 
Old 12-21-2006, 06:44 AM   #3
teluguswan
Member
 
Registered: Oct 2005
Posts: 116

Original Poster
Rep: Reputation: 15
thanks

Thanks for the reply

before your reply i tried to use the command

I run the Rescue mode from there iam able to see the all the partitions at sysimage

and tried to issue this command

chroot /mnt/sysimage


saying that it needs again the same GLIBC .... and coming back

so when i dont get the solution and iam in hurry to recover my data just i invoke the ftp to another system
then i tar my files and folders from there all these ftp to another my system

after this i formatted the drive and installed new

why i done this is when i tried to mount or issuing the chroot /mnt/sysimage it is asking the glibc ........


another i tried is i have the puppy live cd so i run this on that and copied all the glibc rpm's to the boot partition of my system and then coming to rescue mode

i typed the following commands

i.e first i got the prompt then

cd mnt
cd sysimage
cd boot


here i can see all those rpm's from here i issued the commands

rpm -ivh glib*

but it is giving the errors

then i tried

rpm -Uvh --nodeps glib*

even now also i got the error

-------------------------------------------

why i compiled the glib rpm because

to install Oracle 9i in Redhat 9 we have to update the old glibc-2.2.5 ....... so i done the same on RHEL 4 this made me this big trouble so take care friends before applying trick of one to another

bye


this makes me to ftp my files and formatting the system

thanks for the reply

i hope some more information which may help for us who are having this problem
 
Old 12-21-2006, 09:18 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Well you cannot install the glibc rpm packages with a broken glibc installation because rpm relies on glibc (which is broken). If you can access the system from another good RHEL4 installation you might be able to ftp the correct glibc files to the /lib and /lib64 (if 64-bit) directory location(s). You might be able to use cpio to install the correct glibc files to the proper locations also. I'm not 100% sure about either method.

Check this out for Oracle 9i installation help, CentOS4 is a 100% binary rpm compatible 'clone' of RHEL4;

http://www.centos.org/modules/newbb/...m.php?forum=35
 
Old 10-18-2010, 08:39 AM   #5
ennoil
LQ Newbie
 
Registered: Jun 2009
Location: Oxfordshire, England
Distribution: Ubuntu, Debian
Posts: 3

Rep: Reputation: 0
I know this is a bit old but I found this post while researching a similar issue and want to add the following for the record...

When using the mknod command from above, 22 may not be the major number for your CDROM. Check on a similar system to see:

$ ls -l /dev/cdrom
lrwxrwxrwx 1 root root 3 Aug 2 15:54 /dev/cdrom -> hda
$ ls -l /dev/hda
brw-rw---- 1 root disk 3, 0 Aug 2 15:54 /dev/hda

In the case of my system, the major number is 3 so my command would read:

# mknod /tmp/tmpcdrom b 3 0

Once booted into rescue mode you do not have to chroot to install packages. In the case of glibc, you can use the following to install it once the media is mounted:

rpm -ivh --force --root /mnt/sysimage /tmp/tmpcdrom/RedHat/RPMS/glibc-x.x.x-whatever.rpm

and (if needed):

rpm -ivh --force --root /mnt/sysimage /tmp/tmpcdrom/RedHat/RPMS/glibc-common-x.x.x-whatever.rpm

Hope this helps someone in the future.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
RHEL4 U2 Install Fails with Kernel Panic Sugumar_1975 Linux - Enterprise 2 11-17-2006 01:00 AM
"Kernel panic: VFS: Unable to mount root fs" - Kernel fails to boot linux Freedom Seeker Linux - General 11 11-12-2006 07:48 PM
Debian Etch/PPC SELinux kernel panic, glibc and policy.20 RavenOfOdin Debian 0 08-08-2006 07:15 PM
unable to boot!!!!! kernel panic error Xavius Slackware 5 11-01-2004 07:20 PM
Help please: glibc uninstalled hence Kernel Panic bluefin Linux - Software 1 10-07-2002 04:22 AM


All times are GMT -5. The time now is 06:45 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration