{"id":12,"date":"2009-08-25T15:47:20","date_gmt":"2009-08-25T21:47:20","guid":{"rendered":"http:\/\/benincosa.com\/blog\/?p=12"},"modified":"2014-11-19T11:27:20","modified_gmt":"2014-11-19T17:27:20","slug":"update-rhel4-as-u-4-to-centos-5-3","status":"publish","type":"post","link":"https:\/\/benincosa.com\/?p=12","title":{"rendered":"Update RHEL4 AS U 4 to CentOS 5.3"},"content":{"rendered":"<p>I found this great migration guide <a title=\"RHEL4 to CentOS 5.3\" href=\"http:\/\/wiki.centos.org\/HowTos\/MigrationGuide\/ServerCD_4.4_to_5\" target=\"_blank\">here<\/a> on how to go from RHEL4 to CentOS 5.3.\u00a0 The article is actually older so just going to CentOS 5, but the concepts were nearly the same, just changes in the versions of the packages.<\/p>\n<p>Some deviations:<\/p>\n<p>1.\u00a0 Copy the Base Media DVD to the RH4 machine first.\u00a0 Then expand it and have it ready so that the machine can get the necessary RPMs it needs.\u00a0 There will be a period where you can&#8217;t ssh into the machine as it will be in a very funky state (as to be expected).\u00a0 Its also a good idea to have the RH4 machine NFS mount a working CentOS 5.3 machine so that you can copy over binaries if needed.<\/p>\n<p>2.\u00a0 Follow the directions listed <a href=\"http:\/\/wiki.centos.org\/HowTos\/MigrationGuide\/ServerCD_4.4_to_5\" target=\"_blank\">here<\/a>.\u00a0 When you get to the list of RPMs to put in the Updates section add a few more RPMs:<\/p>\n<pre>sqlite-3.3.6-2\r\nglib2-2.12.3-2.fc6.x86_64\r\nnspr-4.7.3-2.el5\r\nnss-3.12.2.0-4.el5\r\npython-iniparse-0.2.3-4.el5.noarch.rpm\r\nyum-metadata-parser-1.1.2-2.el5<\/pre>\n<p>After that, you may have to add the &#8211;force flag to install all the Updates:<\/p>\n<pre>rpm -Uvh *.rpm --nodeps --force<\/pre>\n<p>3.\u00a0 The updates part is pretty good.\u00a0 I had to remove the following RPMs:<\/p>\n<pre>rpm -e VFlib2 autofs kudzu hal lksctp-tools initscripts dmraid<\/pre>\n<p>4.\u00a0 Basically everything else works.\u00a0\u00a0 I also recommend that you install &#8216;strace&#8217; as you can then see what is wrong.\u00a0 For example, I had to find all those extra packages by running strace to see which library was missing.\u00a0 I also found out that I needed to add the glibc2 package thanks to this handy post <a href=\"http:\/\/www.errorlog.dk\/2008\/09\/20\/usrlibpython24site-packages_sqlitecacheso-undefined-symbol-g_assert_warning\/\" target=\"_blank\">here<\/a>.<\/p>\n<p>After that, reboot the system and all will come back up and you&#8217;ll be running!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I found this great migration guide here on how to go from RHEL4 to CentOS 5.3.\u00a0 The article is actually older so just going to CentOS 5, but the concepts were nearly the same, just changes in the versions of the packages. Some deviations: 1.\u00a0 Copy the Base Media DVD to the RH4 machine first.\u00a0&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[920],"tags":[14,921,11,15],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/posts\/12"}],"collection":[{"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/benincosa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12"}],"version-history":[{"count":5,"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/posts\/12\/revisions"}],"predecessor-version":[{"id":16,"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/posts\/12\/revisions\/16"}],"wp:attachment":[{"href":"https:\/\/benincosa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/benincosa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/benincosa.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}