Home > VMware Tips > VMware platforms > Installing VMware Server on x64 Linux without pain
VMware Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

VMWARE PLATFORMS

Installing VMware Server on x64 Linux without pain


Andrew Kutz, contributor
11.01.2007
Rating: --- (out of 5)


VMware tips and tricks
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


VMware Server still has a few snags when installed on a 64-bit version of Linux, but that's no reason not to step up to that level. The 64-bit revolution has begun, and 64-bit processors are ubiquitous. The trouble is that the software applications that run on them are not. This tip outlines some of the roadblocks an IT administrator might run into when it comes to installing VMware Server on x64 Linux and how to overcome them.

The good news is that 64-bit computing means access to more memory greater than 64GB. The bad news is that VMware Server relies on 32-bit binaries, vmware-ping for example, and it is linked against 32-bit libraries that a 64-bit version of Linux will not provide by default.

The first issue that IT administrators have to cope with is getting VMware Server utilities, such as vmware-ping, to run on a 64-bit version of Linux. If this problem is not rectified the VMware Server installer will experiences problems such as:

  • Not being able to determine available network address spaces for the VMware Server networks; and
  • Not being able to accept the VMware Server license.

These errors are caused because certain binaries and/or libraries that ship with VMware Server are linked against 32-bit runtime libraries that are not present in an x64 version of Linux. To solve this problem those 32-bit runtime libraries must be installed. Installing them varies per Linux distribution. For Ubuntu, simply type "sudo apt-get install ia32-libs" to install 32-bit support. Voila! You can now install and configure VMware Server without any problems.

The second problem that an IT administrator will run into is getting the VMware Server Management User Interface (MUI) to function. Out of the box, the MUI will fail to start. When attempting to manually start the httpd.vmware binary an error such as the following will appear:

error while loading shared libraries: libdb.so.3: cannot open shared 
object file: No such file or directory

This error appears because the MUI binary, /usr/lib/vmware-mui/apache/ bin/httpd.vmware, is linked to three libraries that are not installed with the ia32-libs package. These three libraries are:

libdb.so.3
libssl.so.4
libcrypto.so.4

Luckily, VMware includes these necessary libraries with the MUI in /usr/lib/vmware-mui/lib, it is just a matter of making sure the MUI can see them. Because Ubuntu x64 stores 32-bit libraries in /lib32, the solution is to create symlinks in /lib32 that point to the libraries that are in /usr/lib/vmware-mui/lib. To do this, type the following commands:

sudo ln -s /usr/lib/vmware-mui/lib/libdb.so.3 /lib32/libdb.so.3
sudo ln -s /usr/lib/vmware-mui/lib/libssl.so.4 /lib32/libssl.so.4
sudo ln -s /usr/lib/vmware-mui/lib/libcrypto.so.4 /lib32/libcrypto.so.4

Once that is done, the MUI should start without any problems, as long as you have followed my guide on installing VMware Server on Ubuntu Linux Server. Let me know if you need any help!

ABOUT THE AUTHOR: Andrew Kutz is deeply embedded in the dark, dangerous world of virtualization. He is a Microsoft Certified Solutions Developer (MCSD), a SANS/GIAC Certified Windows Security Administrator (GCWN) GOLD and a VMware Certified Professional (VCP) in Virtual Infrastructure 3 (VI3). Andrew is the author of the popular open source project, Sudo for Windows. He was employed by the University of Texas at Austin for nearly a decade as a systems administrator and developer and more recently as an analyst for Burton Group.

Rate this Tip
To rate tips, you must be a member of SearchVMware.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeNewsTopicsITKnowledge ExchangeTipsBlogsMultimediaWhite PapersEvents
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2007 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts