Update Amazon EC2 Rightscale Centos for latest GLIBC

user5839 asked:

We’ve run into an issue on an Amazon EC2 instance where we need a later version of glibc.

I understand I need to update Centos (current version is 5.6) to acheive this, and I’ve tried various approaches to doing this including the one mentioned here

and here

upgrade CentOS from 6.5 to 7 in an EC2 Instance

I can get the pre-upgrade assistant to install (I think) but not run

There is also an issue that this is running Rightscale, and I think it’s a 32bit host.

I managed to upgrade from 5.4 to 5.6 by editing CentOS-Base.repo and changing all the 5.4s to 5.6 which let me update some with yum update. However I can’t seem to upgrade any further with this approach.

I just need to get to a version with glibc version 2.7

Any clues?

My answer:

While you can use the upgrade assistant to upgrade from CentOS 6 to CentOS 7, you can’t use it to upgrade from CentOS 5 to CentOS 7. You will need to start new CentOS 7 instances. (And unless you have some good reason to use the Rightscale images, you should use the official CentOS AMIs. I’ve found a LOT of inexcusably broken stuff in Rightscale AMIs.)

View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.