Install VMware Server 1.0.6 on Ubuntu 8.04 “Hardy”

By | 2008/05/30

Today I needed to setup a couple of virtual machines for a client and realized that I had removed my installation of VMware Server.  Off I went to the VMware download page and what did I find?  A day-old release of VMware Server 1.0.6!  I figured you’d all appreciate an updated blog post on how to install VMware Server 1.0.6 on Ubuntu 8.04, so here we are.  (This is much simpler than the previous post, How To Install VMware Server 1.0.5 on Ubuntu 8.04)

Downloading the Requirements

The first step, of course, is to download VMware Server 1.0.6. You’ll want to download the .tar.gz version.  This command can be used for a direct download:

wget -c http://download3.vmware.com/software/vmserver/VMware-server-1.0.6-91891.tar.gz

The second step is to install some development tools that we’ll need to get things running. Use the following command or click the package names to install the requirements:

sudo aptitude install build-essential linux-kernel-devel linux-headers-generic xinetd

You will also need to generate a serial number to run VMware Server. Visit this link to register and generate the number of codes you might want. Remember to print the codes or write them down because in my experience they are not emailed to you.

OK, at this point we should have all of the requirements, now we can get to work…

Installation and Configuration

Let’s unpack the VMware archive that we downloaded and run the VMware installer.

tar xf VMware-server-1.0.6-*.tar.gz
cd vmware-server-distrib
sudo ./vmware-install.pl

The Last Step

If you attempt to run vmware at this point you might notice that it spits out some nasty errors and complains at you. There is one more thing we need to setup.

Basically VMware is missing and complaining about some cairo libraries and gcc. So, the simple fix for this is to point to them by using a symbolic link:

sudo ln -sf /usr/lib/gcc/i486-linux-gnu/4.2.3/libgcc_s.so /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1
sudo ln -sf /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0

At this point you should be able to launch vmware and enjoy some virtualization goodness.  Enjoy!

