CEntOS 5.4 - VMware server issue

From SK:: Wiki

Jump to: navigation, search

↑ Main Page     ← My Notes


Contents

Intro

The problem
On CEntOS 5.4 (RHEL 5.4) VMware server web interface does not works.

There are a lot of advices around on how to fix the issue. All advices could be qualified to 2 major groups:

  1. "Invasive" technique: "Let's cut the VMware-incompatible libraries, and put old ones to host server OS. This helps"
  2. "Non-invasive" technique: "Let;s fix the issue locally for VMware only, until VMware will produce an official solution"

Invasive

Non-invasive 1

Original message is located here: http://communities.vmware.com/message/1356119#1356119

Message itself (formatted vopy/paste):

Just for reference in case somebody else is having this issue. We seem to have been able to resolve the problem for us. Following the steps we performed.
  • Log on to your VMware host.
  • Create the directory /usr/lib/vmware/lib/libc.so.6</li>
  • Log on to an RHEL 5.3. machine. Grab /lib64/libc-2.5.so (or /lib/libc-2.5.so in case you're running an 32 Bit host) and copy it to the VMware host into /usr/lib/vmware/lib/libc.so.6
  • Rename the file libc-2.5.so within /usr/lib/vmware/lib/libc.so.6 to libc.so.6
  • Open /usr/sbin/vmware-hostd and add
    /usr/lib/vmware/lib/libc.so.6
    to the LD_LIBRARY_PATH. I just added an
    export LD_LIBRARY_PATH=/usr/lib/vmware/lib/libc.so.6:$LD_LIBRARY_PATH
    before the last line.
  • Restart your vmware services (or just the host)
Downgrading libc might be also an option, but I'd like to keep the host unchanged otherwise.

It works fine for me.

Non-invasive 2

Original: http://bugs.centos.org/view.php?id=3884 (see in middle of the thread).

Message itself (copy/paste, formatted)

If you've already updated glibc like I have, a hybrid version of note 1 above is to do this:
mkdir /usr/lib/vmware/lib/libc.so.6
cd /tmp
mkdir tmp
cd tmp
wget http://mirror.centos.org/centos/5.3/os/x86_64/CentOS/glibc-2.5-34.x86_64.rpm
rpm2cpio glibc-2.5-34.x86_64.rpm | cpio -ivd
mv lib64/libc-2.5.so /usr/lib/vmware/lib/libc.so.6/libc.so.6

Edit /usr/sbin/vmware-hostd as above.

Personal tools