Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-17-2012, 08:19 PM
|
#1
|
|
Member
Registered: Oct 2011
Posts: 48
Rep: 
|
How to Upgrade Rhel 2 to Rhel 5
Hi ,
Can any one help over here.
Currently we are running our application running on the Rhel2.1 and now we want to upgrade its to kernel to latest Rhel 5 while keeping all old binary files as it is (dont want to updgrade old binaries like perl, php etc as the application is dependent on the them ) because the application running dependent on the old binary files.
Thanks in Advance for your help!!!!!!!!
Ravinder
|
|
|
|
10-17-2012, 08:32 PM
|
#2
|
|
Guru
Registered: Aug 2005
Posts: 9,692
|
see the other duplicate post about not double posting
there is NO way to upgrade
between major versions
you reformat to ext3 ( or use LVM ) and install RHEL6.3
rhel2 is SO old that none of the settings will work on 6
and NONE of the rhel2 versions of programs will work on rhel6.3 ( some of the source builds might build using gcc33)
so do not even try to move say--- database tables over, they most likely will not work on the database version in 6.3
but if you must then contact red hat tech support
you ARE paying them $749 up to $36,000 USD for the license ( support contract)
you might want to use it
Last edited by John VV; 10-17-2012 at 08:35 PM.
|
|
|
1 members found this post helpful.
|
10-17-2012, 08:43 PM
|
#3
|
|
Member
Registered: Oct 2011
Posts: 48
Original Poster
Rep: 
|
Quote:
Originally Posted by John VV
see the other duplicate post about not double posting
there is NO way to upgrade
between major versions
you reformat to ext3 ( or use LVM ) and install RHEL6.3
rhel2 is SO old that none of the settings will work on 6
and NONE of the rhel2 versions of programs will work on rhel6.3 ( some of the source builds might build using gcc33)
so do not even try to move say--- database tables over, they most likely will not work on the database version in 6.3
but if you must then contact red hat tech support
you ARE paying them $749 up to $36,000 USD for the license ( support contract)
you might want to use it
|
Hi Johns,
Thanks for the reply.
Can you please let me know i want to upgrade from Rhel 2 to Rhel 4 or 5 . So is it possible to do that by not updating all the binaries like php, perl etc. Because the application is depend on old binaries.
Thanks Again
|
|
|
|
10-17-2012, 09:19 PM
|
#4
|
|
Guru
Registered: Aug 2005
Posts: 9,692
|
you do NOT upgrade from 2 to 4 or 5
you do a NEW fresh clean install
RHEL6.3 is the current
RHEL4.9 is on EXTRA extended life support -- you HAVE to pay EXTRA for rhel4 support
it was supposed to go END OF LIFE last year - but it got a "stay of execution"
call your red hat tech support
http://www.redhat.com/support/customer-portal.html
and have one of there support reps help you through migrating to new servers
Last edited by John VV; 10-17-2012 at 09:22 PM.
|
|
|
|
10-17-2012, 10:26 PM
|
#5
|
|
Member
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 824
Rep: 
|
I did this before. The truth is that even older Linux server are still in operation, just as many DOS servers are. You (John VV) can't just say: forget about your software, forget about COBOL and Fortran. The real world just doesn't work like that.
As for the problem, I also advice using a fresh CentOS6 base, as you probably don't care about commercial (paid) RedHat support if you were still using 2.1. After installing 6.3, copy your old disk (the whole thing) in /opt/rhel21 by mounting it, then use "mkdir -p /opt/rhel21;cp -a /path/to/old/mount/point /opt/rhel21. Then use the "chroot" command to create a jail of the RedHat EL 2.1 in 6.3. I tried other methods such as virtualisation and emulator. They ofter fail because the distribution is so old that it is untested. The jail seem to hold on pretty well compared to other alternatives. When I tried in RHEL5, the newer kernel could run the old binaries (application) without visible drawback. It could even start X application on the native RHEL6.3 display.
So, if you need to migrate RHEL2.1 to RHEL6, you can't, but you can have both running in parallel on the same computer. Remember that this is totally unsupported and may require advanced Linux skill to make it work. After you get the jail working, make an init script to start it during boot (LVL 2 or 3). Booting a jail require custom bootscript, as it is not the same as a native boot (you need to bind /dev, /dev/pts, /sys, /proc and start services manually)
|
|
|
|
10-17-2012, 10:44 PM
|
#6
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,916
|
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
http://www.linuxquestions.org/questi...-a-4175432794/
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:36 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|