nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

best way to upgrade glibc?

This is a discussion on best way to upgrade glibc? within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; Hi, I am using RHEL3 and RHEL4 in my production environment. Well, one of application need glibc-2.4 and later to ...


Go Back   nixCraft Linux Forum > Linux Distribution > CentOS / RHEL / Fedora

Linux answers from nixCraft.


CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 17-02-2009, 09:25 PM
Junior Member
User
 
Join Date: Sep 2008
OS: RHEL
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
samengr is on a distinguished road
Default best way to upgrade glibc?

Hi,

I am using RHEL3 and RHEL4 in my production environment. Well, one of application need glibc-2.4 and later to run on it and I need to upgrade glibc-2.3 to glibc-2.4 or above.

Http (apache), vsftp, mysql, php, nfs, and some other 3rd party servers like tomcat are installed/configured on these machines. To be honest I dont have any down time but I will manage some downtime if it would be very necessary.

Can someone guide me the best and safest way to upgrade the glibc?

RHEL3 -------

$ cat /etc/redhat-release
Red Hat Enterprise Linux ES release 3 (Taroon Update 9)

$ uname -r
2.4.21-32.ELsmp

$ rpm -qa | grep glibc
glibc-2.3.2-95.50
glibc-headers-2.3.2-95.50
glibc-kernheaders-2.4-8.34.5
glibc-common-2.3.2-95.50
glibc-devel-2.3.2-95.50

RHEL4 ------

# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 4)

# uname -r
2.6.9-5.ELsmp

# rpm -qa | grep glibc
glibc-common-2.3.4-2.25
glibc-devel-2.3.4-2.25
glibc-2.3.4-2.25
glibc-kernheaders-2.4-9.1.98.EL
glibc-headers-2.3.4-2.25


waiting for any help.

Many thanks.
Reply With Quote
  #2 (permalink)  
Old 17-02-2009, 10:32 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

No, you can't. RHEL works on 5 year long time period support. To get latest glibc, you need to upgrade RHEL 4 or RHEL 5.

You can compile yourself but it is going to hurt a lot. Therefor, I recommend upgrading entire distro.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 17-02-2009, 11:17 PM
Junior Member
User
 
Join Date: Sep 2008
OS: RHEL
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
samengr is on a distinguished road
Default

Thanks for you reply. so you mean I should go for upgrade directly to RHEL5 from DVD? If i upgrade it then what would happen to the existing services dependencies? like who knows mysql/http or nfs depends on the libs.

If i get the licenses for these boxes from Redhat, would up2date will help in this scenario?
Reply With Quote
  #4 (permalink)  
Old 18-02-2009, 12:30 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

You can upgrade but I strongly recommend backing up system. Also, up2date only works with RHEL 4.x. RHEL 5.x has yum, which can update to any new version. up2date has many limitations.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #5 (permalink)  
Old 18-02-2009, 04:01 PM
Junior Member
User
 
Join Date: Sep 2008
OS: RHEL
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
samengr is on a distinguished road
Default

You mean up2date will not work on RHEL3? what risks would be to use up2date?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
how to upgrade glibc-2.3 to glibc-2.4 safely on RHEL4? samengr Linux software 2 30-01-2009 06:36 PM
DNS broken after Fedora 10 upgrade woodson2 CentOS / RHEL / Fedora 0 03-12-2008 08:06 PM
How To Upgrade PHP sweta Ubuntu / Debian 0 02-05-2008 11:18 PM
Backup/Upgrade of Harddisk ricc Linux software 6 24-03-2008 07:04 PM
Upgrade Apache Server sweta Ubuntu / Debian 0 01-11-2007 02:53 AM


All times are GMT +5.5. The time now is 05:34 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38