90 thoughts on “Install VMware Server 1.0.6 on Ubuntu 8.04 “Hardy”

  1. Roger Binns

    I finally got annoyed with VMWare Server only being available in the Ubuntu partner repository many months after each release that I switched to Virtual Box. The only downside is that bridged networking is more of a pain to setup but other functionality is nice or even better than VMWare.

    Doing manual installs results in untracked detritus spewed all over your filesystem which can build up over time.

  2. Lorna Mitchell

    Great tutorial – I actually needed this yesterday, you missed me by 12 hours, but it looks spot on and I know its here for next time 🙂

  3. Timucin Kizilay

    I’m using vmware-server 1.04 on my ubuntu 6.06 production server. Should I upgrade? Is there a big reason to upgrade?

  4. \'Adli Ikhwanur Ifkar

    Hi, thanks to your post. I’m so frustated that i want to downgrade my ubuntu back to the old gutsy. Guess i’m gonna check your website regularly for some new tutorials!

    ^_^v
    Shadowbane

  5. michele

    None of the pre-built vmmon modules for VMware Server is suitable for your
    running kernel. Do you want this program to try to build the vmmon module for
    your system (you need to have a C compiler installed on your system)? [yes]

    Using compiler “/usr/bin/gcc”. Use environment variable CC to override.

    Your kernel was built with “gcc” version “4.1.3”, while you are trying to use
    “/usr/bin/gcc” version “4.2.3”. This configuration is not recommended and
    VMware Server may crash if you’ll continue. Please try to use exactly same
    compiler as one used for building your kernel. Do you want to go with compiler
    “/usr/bin/gcc” version “4.2.3” anyway? [no]

    For more information on how to troubleshoot module-related problems, please
    visit our Web site at “http://www.vmware.com/download/modules/modules.html” and
    “http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html”.

    Execution aborted.
    we can help me?thanks

  6. Joe

    thanks – it works! I have been trying for a long time to get bridged networking to work and think I have tried every tutorial on the internet – none work for me. NAT does work well.

    I run Hardy on amd64. Any thoughts?

  7. Jose Luis

    Thank you very much for the excelent note

  8. michele

    resolved!!!! thank yuo very much for your instructions,michele

  9. Johnathan

    Thanks for the help! Worked perfectly!

    John

  10. wangqiang

    How can i install vmware server1.0.6 on ubuntu8.04 server? Thank you!

  11. daniel

    hi. i installed 1.0.6 exactly the way on this page. it installed ok. but when i execute it, it comes up with starting vmware and then it never actually open the console.

    PLS HELPPPPPPPPPPPP

  12. George

    Excellent post man! Actually, I also stumbled on the new version of vmware server the other day but just didn’t have the beans to install it properly (the error messages!)

    Thanks a lot!

    George

  13. sean

    I had to add another step to get this to work.

    BEFORE running sudo ./vmware-install.pl

    run this

    sudo apt-get install linux-headers-`uname -r`

  14. Christer Edwards Post author

    @sean linux-headers is included in my steps above. I refer to linux-headers-generic, which is a meta package and will be updated automagically upon other kernel updates. I guess you missed it?

  15. sean

    No, I ran everything step by step down the line, but for some reason, my install kept returning this line:

    what is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]

    once I ran the linux headers this way, it went on through with the install.

  16. sean

    I think I figured it out. We are not running the generic header, and that is why it did not work for me.

    I reran it like this, and it also worked.

    sudo aptitude install build-essential linux-kernel-devel linux-headers-`uname -r` xinetd

  17. RavonTUS

    Greetings,

    I have several kubuntu 8.04 machines and I have noticed that after I install the development tools (step two), Krfb-Desktop Sharing seems to crash every time you connect to is using VNC from another PC.

    Any suggestions?

    -Ravon

  18. Timucin Kizilay

    I’ve finished setting up vmware-server 1.06 on my eee pc 900 machine. it runs fine on this tiny little machine on Kubuntu 8.04. Now I have my windows server development machine in my purse.

  19. Cam

    I get a compile error building vmmon:

    make: Entering directory `/tmp/vmware-config1/vmmon-only’
    make -C /lib/modules/2.6.24-18-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.24-18-generic’
    CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
    In file included from /tmp/vmware-config1/vmmon-only/./include/vmware.h:25,
    from /tmp/vmware-config1/vmmon-only/linux/driver.c:48:
    /tmp/vmware-config1/vmmon-only/./include/vm_basic_types.h:159: error: redefinition of typedef ‘uintptr_t’
    include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
    In file included from /tmp/vmware-config1/vmmon-only/linux/driver.h:20,
    from /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
    /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:37:5: warning: “VMW_HAVE_EPOLL” is not defined
    /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:43:5: warning: “VMW_HAVE_EPOLL” is not defined
    In file included from /tmp/vmware-config1/vmmon-only/linux/driver.h:20,
    from /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
    /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
    include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here
    /tmp/vmware-config1/vmmon-only/linux/driver.c:147: warning: initialization from incompatible pointer type
    /tmp/vmware-config1/vmmon-only/linux/driver.c:151: warning: initialization from incompatible pointer type
    /tmp/vmware-config1/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
    /tmp/vmware-config1/vmmon-only/linux/driver.c:1659: error: ‘struct mm_struct’ has no member named ‘dumpable’
    make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1
    make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-18-generic’
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-config1/vmmon-only’
    Unable to build the vmmon module.

    Any suggestions?

  20. Setya

    Hi,

    I’ve successfully installed VMware server by your instructions, but I can not invoke VMware via menu System -> VMware Server Console menu, any hint ?

  21. CMoNz

    CAM don’t worry about the error just d/l path and install it. i did it.

  22. Bo

    Thank you for excellent page about installing Vmware Server 1.0.6 on Ubuntu 8,04.
    Only one question: After happily installing everything, getting this msg “The configuration of VMware Server 1.0.6 build-91891 for Linux for this running
    kernel completed successfully.”, I just want the command for launching my newly installed Vmware Server. Have tried with “sudo ./runme.pl “. Doesn’t work. Please help with what command in what directory.

  23. alon

    Excellent!!
    It’s rare to see such great howtos that simply work without a hitch.
    Thank you!

  24. David Armour

    Xllnt website!

    I have a couple of questions:

    I got all the way to the “…completed successfully” part of the install, and using an .iso for DreamLinux3.1 that I’ve used before, received the following error:

    Unable to change virtual machine power state: The process exited with an error:
    End of error message.

    Do the instructions for installing 1.0.6 supersede the earlier tutorial for installing 1.0.5, or are they truncated with the last bit (about installing the ‘any-to-any patch’), i.e. get to the point in the install where you answer “no” instead of “yes”? If the latter, can you suggest a recommended way to re-install using the any-to-any patch?

    Thanks for any ideas.

  25. Christer Edwards Post author

    @David – any-any patch is no longer needed with 1.0.6 as they’ve fixed those issues. Following these steps, using 1.0.6 should work.. if not I wonder if its an issue with the guest you’re installing?

  26. David Armour

    Thanks v. much for your clarification. Much simpler steps. But the DreamLinux3.1 .iso that I’m using is the same one I used a few weeks back. But something got up-graded in Hardy, and VMWare stopped working, so when I got around to it this morning & deleted everything, and re-installed, I wanted to minimize any extraneous influences. I still have a LinuxMint4.0 .iso lying around; maybe I’ll give that a shot again…

  27. David Armour

    Hello,
    Just an up-date, of sorts: I’m getting the same error with both LinuxMint *and* PuppyLinux4, which I bit-torrented earlier this morning. I’m thinking I must’ve deleted something of a something or other that VMWare needs to start the guest?

  28. komputes

    The USB throughput seems to be broken in this version.

    I have added the USB controller to the VM, and I have absolutely no USB devices listed on my server running VMware Server 1.0.6.

    Luckily, I am also running 1.0.3 on Feisty, where all the devices (including my iPod) are able to be passed through to to the Guest OS. Is anyone able to use VMware server 1.0.6 and throughput the USB controller + devices into an XP guest OS?

  29. Richard Sheppard

    Excellent stuff! I’m new to Ubuntu, but have been running VMWare on Fedora for a couple of years on a clunky PC. I upgraded only yesterday and have had a few hiccups, but getting there.

    Your tutorial helped me tremendously, as it wasn’t immediately apparent to me that I was missing some essential dev tools.

    I had two more problems which the following post helped me track down:

    http://ubuntuforums.org/showthread.php?t=337040

    Problem 1 (in the above post – the SSL cert problem) was fixed with the solution listed. Not sure why those files weren’t with the vmware distribution or created by it, but creating the two empty files worked, so I stopped asking questions.

    Problem 2 (also in the above post) appeared next. Its solution listed in the posting fixed my problem with the serial number entry. I can only speculate why that occurred to me – was it because I’m running the 64-bit version of Ubuntu Desktop with a Xeon Dual Core 3065?

    Anyway, thanks again!

  30. smuv

    great tutorial, thanks… you rock!

  31. ken

    Ah, same issue of the Invisible Vmware-server Console after upgrading to this newest version.
    Tried installing it twice, uninstalling previous version first, and at the end of the config.pl sequence it says everything went swell and happy vm’ing.
    But when I click my shortcut to start the console, nothing happens.
    there are no log entries that indicate failure.
    grrrrrrrr.

  32. Brad

    From Terminal Console…

    vmware-server-distrib

    In which directory do you want to install the binary files?
    [/usr/bin] cd vmware-server-distrib

    The path “cd vmware-server-distrib” is a relative path. Please enter an
    absolute path.

    In which directory do you want to install the binary files?
    [/usr/bin] /usr/bin/vmware-server-distrib

    What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
    [/etc]

    You Got Me….???

    where are they ???

    Now What??

    ~Brad

  33. Brad

    OH.. just hit enter and let ´er rip…

    ~Brad

  34. Brad

    The path “/usr/bin/doc/vmware” does not exist currently. This program is going
    to create it, including needed parent directories. Is this what you want?
    [yes]

    Unable to get the access rights of source file “./vmware-vix/bin”.

    any ideas what to do next?

    ~Brad

  35. NBLIT

    Works perfectly, many thanks!!!

  36. Pluto

    Awesome- I thought… except mine dies near the end of vmware-config.pl… it ends like this:

    The installation of the VMware VmPerl Scripting API succeeded.

    Generating SSL Server Certificate

    Unable to get the last modification timestamp of the destination file
    /etc/vmware/ssl/rui.key.

    Execution aborted.

    Mine is a fresh copy of 8.04LTS 64-bit Desktop (Ubuntu)… still trying to sleuth it thru- anyone else get this error too?

  37. Boris

    I have a similar problem as Michelle now.

    I saw her issue was resolved but did not see the instructions in this thread.

    None of the pre-built vmmon modules for VMware Server is suitable for your
    running kernel. Do you want this program to try to build the vmmon module for
    your system (you need to have a C compiler installed on your system)? [yes]

    Using compiler “/usr/bin/gcc”. Use environment variable CC to override.

    What is the location of the directory of C header files that match your running
    kernel? [/lib/modules/2.6.24-19-generic/build/include]

    Extracting the sources of the vmmon module.

    Building the vmmon module.

    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-config1/vmmon-only’
    make -C /lib/modules/2.6.24-19-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic’
    CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
    In file included from /tmp/vmware-config1/vmmon-only/./include/vmware.h:25,
    from /tmp/vmware-config1/vmmon-only/linux/driver.c:48:
    /tmp/vmware-config1/vmmon-only/./include/vm_basic_types.h:159: error: redefinition of typedef ‘uintptr_t’
    include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
    In file included from /tmp/vmware-config1/vmmon-only/linux/driver.h:20,
    from /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
    /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:37:5: warning: “VMW_HAVE_EPOLL” is not defined
    /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:43:5: warning: “VMW_HAVE_EPOLL” is not defined
    In file included from /tmp/vmware-config1/vmmon-only/linux/driver.h:20,
    from /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
    /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
    include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here
    /tmp/vmware-config1/vmmon-only/linux/driver.c:147: warning: initialization from incompatible pointer type
    /tmp/vmware-config1/vmmon-only/linux/driver.c:151: warning: initialization from incompatible pointer type
    /tmp/vmware-config1/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
    /tmp/vmware-config1/vmmon-only/linux/driver.c:1659: error: ‘struct mm_struct’ has no member named ‘dumpable’
    make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1
    make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic’
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-config1/vmmon-only’
    Unable to build the vmmon module.

  38. Krishnan

    Thanks, the main point is pointing the library files which helped me to rum vmware smoothly in ubuntu 8.04.

  39. Henk

    Thanks, it worked brilliantly.

    Everything workes as before.

  40. andre

    Many Thanks, your procedure worked well, VMware is back to work …..

  41. Michael

    Spot-on!!! This was wonderful, I was so frustrated after moving to 8.04.

  42. crit3rion

    Awesome notes!

    if you are installing it on AMD64, just apt-get install ia32-libs, in addition to the initial list from above.

  43. Noel Nuguid

    Hi, Thanks for the informative guide. But I think this guide assumes youre using the Desktop version of Hardy heron. Can you help me install on a server edition of hardy?

    Regards,

    Noel

  44. amedeo

    after each update of ubuntu vmware server don’t still work! Last time this tutorial resolve this, but now after upgrading from kernel 2.6.24.19 to 2.6.24.20 i’can’t got mware server working!
    Any ideas?
    Thanks in advance for your help!

  45. Rich

    Hi, I have the same problem as Cam and Boris, so that I cannot use the shared_folders system.

    The error they get ( and I get as well involves redefinition of the uintptr_t type.

    only/./include/vm_basic_types.h:159: error: redefinition of typedef ‘uintptr_t’

    As a result, I cannot use the shared folders utility, which happens to be something I would like quite a bit to do.

    Any suggestions [ Maybe I missed a previous answer to this problem.]

  46. nani

    I’m able to install VMware using above steps without any error but I’m unable to run VMware from \user\share\applications.

    I’m getting the error ‘There was an error launching the application.’ details:Failed to exicute child process “vmware” (No such file or directory)

    And there is no shortcut displayed on the desktop application

    pls help me on this

  47. Marc

    Aww!! Thx dude!!! Exactly what I needed!

    Ubuntu 8.04 + Compiz Config Manager + VMWare Server = one SICK machine!!! 😀

  48. lostmyz

    After running the VMware installer I recieved this:

    In which directory do you want to install the binary files?
    [/usr/bin]

    plz can somebody help….

  49. James

    W00t! Just what I needed – the vmWare console would act like it was starting up, then disappear… Thanks!

  50. Edwin Casipit

    when i tried to install the installer, it says:

    A previous installation of VMware software has been detected.

    Failure

    [email protected]

  51. Cool

    actually nope.. still getting:
    CC [M] /tmp/vmware-config5/vmmon-only/common/cpuid.o
    In file included from include/asm/bitops.h:2,
    from /tmp/vmware-config5/vmmon-only/./include/vcpuset.h:74,
    from /tmp/vmware-config5/vmmon-only/./include/modulecall.h:23,
    from /tmp/vmware-config5/vmmon-only/common/vmx86.h:19,
    from /tmp/vmware-config5/vmmon-only/common/hostif.h:18,
    from /tmp/vmware-config5/vmmon-only/common/cpuid.c:15:
    include/asm/bitops_32.h:9:2: error: #error only can be included directly
    make[2]: *** [/tmp/vmware-config5/vmmon-only/common/cpuid.o] Error 1
    make[1]: *** [_module_/tmp/vmware-config5/vmmon-only] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic’
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-config5/vmmon-only’
    Unable to build the vmmon module.

  52. preoche

    tried insatlling vmware following instructions, it appears in the menu, but when launching it crashes and closes without leaving error messages or anything else. help?

  53. Peo

    thank you for help!
    is the last step still necessary for the install of VMware-server-2.0.0 …?

  54. Tore Boman

    Excellent mini-howto. I tried VBox but it was a total lemon, especially if u want networking.
    VmWare should definitely be in the repos.

    @preoche: sounds like u’r missing the last step? Cairo and gcc links?

  55. sean

    same problem as preoche, any ideas?

  56. JD

    Worked great! Thanks again for the great how-to!

  57. Nick

    When following these instructions on a fresh Ubuntu 8.04LTS Server Edition, I get the following:

    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include]

    –I hit enter here and get:

    The path “/usr/src/linux/include” is not an existing directory.

    I’m stuck there.

  58. sdibias

    I followed word for word and when I go to run it (Applications >> System Tools >> VMware Server Console) it looks like it’s loading and then… Nothing… 🙁

  59. haste

    Thanks so much! For VMware-server-1.0.7-108231.tar.gz this tutorial work too.

  60. nicola

    I have a problem:

    Your kernel was built with “gcc” version “4.2.3”, while you are trying to use
    “/usr/bin/gcc” version “4.2.4”. This configuration is not recommended and
    VMware Server may crash if you’ll continue. Please try to use exactly same
    compiler as one used for building your kernel. Do you want to go with compiler
    “/usr/bin/gcc” version “4.2.4” anyway? [no]

    For more information on how to troubleshoot module-related problems, please
    visit our Web site at “http://www.vmware.com/download/modules/modules.html” and
    “http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html”.

    Execution aborted.

    Can you help me?

  61. Rodney

    same issue as michele and ..

    None of the pre-built vmmon modules for VMware Server is suitable for your
    running kernel. Do you want this program to try to build the vmmon module for
    your system (you need to have a C compiler installed on your system)? [yes]

    Using compiler “/usr/bin/gcc”. Use environment variable CC to override.

    Your kernel was built with “gcc” version “4.1.3″, while you are trying to use
    “/usr/bin/gcc” version “4.2.3″. This configuration is not recommended and
    VMware Server may crash if you’ll continue. Please try to use exactly same
    compiler as one used for building your kernel. Do you want to go with compiler
    “/usr/bin/gcc” version “4.2.3″ anyway? [no]

    For more information on how to troubleshoot module-related problems, please
    visit our Web site
    at “http://www.vmware.com/download/modules/modules.html” and
    “http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html”.

    Execution aborted.
    can you help me?thanks

  62. Narsi

    sudo apt-get install linux-headers-`uname -r` build-essential xinetd

    everything should be fine

  63. Greg

    I have same problem as Rodney… Tried running cmd Narsi suggested and stated everthing already was newest version.

    Has anyone tried installing gcc 4.2.4 for it to compile?

  64. Juan

    Using compiler “/usr/bin/gcc”. Use environment variable CC to override.

    Your kernel was built with “gcc” version “4.2.3”, while you are trying to use
    “/usr/bin/gcc” version “4.2.4”. This configuration is not recommended and
    VMware Server may crash if you’ll continue. Please try to use exactly same
    compiler as one used for building your kernel. Do you want to go with compiler
    “/usr/bin/gcc” version “4.2.4” anyway? [no]

    For more information on how to troubleshoot module-related problems, please
    visit our Web site at “http://www.vmware.com/download/modules/modules.html” and
    “http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html”.

    Execution aborted.

    PLEASE HELP ME!!

  65. Nat

    Same as Juan.. Please someone help… until y’day everything was working fine. after kernel upgrade I started getting this issue, I am googling for last 6 hours and nothing seems to work..

    Gurus.. please help

    ======================
    Your kernel was built with “gcc” version “4.2.3”, while you are trying to use
    “/usr/bin/gcc” version “4.2.4”. This configuration is not recommended and
    VMware Server may crash if you’ll continue. Please try to use exactly same
    compiler as one used for building your kernel. Do you want to go with compiler
    “/usr/bin/gcc” version “4.2.4” anyway? [no] yes

    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include]

    The path “/usr/src/linux/include” is not an existing directory.

    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include]
    =======================

  66. Nat

    Alright, I figured out finally..

    ============================
    sudo apt-get install linux-headers-`uname -r`
    sudo apt-get autoremove
    sudo apt-get clean
    sudo apt-get install linux-headers-`uname -r`
    sudo apt-get install g++
    # the following command will produce sth like : 2.6.24-21-generic
    $uname -r
    # Now run ./vmware-config.pl
    $./vmware-config.pl
    # When prompted for directory of C headers..please substitute the value as shown below, based on your above uname -r command output.
    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include]/usr/src/linux-headers-2.6.24-21-generic/include

    ## Thats it Voila – Everything should work..
    =================================

    Thanks
    Muthu Nat

  67. Nat

    sudo apt-get install linux-headers-`uname -r`
    sudo apt-get autoremove
    sudo apt-get clean
    sudo apt-get install linux-headers-`uname -r`
    sudo apt-get install g++
    # the following command will produce sth like : 2.6.24-21-generic
    $uname -r
    # Now run ./vmware-config.pl
    $./vmware-config.pl
    # When prompted for directory of C headers..please substitute the value as shown below, based on your above uname -r command output.
    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include]/usr/src/linux-headers-2.6.24-21-generic/include

    ## Thats it Voila – Everything should work..

  68. Richard Hanson

    Hi Mat;
    I followed the instructions on comments 81 & 82 and everthing worked fine until I ran ./vmware-config.pl
    Then I got the error: no such file or directory.

    HELP!!!!!!

  69. Richard Hanson

    Hi again;
    There are a couple of things that I failed to mention. Don’t know if they will help, but here they are.
    1) My Machine is an amd64
    2) I am running Ubuntu 8.10

    Thanks

  70. Richard Hanson

    Me again:
    I got the ./vmware-config.pl to execute. Here is the output.
    dick@ubuntu:~/VMware/vmware-server-distrib/bin$ sudo ./vmware-config.pl
    Making sure services for VMware Server are stopped.

    Stopping VMware services:
    Virtual machine monitor done

    Configuring fallback GTK+ 2.4 libraries.

    In which directory do you want to install the mime type icons?
    [/usr/share/icons]

    What directory contains your desktop menu entry files? These files have a
    .desktop file extension. [/usr/share/applications]

    In which directory do you want to install the application’s icon?
    [/usr/share/pixmaps]

    /usr/share/applications/vmware-server.desktop: warning: value “vmware-server.png” for key “Icon” in group “Desktop Entry” is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
    /usr/share/applications/vmware-console-uri-handler.desktop: warning: value “vmware-server.png” for key “Icon” in group “Desktop Entry” is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
    Trying to find a suitable vmmon module for your running kernel.

    None of the pre-built vmmon modules for VMware Server is suitable for your
    running kernel. Do you want this program to try to build the vmmon module for
    your system (you need to have a C compiler installed on your system)? [yes]

    Using compiler “/usr/bin/gcc”. Use environment variable CC to override.

    What is the location of the directory of C header files that match your running
    kernel? [/lib/modules/2.6.27-7-generic/build/include]

    Extracting the sources of the vmmon module.

    Building the vmmon module.

    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-config0/vmmon-only’
    make -C /lib/modules/2.6.27-7-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic’
    CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
    In file included from /tmp/vmware-config0/vmmon-only/./include/machine.h:24,
    from /tmp/vmware-config0/vmmon-only/linux/driver.h:15,
    from /tmp/vmware-config0/vmmon-only/linux/driver.c:49:
    /tmp/vmware-config0/vmmon-only/./include/x86.h:830:1: warning: “PTE_PFN_MASK” redefined
    In file included from include/asm/pda.h:8,
    from include/asm/current.h:19,
    from include/asm/processor.h:15,
    from include/linux/prefetch.h:14,
    from include/linux/list.h:6,
    from include/linux/module.h:9,
    from /tmp/vmware-config0/vmmon-only/linux/driver.c:12:
    include/asm/page.h:22:1: warning: this is the location of the previous definition
    In file included from /tmp/vmware-config0/vmmon-only/linux/vmhost.h:13,
    from /tmp/vmware-config0/vmmon-only/linux/driver.c:71:
    /tmp/vmware-config0/vmmon-only/./include/compat_semaphore.h:5:27: error: asm/semaphore.h: No such file or directory
    /tmp/vmware-config0/vmmon-only/linux/driver.c:146: error: unknown field ‘nopage’ specified in initializer
    /tmp/vmware-config0/vmmon-only/linux/driver.c:147: warning: initialization from incompatible pointer type
    /tmp/vmware-config0/vmmon-only/linux/driver.c:150: error: unknown field ‘nopage’ specified in initializer
    /tmp/vmware-config0/vmmon-only/linux/driver.c:151: warning: initialization from incompatible pointer type
    /tmp/vmware-config0/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
    /tmp/vmware-config0/vmmon-only/linux/driver.c:1670: error: too many arguments to function ‘smp_call_function’
    make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
    make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic’
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-config0/vmmon-only’
    Unable to build the vmmon module.

    For more information on how to troubleshoot module-related problems, please
    visit our Web site at “http://www.vmware.com/download/modules/modules.html” and
    “http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html”.

    Execution aborted.

  71. Will

    I am experiencing the same problem as Richard. Does anyone know how to resolve this?

  72. John Hively

    Thank you!
    Working with xubuntu 8.04.1 per your instructions

  73. domenico

    i have the problem that say michele in post:
    michele on May 31st, 2008 10:45 am

    How can resolve it?

    thanks

  74. Chris Miller

    Guys, I was having this issue too, with 'VMWare Server on kernel 2.6.27-2-generic: cannot compile vmmon module':

    Your kernel was built with “gcc” version “4.2.3″, while you are trying to use
    “/usr/bin/gcc” version “4.2.4″. This configuration is not recommended and
    VMware Server may crash if you’ll continue. Please try to use exactly same
    compiler as one used for building your kernel. Do you want to go with compiler
    “/usr/bin/gcc” version “4.2.4″ anyway? [no]

    Found a patch via the Ubuntu forums, see the thread here:

    http://ubuntuforums.org/showthread.php?t=966070&a

    The patch is here:

    http://www.insecure.ws/2008/10/20/vmware-specific

    Got mine to work!

    Have fun!

  75. Nicole

    Hi Anybody tried installing PS FIN9.1? I want to install FSCM9.1 on Virtual Machine. Task completed
    1. Install virtual Box – Done
    2. Install Oracle VM Server 2.2 – Done
    3. Install Oracle VM Manager 2.2 -Done
    4. Try to start VM Manager to load FSCM Templates ( 1 consolidated for Apps and 1 con for PIA )
    type command at server prompt /sbin/service oc4j start [failed]

    tried starting VM Manager thru firefox ;
    https://localhost:8899/OVS – page not foud
    https://localhost:8888/OVS – page not foud
    https://localhost:4443/OVS – page not foud
    http://localhost:8899/OVS – page not foud
    http://localhost:8888/OVS – page not foud
    https://localhost:4443/OVS – page not foud

    I even replace explicit IP Address for local host 127.0.0.1 but same.

    PLEASE… PLEASE HELP!

    Can I install using Ubuntu? what version works for my server and manager? whats the procedure?

    Thanks,

    Nicole

Comments are closed.