| 1 | == VMware Server 2.0.2 Installation on CentOS 5, RHEL 5 == |
| 2 | |
| 3 | VMware Server 2.0.2 was released on 26-Oct-2009. VMware Server 2.0.x worked well with EL 5.3, but since RHEL 5.4 became available in September, 2009, the vmware-hostd process began crashing, rendering the whole product pretty much unusable. This issue was reported in postings on VMware Communities (http://communities.vmware.com/message/1364852), and then on CentOS Bug Tracker (http://bugs.centos.org/view.php?id=3884) as well. |
| 4 | |
| 5 | All the problems were caused by incompatible glibc version that was introduced with EL 5.4. |
| 6 | |
| 7 | || CentOS || Glibc || Compatible with VMware Server 2.0.x || |
| 8 | || 5.3 || 2.5-34 || yes || |
| 9 | || 5.'''4''' || 2.5-'''42''' || '''no''' || |
| 10 | || 5.'''5''' || 2.5-'''49''' || '''no''' || |
| 11 | |
| 12 | When installing VMware Server 2.0.2 on CentOS (RHEL) >= 5.4 one has to provide / force VMware Server to use older version of the {{{libc.so.6}}} shared library. |
| 13 | |
| 14 | {{{ |
| 15 | # uname -srm |
| 16 | Linux 2.6.18-194.8.1.el5 x86_64 |
| 17 | # cat /etc/redhat-release |
| 18 | CentOS release 5.5 (Final) |
| 19 | # |
| 20 | # |
| 21 | # cd ~/RPMS |
| 22 | # wget http://vault.centos.org/5.3/updates/x86_64/RPMS/glibc-2.5-34.el5_3.1.x86_64.rpm |
| 23 | # |
| 24 | # rpm -i VMware-server-2.0.2-203138.x86_64.rpm |
| 25 | # |
| 26 | # mkdir /usr/lib/vmware/lib/libc.so.6 |
| 27 | # cd /usr/lib/vmware/lib/libc.so.6 |
| 28 | # rpm2cpio ~/RPMS/glibc-2.5-34.el5_3.1.x86_64.rpm | \ |
| 29 | cpio -idm ./lib64/libc-2.5.so ./lib64/libc.so.6 |
| 30 | # |
| 31 | # ls -l /usr/lib/vmware/lib/libc.so.6/lib64 |
| 32 | total 1672 |
| 33 | -rwxr-xr-x 1 root root 1707512 Aug 13 2009 libc-2.5.so |
| 34 | lrwxrwxrwx 1 root root 11 May 19 20:08 libc.so.6 -> libc-2.5.so |
| 35 | # |
| 36 | # |
| 37 | # cp -a /etc/rc.d/init.d/vmware /etc/rc.d/init.d/vmware.orig |
| 38 | # vi /etc/rc.d/init.d/vmware |
| 39 | # diff -u /etc/rc.d/init.d/vmware.orig /etc/rc.d/init.d/vmware |
| 40 | --- /etc/rc.d/init.d/vmware.orig 2010-05-19 20:01:22.000000000 -0700 |
| 41 | +++ /etc/rc.d/init.d/vmware 2010-05-19 21:21:55.000000000 -0700 |
| 42 | @@ -880,6 +880,7 @@ |
| 43 | |
| 44 | # Start host agent |
| 45 | vmware_start_hostd() { |
| 46 | + export LD_LIBRARY_PATH=/usr/lib/vmware/lib/libc.so.6/lib64 |
| 47 | vmware_bg_exec "`vmware_product_name` Host Agent" \ |
| 48 | "$vmdb_answer_SBINDIR/vmware-hostd" -a -d -u "$vmware_etc_dir/hostd/config.xml" |
| 49 | } |
| 50 | # |
| 51 | # |
| 52 | # /usr/bin/vmware-config.pl |
| 53 | }}} |