CEntOS 5.4 - VMware server issue
From SK:: Wiki
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:
- "Invasive" technique: "Let's cut the VMware-incompatible libraries, and put old ones to host server OS. This helps"
- "Non-invasive" technique: "Let;s fix the issue locally for VMware only, until VMware will produce an official solution"
Invasive
- http://communities.vmware.com/thread/230842
- http://blog.olegk.ru/2009/10/centos-54-vmware-server.html (RU)
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.Downgrading libc might be also an option, but I'd like to keep the host unchanged otherwise.
- 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.soin 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.sowithin/usr/lib/vmware/lib/libc.so.6tolibc.so.6- Open
/usr/sbin/vmware-hostdand add/usr/lib/vmware/lib/libc.so.6to theLD_LIBRARY_PATH. I just added anexport LD_LIBRARY_PATH=/usr/lib/vmware/lib/libc.so.6:$LD_LIBRARY_PATHbefore the last line.- Restart your vmware services (or just the host)
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.6Edit /usr/sbin/vmware-hostd as above.

