I need to upgrade a server running Centos 5.2 32bit to Centos 5.3 64bit. Reasons
The server is upgraded to 5GB Memory from 2GB. MySQL don't like PAE extension kernel very much.
Reconfiguration will take time. Openldap +Dbmail + MySQL + Apache + Horde + Mailscanner + many more.
I have 30GB data to backup and its going to take time. The server is using Dbmail for storing the mailbox and users information in LDAP.
*** Warning *** I had done my backup. Dump the MySQL dataset, slapcat and tar tvjf directories like /etc /var/www /root into a USB portable hard disk ext2 file system.
The upgrade was easy. Boot the system using 64bit Centos 5.3 DVD and select upgrade. Making sure the installation wizard detect the older installation.
My finding after upgrade. Not all packages upgrade to 64bit. I believe only small numbers that related to Linux kernel 64bit are change to 64bit program. Others still running with 32bit binary.
I have to uninstall and reinstall and reconfigure MySQL to make it run using 64bit binary. Other programs I just lets it using 32bit binary because its going to be tedious to check one by one.
Yum upgrade break due to conflict between 32bit and 64bit packages in repository. will figure out this later this week.
--- Update
My perl modules break during Mailscanner compilation.
The error
/usr/include/gnu/stubs.h:9:27: error: gnu/stubs-64.h: No such file or directory
Yum does not real know when packages i386 ans x64 mixed. I need to install manually c library for x64 from CD or by command
yum -y install glibc-devel.x86_64
The server is upgraded to 5GB Memory from 2GB. MySQL don't like PAE extension kernel very much.
Reconfiguration will take time. Openldap +Dbmail + MySQL + Apache + Horde + Mailscanner + many more.
I have 30GB data to backup and its going to take time. The server is using Dbmail for storing the mailbox and users information in LDAP.
*** Warning *** I had done my backup. Dump the MySQL dataset, slapcat and tar tvjf directories like /etc /var/www /root into a USB portable hard disk ext2 file system.
The upgrade was easy. Boot the system using 64bit Centos 5.3 DVD and select upgrade. Making sure the installation wizard detect the older installation.
My finding after upgrade. Not all packages upgrade to 64bit. I believe only small numbers that related to Linux kernel 64bit are change to 64bit program. Others still running with 32bit binary.
I have to uninstall and reinstall and reconfigure MySQL to make it run using 64bit binary. Other programs I just lets it using 32bit binary because its going to be tedious to check one by one.
Yum upgrade break due to conflict between 32bit and 64bit packages in repository. will figure out this later this week.
--- Update
My perl modules break during Mailscanner compilation.
The error
/usr/include/gnu/stubs.h:9:27: error: gnu/stubs-64.h: No such file or directory
Yum does not real know when packages i386 ans x64 mixed. I need to install manually c library for x64 from CD or by command
yum -y install glibc-devel.x86_64