How to install VMware Server 2.0.x on Ubuntu 9.10 Karmic Koala
Posted on October 30th, 2009 at 4:13, in How To, Linux, Ubuntu, VMware, Virtualization.
UPDATE 2: The script has been updated to work with kernels 2.6.32 too. Please post your comments regarding kernel 2.6.32 here.
UPDATE: The script which is now used for this operation has been updated to support Fedora and openSUSE too. Also the patch used is the one made by Ramon de Carvalho Valle, not the one present on VMware’s Communities site as it was before, which provides a more stable experience. More details can be read here although the instructions presented on this page are still valid.
Please post your comments regarding other distributions on the post located here!
After I have upgraded to Ubuntu 9.10 Karmic Koala I have noticed that VMware Server 2.0.1 or 2.0.2 fail to install using the default installer. I then thought that I should use again the install script I wrote for installing the server in 9.04. Wrong! Since the kernel had changed a bit, the modules from VMware Server failed to compile correctly. Browsing the VMware Communities forums, I have discovered a post that discusses using a new patch. The only patch that seems to work for the 2.6.31-14 kernel that is shipped with Ubuntu 9.10 is the one for 2.6.30-4.
The process, even if it was handled by a script, assumed the user should stop the install process in the middle, patch some files here and there and then recompile his modules keeping his fingers crossed. Because I really do not like that kind of approach, I decided to build my own script based on that one that will automatically patch the files and lead you to the install without the need for you to stop until you are done.
How to
- Download VMware Server (2.0.1 or 2.0.2) – gz format, not rpm. For the 2.0.2 version you might need to wait a couple of hours until you will receive the license key. Whichever version you choose, keep the license key near.
- Download my script from here (right click, save as).
- Run the script with super user rights either in the same folder where you have downloaded the server archive, either by providing it the path to that folder. The script will download the needed patch from my server. Make sure the folder where you have downloaded the server’s archive doesn’t contain spaces in its path name or the script will exit (giving you this reason as an error message). If the script exists, it will give you a decent warning from which you should be able to tell what’s wrong. Also, the VSOCK module will not work (will fail to compile), giving you a hint that your kernel sources might not be the ones for your running kernel. This is not true, as the script takes care of this before doing the hard work. Anyway, VMware Server will work without it. Example:
chmod +x vmware-server-2.0.x-kernel-2.6.3x-install.sh sudo ./vmware-server-2.0.x-kernel-2.6.3x-install.sh [PATH _TO_VMWARE_ARCHIVE]
- When you are asked about adding users to the server, if you do not provide your own account, the user used for loging in the web console of the server will be root (maybe you should add yourself there).
- Provide the license key when asked about it.
- For the ones installing Windows guests in VMware Server, you must pick one of the following two solutions to avoid having problems with the mouse in the console:
- you run this script in the terminal every time you want to launch a VMware Server console, but after you have installed the VMware plug-in for Firefox
- you export this variable in the environment right after login such that it will be set before starting Firefox:
VMWARE_USE_SHIPPED_GTK=yes
Credit for this one goes to Holger.
- Drop me a Kudos line in here and one for Holger here. If the solution worked well for you please share this info wherever you can.
Until a new patch will appear or until VMware will start writing more better and actual code, this is the only way of installing VMware Server 2.0.x on Ubuntu 9.10 Karmic Koala. Best of luck to you all!
Similar Posts:
- How to install VMware Server on 2.6.32 kernels
- How to install VMware Server 2.0.1 on Ubuntu 9.04 Jaunty Jackalope
- Enabling arrow keys in VMware Server 2.0.1
- How to install VMware Server 2.0.2 on Ubuntu 9.04 Jaunty Jackalope
- How to install VMware Server on 2.6.31 kernels



572 Comments
narmi91 said
on October 30th, 2009,
at 07:00 hours
Thank you very much the script worked pretty well. It had problems finding my archive so I shrunk the egrep statment to the following and everything else worked:
egrep “VMware-server-2.0″
Radu said
on October 30th, 2009,
at 10:30 hours
The way you shrank that regex might generate errors if in that folder you would have by accident something like “VMware-server-2.0.2.txt”
It’s done now and it should work for x86_64 too. The regex I used to identify the archive you had was
"^(VMware-server-2.0.[0-9]-)[0-9]*.[A-Za-z0-9]*.tar.gz"and it didn’t match for VMware-server-2.0.2-203138.x86_64.tar.gz, only for the i686 version.
So now the regex is
"^(VMware-server-2.0.[0-9]-)[0-9]*.[A-Za-z0-9_]*.tar.gz"and the script should work as advertised. Sorry, I was really tired and that slipped me away.
supraman_tt said
on October 30th, 2009,
at 10:48 hours
Thanks for the help. Your script works perfectly. Finally got my vm back up and running.
Thanks again and keep up the good work.
Andreu said
on October 30th, 2009,
at 10:54 hours
Thank you, thank you, thank you, thank you, thank you! This is exactly why I like Ubuntu, for his great community of geeks!
A
Fergus Gallagher said
on October 30th, 2009,
at 11:48 hours
Hero! Thanks
Andreu said
on October 30th, 2009,
at 11:59 hours
One question: now it works, but the Windows XP vm I’m running does not work really well. I have some issues with the mouse. Any fix for that?
Juerg said
on October 30th, 2009,
at 13:24 hours
Same mouse problems here. Sometime i have to use the right mouse button instead left mouse to klick to do some things like closing windows or klick on a button.
Radu said
on October 30th, 2009,
at 13:38 hours
Try uninstalling the mouse driver from you XP guest. If you have installed VMware Tools in your guest, the default mouse driver was replaced by them.
David said
on October 30th, 2009,
at 13:51 hours
Thank you very much!
Cody said
on October 30th, 2009,
at 14:51 hours
Thanks!
This script saved me after an upgrade to Ubuntu 9.10.
Juerg said
on October 30th, 2009,
at 15:10 hours
The mouse problem still persists. I tried to install a new XP in a new VM. But after the first start i cant use the mouse realy. Any other hints?
Radu said
on October 30th, 2009,
at 15:12 hours
Nothing else crosses my mind unfortunately… I am sorry…
Kahn said
on October 30th, 2009,
at 15:37 hours
Thank you!! you saved me ~1 million hours of work.
Roberto said
on October 30th, 2009,
at 16:50 hours
Thank you! That was so easy.
Snille said
on October 30th, 2009,
at 18:28 hours
Thank you, worked like a charm!
One little thing, the path to the VMW-server-archive can not contain any spaces…
andreas said
on October 30th, 2009,
at 18:28 hours
hey, thanks a lot!!!
your little script worked very well and my vms are working again now.
You saved me a reinstall/downgrade to ubuntu server 9.04!
Radu said
on October 30th, 2009,
at 20:24 hours
@Snille: Yeah, you are right. I kind of forgot to check for that.
Code_Bleu said
on October 30th, 2009,
at 22:18 hours
Script worked for me. The only issue I had was I didnt have the “patch” util installed. Once i did ‘sudo apt-get install patch’ and re-run the script, everything worked. Thanks so much!
uberVU - social comments said
on October 30th, 2009,
at 22:31 hours
Social comments and analytics for this post…
This post was mentioned on Twitter by Radu Cotescu: There’s a new post on my blog: “How to install VMware Server 2.0.x on Ubuntu 9.10 Karmic Koala” http://bit.ly/do83v #linux #ubuntu #vmware…
Radu said
on October 30th, 2009,
at 22:36 hours
Thank you for this! I have added support for needed packages too.
Kerry Wong said
on October 31st, 2009,
at 00:32 hours
Thanks, it worked great for my 64bit version upgrade.
prunge said
on October 31st, 2009,
at 03:09 hours
Thanks so much! Worked perfectly.
Freddy Vadukkoot said
on October 31st, 2009,
at 09:44 hours
Worked like a charm. Thanks Radu. Kudos.
small said
on October 31st, 2009,
at 13:05 hours
With Ubuntu 9.10, is build-essential (for building debian packages) necessary? It looks like gcc works fine without it. Otherwise, everythings cool
Radu said
on October 31st, 2009,
at 13:12 hours
To answer this short, not necessarily. But… Basically you would need
gcc,makeandpatch.makeandpatchcome in thebuild-essentialpackage. Actuallypatchcomes as a dependency fordpkg-dev, which in turn is a dependency forbuild-essential. Hope that makes it clear.Frank said
on October 31st, 2009,
at 15:47 hours
Thank you very much, you made my day!
vk101 said
on October 31st, 2009,
at 16:02 hours
Beautiful
Roberto Aceves Díaz said
on October 31st, 2009,
at 17:23 hours
Thanks a lot, Radu. It worked well for me. Ubuntu 9.10 Karmic Koala 32bit on a lenovo R61i.
Mars said
on October 31st, 2009,
at 17:51 hours
The script and the .tar.gz archiv is in my /home/vmware/Downloads/ folder.. when i want start the script with sh ./scriptname a error message will come.
Syntax error: word unexpected (expecting “)”)
i dont know what do to?
Radu said
on October 31st, 2009,
at 18:02 hours
Marcel, run the script like this:
after you made sure the script is executable:
That should work…
Marcel said
on October 31st, 2009,
at 18:13 hours
i am sorry but i will become the error message command not found
Radu said
on October 31st, 2009,
at 18:21 hours
When do you get that output? How do you try to run the script and where is it located? From where do you run it?
Marcel said
on October 31st, 2009,
at 18:28 hours
sorry … the problem ist solved. thank you very much.. i forgot the chmod command.
sry and thank you…
marco said
on October 31st, 2009,
at 18:38 hours
hi!! this patch works in a 32bit system? because i’ve got this error:
thanks
Radu said
on October 31st, 2009,
at 18:46 hours
Hi Marco! The patch was tested by me on a 32-bit system and worked okay. Also other people that wrote comments here used it on 32-bit architectures as well… Check to see if you have the Linux headers for your kernel, although the script should have done this and install them as needed.
To check for that, simply issue this command in your terminal:
Yestin said
on October 31st, 2009,
at 18:48 hours
Thanks a lot for the instructions and script. It worked perfectly for me
marco said
on October 31st, 2009,
at 19:14 hours
hi!
“install ok installed 2.6.32-rc5-2-10.00.Custom”
I use:
- debian testing
- VMware-server-2.0.2-203138.i386.tar.gz
- kernel 2.6.32-rc5
i know, that’s not the same “features” required for this patch eheheh
Thanks a lot
Radu said
on October 31st, 2009,
at 19:33 hours
Marco, the patch is for kernel 2.6.30-4 and it was confirmed to work for 2.6.31-14 too, which is the default kernel for Ubuntu 9.10. Unfortunately, it seems that the patch won’t work on your setup.
Troy said
on October 31st, 2009,
at 19:41 hours
The install was flawless, thank you. But I also have the mouse problem with my VM XP. Updated the VMWare tools, didn’t help. Uninstalled, didn’t help.
Radu said
on October 31st, 2009,
at 19:43 hours
I am sorry, Troy. I still don’t have a fix for this.
marco said
on October 31st, 2009,
at 19:55 hours
thanks Radu
i willi try your patch with 2.6.31-14
Andres said
on October 31st, 2009,
at 23:09 hours
Hi Radu,
Your script doesn’t work for my system:
Ubuntu 9.10, kernel 2.6.31-14.48
Error msg:
Extracting the contents of VMware-server-2.0.1-156745.i386.tar.gz
tar: VMware-server-2.0.1-156745.i386.tar.gz/VMware-server-2.0.1-156745.i386.tar.gz: Cannot open: Not a directory
tar: Error is not recoverable: exiting now
gzip: stdin: unexpected end of file
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
Checking patch download and archives from the extracted folders…
The download of vmware-server-2.0.x_x64-modules-2.6.30.4-fix.patch from http://codebin.cotescu.com/vmware/ failed!
Check your internet connection.
——————–
My Internet connection is working …
Is uit something I could do about the above error…
Thanx in advance ,
Andres
Kyle said
on October 31st, 2009,
at 23:39 hours
Install problem. The last lines output from the terminal are:
Testing patch…
./vmware-server-2.0.x-kernel-2.6.31-14-install.sh: line 125: patch: command not found
The patch cannot be applied.
I specified the following, but the install always yields the above result.
chmod +x vmware-server-2.0.x-kernel-2.6.31-14-install.sh
sudo ./vmware-server-2.0.x-kernel-2.6.31-14-install.sh [vmware path]
Can anyone provide some insight into the issue and what I might try. I’m new to ubuntu and linux in general, so simple instructions would be appreciated.
Thanks
Radu said
on November 1st, 2009,
at 00:45 hours
@Andres: Please provide me the way you try to run the script and the folder configuration.
Radu said
on November 1st, 2009,
at 00:49 hours
@Kyle: Install the patch package. The script should have done this for you… Try to re-download the script and re-run it. If it fails again with the same output, then install the
patchpackage:and then try to run the script…
Kyle said
on November 1st, 2009,
at 01:40 hours
Radu,
Installing the patch manually allowed the remainder of the script to execute.
Thanks
sengork said
on November 1st, 2009,
at 05:18 hours
Cheers, VMware 2.0.2′s working fine now…
Erik Jan said
on November 1st, 2009,
at 06:58 hours
Thnx! You just saved me a few hours of frustrating work!
Andreas said
on November 1st, 2009,
at 11:25 hours
It worked perfectly for me. I had the same issues with the mouse as a lot of others here, but found the solution here: http://ubuntuforums.org/showthread.php?t=1298781
mark said
on November 1st, 2009,
at 11:46 hours
Works fine only problem is the mouse one that others have described in windows xp machines
Fumetto's Blog » Ubuntu 9.10, prime impressioni said
on November 1st, 2009,
at 11:52 hours
[...] 01/11/09: VMWare Server adesso funziona; cercando in rete ho trovato questa utilissima guida con annesso script che è riuscito a risolvermi il problema. Supponendo di avere [...]
Instalar VMware en Ubuntu 9.10 Karmik Koala | Libro de Apuntes said
on November 1st, 2009,
at 12:07 hours
[...] Más información y artículo original en: How to install VMware Server 2.0.x on Ubuntu 9.10 Karmic Koala [...]
Bruno Rico said
on November 1st, 2009,
at 12:08 hours
Thank You! It worked on the spanish localized version of Ubuntu Karmic Koala 9.10
Thomas said
on November 1st, 2009,
at 13:02 hours
Thank you so much. It works perfectly.
Yuti said
on November 1st, 2009,
at 13:55 hours
Super! Thank you!
Ben said
on November 1st, 2009,
at 19:43 hours
Very nice! It took a little bit of tweaking, but VMWare works for me now.
Jaroslav K. said
on November 2nd, 2009,
at 08:02 hours
Thank you very much! Works super with kernel 2.6.31-14-pae-generic (32-bit) and vmware server 2.0.2
Tyler Bye said
on November 2nd, 2009,
at 08:50 hours
Thanks for the script, Radu.
My notes. I installed and only one of my VMs would start. I had to nuke my vm*.o|ko kernel modules and re run the scripts. Then all of my VMs would start.
Pretty strange, but I’m relieved to have things running steadily.
mg said
on November 2nd, 2009,
at 12:33 hours
Very cool, thanks a lot!
Waruntorn said
on November 2nd, 2009,
at 14:32 hours
You are the man, I salute you. IYour script works very well.
Colin Millar said
on November 2nd, 2009,
at 16:02 hours
Worked perfectly for me – thank you very much for posting.
Paolo Conti said
on November 2nd, 2009,
at 18:03 hours
Great solution! Worked for me with Kubuntu 9.10 (32-bit)
DDRBoxman said
on November 2nd, 2009,
at 19:54 hours
Thanks, lets hope VMware starts actually writing good code soon.
Perry said
on November 3rd, 2009,
at 00:31 hours
Hello,
If you did not specify any user/administrator, just pressed enter for the default value.
How do you log in?
root?
password?
How can you add a new user?
(tried to re-run the whole installation again but that does not work).
/Perry
Radu said
on November 3rd, 2009,
at 01:41 hours
If you haven’t specified an user for the administrator account, then your root user is the administrator. From here you have two solutions:
sudo rm -rf /lib/modules/`uname -r`/misc/.{o,ko} , where Module_Name isvmmon,vmci,vmnet) and then re-run VMware’s Server config script (sudo vmware-config.pl)Hope that helps!
Henry said
on November 3rd, 2009,
at 09:53 hours
Thank you ! You saved me a lot of time
Pak said
on November 3rd, 2009,
at 12:24 hours
Thanks a lot.. it works great.. I have the same mouse problem in the console, but I turnaround the issue connecting to my VM with RDP protocol.
Radu said
on November 3rd, 2009,
at 14:31 hours
You can fix the mouse problems as indicated in the post.
Johann said
on November 3rd, 2009,
at 17:39 hours
Thanks – it worked fine!
But Server 2.x is very slow. So I had before 1.0.9 – worked perfectly .. on 9.0.4 (before karmic
So is there any way to run vmware server 1.0.9 on ubuntu 9.10 karmic ?
Thanks for a short answer !!!
Johann
Giacomo said
on November 3rd, 2009,
at 18:24 hours
Hi Radu,
I have a problem when execute your script.
This is the log:
in this dir there are only these files:
vmci.tar vmmon.tar vmnet.tar vsock.tar
Can you help me?
Thanks
Radu said
on November 3rd, 2009,
at 18:32 hours
Yes Giacomo. Remove the spaces from the VMware home path:
/Dati/DownLoads/vmware server 2.0.2/. I will modify the script to automatically tell you that.P.S. What I say to you was written in the blog post, at point 3, with bold.
By the way, if you run the script in the same folder where the VMware Server archive is you don’t need to supply it the path.
Giacomo said
on November 3rd, 2009,
at 18:55 hours
Now is OK!
Thank you very much!
Brad said
on November 3rd, 2009,
at 18:58 hours
Thanks Radu. I came straight to your site as soon as I had a problem with vmware install. Somehow I knew you would have a fix for the problem, and of course, it works perfectly.
Marvin said
on November 3rd, 2009,
at 23:01 hours
SWEET!!! thank you, thank you, thank you….that saved me who knows how many late night hours! worked the first time.
Alex said
on November 3rd, 2009,
at 23:24 hours
Man, I’m impressed! Your script makes installing so easy!!
Thanks a lot!!
Edward Katsyv said
on November 3rd, 2009,
at 23:48 hours
I am glad you were able to find solution to this nasty vmware problem.
Karl said
on November 4th, 2009,
at 01:25 hours
Frackin’ awsum!
Dima said
on November 4th, 2009,
at 08:34 hours
thank you very much!
archebyte said
on November 4th, 2009,
at 15:14 hours
this helped immensely. Thank you!
phil said
on November 4th, 2009,
at 15:23 hours
Radu you flamin’ legend – thanx!
Gregor S said
on November 4th, 2009,
at 17:18 hours
Script works perfect.
I have another problem …vmware-hostd is crashing from time to time. This results in inaccessible Vmware Web Access on port 8333.
Does anyone have any idea about this problem (before I start googling)?
Miroslav said
on November 4th, 2009,
at 18:01 hours
Thanks Radu! Script worked very well.
MNott said
on November 4th, 2009,
at 21:21 hours
Hi Radu,
thanks for the excellent script. Unfortunately, vmware-mgmt doesn’t start up correctly. For some reason, tomcat is configured to run on port 8308. A cross check with my old vmware server installation confirms that this was always the case. Yet, according to the proxy configuration, it should be running on 8222. This may be a vmware server problem and not your problem, but perhaps you or your readers have come accross. If, during install, I force the script to use 8308, I get the login screen on 8308, but after logging in, I get “Web Service not available”.
Thanks for help,
M
Mariano said
on November 5th, 2009,
at 02:48 hours
Worked great! Thank you!
Puppe said
on November 5th, 2009,
at 08:58 hours
Thanks, worked like a charm!
Bj said
on November 5th, 2009,
at 13:44 hours
That is bloody perfect cobber! Thanks heaps for goin’ to all that trouble and helping a bloke out
Cheers
sandra said
on November 5th, 2009,
at 17:27 hours
No matter what I type in the terminal window, it always tells me “Error message: There is no archive containing VMware Server in the path you indicated!” This is what I’m entering (below), after becoming super user (sudo -i). The script and the archive are in the same directory, and I have changed directory to be in that folder.
-=-
./vmware-server-2.0.x-kernel-2.6.31-14-install.sh vmware-server-2.0.2-203138.i386.tar.gz
-=-
The .tar.gz I had to create from the folder that was downloaded from VMWare, since when it was downloaded it automatically expanded itself. Can it be that is the issue?
Thanks,
Sandra
Radu said
on November 5th, 2009,
at 17:37 hours
Sandra, if you run the script from the same folder you don’t have to supply the PATH to the archive and you must not supply in any way the archive itself as a parameter (but that’s not your problem here). The script looks for the original archive which is named, depending on the architecture,
VMware-server-2.0.1-156745.i386.tar.gzorVMware-server-2.0.1-156745.x86_64.tar.gzor 2.0.2 instead of 2.0.1. Rename the archive accordingly and run the script as indicated: passing it the PATH to the archive (not the archive itself) if you run it from a different location or without any arguments if you run it from the same folder.I am waiting for you to tell me that the script worked.
sandra said
on November 5th, 2009,
at 18:34 hours
Thank you, Radu. I did in fact need to re-download the original tar.gz. Even though I had renamed it to match what it was originally named, it was not being recognized.
The script indeed worked beautifully. I am up and running again. Many, many thanks!!
Radu said
on November 5th, 2009,
at 18:44 hours
You are welcome!
HAPPY said
on November 5th, 2009,
at 18:45 hours
THANK YOU!!!!!
MB said
on November 5th, 2009,
at 23:49 hours
This worked for me too, but my default sh program was using ‘dash’. using ‘bash ‘ made it work right.
Thanks for doing this!
Dan said
on November 6th, 2009,
at 01:52 hours
Beautiful work. Thank you. Saved me who knows how much time and grief.
-Dan
Oliver said
on November 6th, 2009,
at 12:38 hours
Thanks for your great work!
Just adapted your script for the use with Mandriva Linux.
Will put it on the mandrivauser.de wiki after I cleaned up my patch…
skob said
on November 6th, 2009,
at 14:03 hours
Thanks!
James said
on November 7th, 2009,
at 11:29 hours
Thanks very much Radu wasn’t expecting to be able to run VMWare server 2.01 so soon after the official release of Ubuntu 9.10. Your script makes it a painless install.
David W. said
on November 7th, 2009,
at 11:30 hours
Hi Radu, thanks for the script but I am having some problems. Total Linux newb. Been at it for 4 days now
. I left both downloads in the Downloads directory and changed my Terminal directory to Downloads. For some reason it can’t find the program though.
—
—
I have tried entering the path as well and get the same results.
—
—
It’s seems similar to Sandra’s problem and I have tried re-downloading both files and I still get the same results.
—
All help is greatly appreciated. Thanks.
Radu said
on November 7th, 2009,
at 12:07 hours
David, you have never done some programming, right?
The square brackets are there to indicate there is an optional parameter that in some cases could be supplied to the script. Please read the post two or three times to better comprehend how you can run the script.
If you do not have any parameters to supply, you should run the script like
but if you do have parameters to supply to it you should run it like
You don’t actually write those square brackets. What I have told you here is general programming notation. It’s not something particular to Linux scripts. Sorry for being a little harsh on you, but when you want to do more advanced stuff in Linux than just surfing the web and enjoying multimedia content you should know more things in order to get your job done.
Please tell me how the script worked. Good luck!
Erwan said
on November 7th, 2009,
at 17:18 hours
Thanks to you, and all others who speed up vmware setup for ubuntu releases !
VIr said
on November 7th, 2009,
at 18:43 hours
Hi! I have a problem with install:
Ingo said
on November 7th, 2009,
at 20:58 hours
It works like a charm on
Ubuntu 9.10 32 bit with Kernel “2.6.31-14-generic”.
Thank you for your great blog entry!!!
cu
Ingo
John J. Sullivan said
on November 7th, 2009,
at 21:11 hours
THANK YOU VERY MUCH FOR THIS SCRIPT!!!!!!!!
I had trouble getting VMWare installed on Ubuntu 9.10 and had unsuccessfully tried alot of sullutions posted on other sites…With your script it took me 3-4 min.
May the bits be with you!
Radu said
on November 7th, 2009,
at 23:00 hours
Vlr, read the instructions 3 times in a row… If you run the script in the same folder as the archive, you don’t have to supply nothing to it. Otherwise, supply the path to the archive (the folder structure to the archive, but without writing the archive’s name in it). Given your directory structure, you should run the script like:
Have fun!
Deep Singh said
on November 8th, 2009,
at 00:55 hours
thanks !! worked great for me !
Philip Emery said
on November 8th, 2009,
at 02:11 hours
Fantastic script! Big Thank-you.
Nick Y. said
on November 8th, 2009,
at 02:13 hours
Absolutely seamless on my system – thank you.
David W. said
on November 8th, 2009,
at 09:35 hours
*slaps self in the forehead*
Duh!
Yeah works great.
I see that Linux is going to take a lot of getting used to.
Thanks for your help Radu, and thank you VERY much for the script/patch. I probably would have had to abandon Linux without it.
I’m looking forward to a great Linux experience.
Peter Wirdemo said
on November 8th, 2009,
at 15:04 hours
You saved my day. It started like a nightmare, but now it’s like rock’n'roll…
Parag said
on November 9th, 2009,
at 03:06 hours
Your script does it all!! Thanks a bunch.
Boristhedog said
on November 9th, 2009,
at 13:26 hours
Kudos! You are a genuis. Worked perfectly for me on 9.10 and, with a bit of effort, for my friend on 9.04. Thank you very much.
Radu said
on November 9th, 2009,
at 13:49 hours
Boris, your friend should use the methods presented for Ubuntu 9.04, not Ubuntu 9.10. There are different patches for those 2 releases.
Pablo said
on November 9th, 2009,
at 22:44 hours
I noticed that Ubuntu 9.10 is updating to kernel 2.6.31-15. What appends with this if I upgrade the kernel?
Thanks a lot
Radu said
on November 9th, 2009,
at 23:52 hours
I don’t know, Pablo… Test it and come back to share the results. I am still running Jaunty here on my production machine. For Karmic I have another machine on which I do only tests for now…
seabee said
on November 10th, 2009,
at 05:31 hours
Hi ,radu, when i use your script to install VMware-server-2.0.2-203138.i386.tar.gz ,it display ;
Unable to make a vmnet module that can be loaded in the running kernel:
insmod: error inserting ‘/tmp/vmware-config1/vmnet.o’: -1 File exists
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel. You may want to
rebuild a kernel based on that directory, or specify another directory.
——————-
my kernel is 2.6.31-14-generic ,gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8) , can you help me?
Radu said
on November 10th, 2009,
at 09:52 hours
Seabee, first uninstall your exisiting VMware Server or remove its modules manually from the kernel. There is a comment where I describe how to remove the old modules.
Monsoft said
on November 10th, 2009,
at 13:22 hours
Hi,
What about module vsock.o ?
I’m trying to load tins module but always it failed to load:
modprobe vsock
FATAL: Error inserting vsock (/lib/modules/2.6.31-14-generic-pae/misc/vsock.ko): Unknown symbol in module, or unknown parameter (seesg)
I use 32-bit version of ubuntu.
Radu said
on November 10th, 2009,
at 14:20 hours
Monsoft, uninstall your old VMware Server and remove all VMware traces from your system before reinstalling VMware with the aid of my script.
cam said
on November 10th, 2009,
at 18:20 hours
Hello,
It’s first time I install VMware 64-bit on Ubuntu 9.10.
I never use this soft before.
I think the installation work correctly but I don’t know how I can start the program for configure ‘virtual machine’, the shorcut is not on a main menu !
Thank you
Radu said
on November 10th, 2009,
at 18:23 hours
Cam, open your browser and go to http://localhost:8222. Log in with your user and password if you configured the server accordingly.
yongaik said
on November 10th, 2009,
at 19:50 hours
Thanks you very much !!
your script work perfectly and it help to fix my vmware problem for 9.10.
kyoshi52 said
on November 11th, 2009,
at 07:39 hours
Thank you.
Once I removed all the blank spaces in the directory tree it worked like a dream.
Thanks again.
Aristoteles said
on November 11th, 2009,
at 09:43 hours
Installation works fine. Great, great job.
Thanks a lot
Karmic Coala x86_64,
Updated Kernel 2.6.31-14-generic
VMware Server 2.0.2-203138
narmi91 said
on November 12th, 2009,
at 05:46 hours
Installed using this patch.
Running Vmware server 2.0.1 (tried 2.0.2 as well) on karmic. It seems to work for a while but when I start multiple (usually more than two) VMs, my server hangs. I need to restart it to physically to get it going. Has anyone else had this problem?
Also I tried the terminal launching script, but it can’t find the plugin libaraires. how can them to path?
Finally could you provide a little more detail on:
“2.you export this variable in the environment right after login such that it will be set before starting Firefox:
VMWARE_USE_SHIPPED_GTK=yes”
Thank you in advance for any insights…
David said
on November 12th, 2009,
at 06:01 hours
Holy shit…this actually works! I’m running 9.10 on a Dell PE 650 32-bit platform and with your script I have sucessfully installed Vmware 2.0.2 server. This is amazing, thanks so much! I’ve tried numerous times over the last 2 years to get VmWare to work on top of Ubuntu without success.
Props to you!
David.
DevNull said
on November 12th, 2009,
at 13:49 hours
Thank you very much, works like a charm :-*
Steve said
on November 12th, 2009,
at 15:59 hours
Worked like a charm! Thanks!
I was able to revive an xp-guest, built in Intrepid. Mouse-script also fixed the mousebug.
Radu said
on November 12th, 2009,
at 16:06 hours
@narmi91: To find the plug-in libraries you should first install the plug-in. Did you do that? In order to export that variable, you could add these two lines
at the end of your
~/.profilefile.Michael said
on November 12th, 2009,
at 16:17 hours
This works great for installing, but unfortunately the vmware-configure.pl script still says, when pointed at /usr/src/linux-headers-2.6.31-14-generic/include, that the directory contains files for 2.6.31.4, and the script dies. Any tips?
Radu said
on November 12th, 2009,
at 16:23 hours
That is weird… Give me the output of these two commands, please:
Michael said
on November 12th, 2009,
at 16:27 hours
blah@blah$ uname -r
2.6.31-14-generic
blah@blah$ dpkg-query -W -f=’${Status} ${Version}\n’ linux-headers-`uname -r`
install ok installed 2.6.31-14.48
Radu said
on November 12th, 2009,
at 17:00 hours
Michael, this seems really weird. Try uninstalling VMware and remove all its traces from your system and then do a clean install.
narmi91 said
on November 12th, 2009,
at 17:24 hours
Thank Radu. I have added the GTK command to my profile and the mouse is working perfectly. Yes, I did install the plug in first, it finds the vmrc file but cant find the libraries in the associated lib directory. Since the export to profile worked, I’m ok with not getting the command to work.
My bigger problem is the server hanging though (see below). Has anyone else had this problem?
Installed using this patch. Running Vmware server 2.0.1 (tried 2.0.2 as well) on karmic. It seems to work for a while but when I start multiple (usually more than two) VMs, my server hangs. I need to restart karmic physically to get it going again. Has anyone else had this problem?
Radu said
on November 12th, 2009,
at 17:30 hours
It seems to be a common problem for VMware Server on the 2.6.31-14 kernel. I don’t know who’s to blame, but since I really like what Linus has done in all these years coordinating the kernel development, I suspect VMware’s code. I don’t experience these issues as I am not using the server anymore. Though it still represents an option for a personal project regarding Ubuntu…
igor said
on November 13th, 2009,
at 12:28 hours
Hi Radu,
Your script doesn’t work for my system:
Ubuntu 9.10, kernel 2.6.31-14.48
Error msg:
Extracting the contents of VMware-server-2.0.2-203138.i386.tar.gz
tar: VMware-server-2.0.2-203138.i386.tar.gz/VMware-server-2.0.2-203138.i386.tar.gz: Cannot open: Not a directory
tar: Error is not recoverable: exiting now
gzip: stdin: unexpected end of file
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
Checking patch download and archives from the extracted folders…
The download of vmware-server-2.0.x_x64-modules-2.6.30.4-fix.patch from http://codebin.cotescu.com/vmware/ failed!
Check your internet connection.
——————–
My Internet connection is working …
Is uit something I could do about the above error…
Thanks in advance, Igor.
Radu said
on November 13th, 2009,
at 12:38 hours
Igor, read the instructions… You don’t supply the actual archive in the path, only the path to it… For example if you have the archive in ~/Downloads and your script is is ~/ you call the script like this, asuming you are in ~/:
But if you run the script from the same folder where the archive is, you should run the script like:
Good luck with this!
Peter Devlin said
on November 13th, 2009,
at 16:05 hours
Radu! Thank you! You’re a star!
I found my way here via your comments on the VMware forums. You have saved me much headscratching. Have a good weekend mate
Trithdurol said
on November 13th, 2009,
at 19:27 hours
Hi Radu,
first of all a big thanks for your script!
I’m somehow stuck: after compiling some of the modules the script aborts with following message:
[Code]
LD [M] /tmp/vmware-config4/vmnet-only/vmnet.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-config4/vmnet-only/vmnet.mod.o
LD [M] /tmp/vmware-config4/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-server’
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config4/vmnet-only’
Unable to make a vmnet module that can be loaded in the running kernel:
insmod: error inserting ‘/tmp/vmware-config4/vmnet.o’: -1 File exists
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel. You may want to
rebuild a kernel based on that directory, or specify another directory.
For more information on how to troubleshoot module-related problems, please
visit our Web site at “http://www.vmware.com/go/unsup-linux-products” and
“http://www.vmware.com/go/unsup-linux-tools”.
Execution aborted.
Housekeeping…
Thank you for using the script!
Author: Radu Cotescu
http://radu.cotescu.com
[/Code]
If I try to start vmware after that:
[Code]
root@server:~# vmware
@@PRODUCT_NAME@@ is installed, but it has not been (correctly) configured
for the running kernel. To (re-)configure it, invoke the
following command: /usr/bin/vmware-config.pl.
[/Code]
When I run the script:
[Code]
root@server:~# /usr/bin/vmware-config.pl
The following VMware kernel modules have been found on your system that were
not installed by the VMware Installer. Please remove them then run this
installer again.
vmmon
vmci
I.e. – ‘rm /lib/modules/2.6.31-14-server/misc/.{o,ko}’
Execution aborted.
[/Code]
If I delete those files, the script will also fail … where is the misstake?
Radu said
on November 13th, 2009,
at 19:32 hours
Apparently you tried to install the server on top of a previous installation. Uninstall the current installation, be careful to have those modules removed from your system and rerun the script. Check my other comments from here because several other people had similar problems.
Trithdurol said
on November 13th, 2009,
at 21:26 hours
Hello Radu,
Thanks for your quick answer and all the effort you put into this!
Before I found your script, I tried several vmware installations on my own (right after 9.10 was released). So probably you are right that the reason for the script to fail is that I missed to delete something. I just don’t know what it could be …
I tried to uninstall vmware the following way:
First I run the uninstall script /usr/bin/vmware-uninstall.pl
(This will also remove the directory /lib/modules/`uname -r`/misc completly)
After that I delete (almost) everything matching “|grep -i vm” from all the directorys mentioned during installation, to get rid of the leftovers:
/usr/bin/
/etc/
/etc/init.d/
/usr/sbin/
/usr/lib/
/usr/share/man/
/usr/share/doc/
But again I run in the same error with your script. Do you have any further hint, which files might still be needed to be removed in order to make your script work?
Jian said
on November 14th, 2009,
at 01:12 hours
Tried twice. Finally it works!
I screw up at first try. Use /usr/bin/vmware-uninstall.pl to remove VM. Then tried again and everything seems working.
Thanks a lot!
Linux Newb said
on November 14th, 2009,
at 07:17 hours
Radu,
I have read the same solution that you have provided to those that could not install vmware w/your script. I placed the archive and your script in the same folder, but when i try to run the command in the same folder as the archive, I get this, “command not found”…
For example:
dawiz@trixbox:~$ sudo ./vmware-server-2.0.x-kernel-2.6.31-14-install.sh sudo: ./vmware-server-2.0.x-kernel-2.6.31-14-install.sh: command not found
Even when trying to run it from the “Downloads” folder:
dawiz@trixbox:~$ sudo ./VMware-server-2.0.x-kernel-2.6.31-14-install.sh /home/dawiz/Downloads
sudo: ./VMware-server-2.0.x-kernel-2.6.31-14-install.sh: command not found
What am I doing wrong?
Thanks in advance
Trithdurol said
on November 14th, 2009,
at 12:48 hours
Hi again.
I was finally able to fix it myself:
root@server:/# rm -r /var/run/vmware
root@server:/# rm -r /var/lib/vmware
root@server:/# rm -r /var/log/vmware
root@server:/# rm -r /tmp/vmware*
=> reboot
check that following files are gone after reboot:
root@server:/# ll /sys/module/ |grep -i vm
drwxr-xr-x 5 root root 0 2009-11-14 11:47 vmci
drwxr-xr-x 5 root root 0 2009-11-14 11:47 vmmon
drwxr-xr-x 5 root root 0 2009-11-14 11:47 vmnet
now the script should work perfect!
Radu said
on November 14th, 2009,
at 13:04 hours
Newb, you have not set the script to be executable. Btw, in the second output you f**ked up the name. Watch those capitals over there, as Linux is case sensitive. The command to make the script executable can be found in the code snippet from the blog post (the first line).
Trithdurol said
on November 14th, 2009,
at 14:35 hours
Hi Radu,
sorry to abuse the comment function like this, but after I made vmware working with your script for a while, now after some reboots the vmware processes suddenly didn’t come up and it seems like I’m stuck again in the same place
root@server:~# vmware
@@PRODUCT_NAME@@ is installed, but it has not been (correctly) configured
for the running kernel. To (re-)configure it, invoke the
following command: /usr/bin/vmware-config.pl.
root@server:~# /usr/bin/vmware-config.pl
The following VMware kernel modules have been found on your system that were
not installed by the VMware Installer. Please remove them then run this
installer again.
vmmon
vmci
vmnet
I.e. – ‘rm /lib/modules/2.6.31-14-server/misc/.{o,ko}’
Execution aborted.
Probably not an issue with your script, but do you maybe have a hint?
Radu said
on November 14th, 2009,
at 14:41 hours
Trithdurol, follow the second set of instructions from this comment.
Trithdurol said
on November 14th, 2009,
at 16:50 hours
Nope, that’s not working (I tried it many times)…
I found this hint: http://www.karakas-online.de/forum/viewtopic.php?t=909
Deleting /etc/vmware/not_configured and I was able to bring vmware up immediately … so let’s see if the file appears again … if yes then probably I will have to write a script which kills this file on boot or something …
Sorry for bothering you with my problems …
I think vmware should pay you a big reward for helping people use their products! =)
Kentech said
on November 14th, 2009,
at 20:53 hours
Ubuntu server 9.10, VMware server 2.0.2, 64bit system. Everything installed fine except the vsocks module build, but I read somewhere that I may be ok without that module. The biggest problem though is that the VMware Infrastructure Web Access login give me this error: “Web service not available”, no matter what i type in, valid credentials or even junk characters. Been working on this login issue for 2 days without success. I’ve reinstalled the OS as well as VMware server several times. Probably nothing to do with the issue but i did verify that Apache Web server was installed with Ubuntu server. Any help would be appreciated.
Radu said
on November 14th, 2009,
at 21:17 hours
Apache Webserver has nothing to do with VMware. VMware Server comes with its own Apache Tomcat server. Check to see if the
haldservice is started though…Justinus said
on November 15th, 2009,
at 11:35 hours
Waw, Great Man, i`ve done it with ease, thanks
Dman said
on November 15th, 2009,
at 16:33 hours
This worked out very nicely, Great Work…
Many Thanks…………Dman
emgrasso said
on November 15th, 2009,
at 17:55 hours
Hi, Radu – Thanks for this.
It worked well for me to begin with, but periodically seems to lose something in the networking.
If I run /etc/init.d/vmware restart, it reports:
The only way to get a clean restart is to rerun
/usr/bin/vmware-config.pl, which reports:I saw your comment earlier in the thread, and my admin user is not root.
I am not worried about the need to rebuild the modules, so much as the fact that they seem to stop working at random.
Radu said
on November 15th, 2009,
at 18:29 hours
Apparently VMware Server is pretty unstable on the current kernels from Ubuntu and I do not have a solution for this…
shawn q said
on November 15th, 2009,
at 19:17 hours
outstanding, mad props, radu, you own
emgrasso said
on November 15th, 2009,
at 19:45 hours
Digging a little deeper, the vmnet module seems to be hung now.
Max said
on November 16th, 2009,
at 00:59 hours
thank you so much!
the patch i found aborted always on line 71…
finally after 5 hours your solutin worked fine!
what i still dont understand.. why is no one supplying the patched files to copy them in the vmware install dir?
Peter Wirdemo said
on November 16th, 2009,
at 01:33 hours
Hello seems to have some problem here, when starting it the first time, some things start, when I run the same command again… reconfigure needed…
root@no1:/# /etc/init.d/vmware start
Starting VMware services:
Virtual machine monitor done
Virtual machine communication interface done
Virtual ethernet failed
Bridged networking on /dev/vmnet0 done
Host-only networking on /dev/vmnet1 (background) done
DHCP server on /dev/vmnet1 done
Host-only networking on /dev/vmnet8 (background) done
DHCP server on /dev/vmnet8 done
NAT service on /dev/vmnet8 done
root@no1:/# ps -ef | grep vmware
root 28333 1 0 00:28 ? 00:00:00 /usr/bin/vmnet-dhcpd -cf /etc/vmware/vmnet1/dhcpd/dhcpd.conf -lf /etc/vmware/vmnet1/dhcpd/dhcpd.leases -pf /var/run/vmnet-dhcpd-vmnet1.pid vmnet1
root 28350 1 0 00:28 ? 00:00:00 /usr/bin/vmnet-dhcpd -cf /etc/vmware/vmnet8/dhcpd/dhcpd.conf -lf /etc/vmware/vmnet8/dhcpd/dhcpd.leases -pf /var/run/vmnet-dhcpd-vmnet8.pid vmnet8
root 28355 1 0 00:28 ? 00:00:00 /usr/bin/vmnet-natd -d /var/run/vmnet-natd-8.pid -m /var/run/vmnet-natd-8.mac -c /etc/vmware/vmnet8/nat/nat.conf
root 28631 28269 0 00:29 pts/1 00:00:00 grep vmware
root@no1:/# /etc/init.d/vmware start
VMware Server is installed, but it has not been (correctly) configured
for the running kernel. To (re-)configure it, invoke the
following command: /usr/bin/vmware-config.pl.
ivan-s said
on November 16th, 2009,
at 11:59 hours
I can’t istall VMware-server-2.0.2-203138.x86_64.tar.gz
I have AMD64 CPU, GCC-4.3, Debian Lenny, vmware-server-2.0.x-kernel-2.6.31-14-install.sh, vmware-server-2.0.x_x64-modules-2.6.30.4-fix.patch,
uname -r 2.6.31.6,
echo $CC /usr/bin/gcc-4.3,
kernel compiled with gcc-4.3
When I run script vmware-server-2.0.x-kernel-2.6.31-14-install.sh I have taken :
sh vmware-server-2.0.x-kernel-2.6.31-14-install.sh
You have VMware Server archive:
VMware-server-2.0.2-203138.x86_64.tar.gz
Downloading patch file…
You do have the linux-headers-2.6.31.6 package…
You do have the build-essential package…
You do have the patch package…
Extracting the contents of VMware-server-2.0.2-203138.x86_64.tar.gz
Checking patch download and archives from the extracted folders…
Found .tar file for vmmon module
Found .tar file for vmnet module
Found .tar file for vsock module
Found .tar file for vmci module
Extracting .tar files in order to apply the patch…
Untarring /home/ivan/VMWare64/vmware-server-distrib/lib/modules/source/vmmon.tar
Untarring /home/ivan/VMWare64/vmware-server-distrib/lib/modules/source/vmnet.tar
Untarring /home/ivan/VMWare64/vmware-server-distrib/lib/modules/source/vsock.tar
Untarring /home/ivan/VMWare64/vmware-server-distrib/lib/modules/source/vmci.tar
Testing patch…
Applying patch…
Preparing new tar file for vmmon module
Preparing new tar file for vmnet module
Preparing new tar file for vsock module
Preparing new tar file for vmci module
Checking that the compiling will succeed…
Trying to compile vmmon module to see if it works
Performing make in /home/ivan/VMWare64/vmware-server-distrib/lib/modules/source/vmmon-only
Using 2.6.x kernel build system.
/home/ivan/VMWare64/vmware-server-distrib/lib/modules/source/vmmon-only/linux/hostif.c: In function ‘HostIF_APICInit’:
/home/ivan/VMWare64/vmware-server-distrib/lib/modules/source/vmmon-only/linux/hostif.c:2594: error: implicit declaration of function ‘__fix_to_virt’
/home/ivan/VMWare64/vmware-server-distrib/lib/modules/source/vmmon-only/linux/hostif.c:2594: error: ‘FIX_APIC_BASE’ undeclared (first use in this function)
/home/ivan/VMWare64/vmware-server-distrib/lib/modules/source/vmmon-only/linux/hostif.c:2594: error: (Each undeclared identifier is reported only once
/home/ivan/VMWare64/vmware-server-distrib/lib/modules/source/vmmon-only/linux/hostif.c:2594: error: for each function it appears in.)
/home/ivan/VMWare64/vmware-server-distrib/lib/modules/source/vmmon-only/linux/hostif.c: In function ‘HostIF_APIC_ID’:
/home/ivan/VMWare64/vmware-server-distrib/lib/modules/source/vmmon-only/linux/hostif.c:2639: error: ‘FIX_APIC_BASE’ undeclared (first use in this function)
make[2]: *** [/home/ivan/VMWare64/vmware-server-distrib/lib/modules/source/vmmon-only/linux/hostif.o] Ошибка 1
make[1]: *** [_module_/home/ivan/VMWare64/vmware-server-distrib/lib/modules/source/vmmon-only] Ошибка 2
make: *** [vmmon.ko] Ошибка 2
There is a problem compiling the vmmon module after it was patched.
When I run the same script on I386 with VMware-server-2.0.2-203138.i386.tar.gz all OK.
What must I do?
Radu said
on November 16th, 2009,
at 12:46 hours
@Peter: I think it has to do something with VMware’s instability on these newer kernels…
@Ivan: What Linux are you using? 32-bit or 64-bit?
padiyar83 said
on November 16th, 2009,
at 17:06 hours
thanks Radu that worked like a charm .. truly you are a super genius
Mark said
on November 16th, 2009,
at 21:48 hours
Worked like a charm! Thanks Radu!
Tom said
on November 16th, 2009,
at 21:52 hours
Great job on the script. It was very effective and saved me a lot of troubleshooting time. Thanks!
Ivan-s said
on November 17th, 2009,
at 06:13 hours
Hi, Radu!
> @Ivan: What Linux are you using? 32-bit or 64-bit?
I am using Debian-Lenny 64-bit for AMD
Radu said
on November 17th, 2009,
at 12:02 hours
Ivan, there must be something in the kernel that holds back that compilation to get done. And no, it’s not a kernel fault, it’s VMware’s fault… As you can see in the comments many people installed VMware x86_64 on x86_64 systems, but they had a 2.6.31 kernel… I am sorry I can’t help you!
Jason Miller said
on November 17th, 2009,
at 13:21 hours
Hi Radu,
The installation went well I think. I have a AMD64 and Ubuntu 9.10. I am new to VMware, please help me get it started. Do I enter an URL in Firefox? Then, can I install windows drivers for my digital camera on the virtual machine? Thanks, Jason.
Radu said
on November 17th, 2009,
at 14:01 hours
Jason, point your browser to http://localhost:8222. Log in, define your virtual machine (add an USB controller to it), install Windows, install VMware Tools in your virtual machine and then connect the camera to your physical machine.
Jason Miller said
on November 18th, 2009,
at 03:05 hours
Radu,
Thanks for your tips. It is not accepting my login name and password. I am using my email address for my VMware account and the password, but to no avail. Is there an admin or root login with password?
Also, how do I set up a Windows Guest on the server or do I need a physical cd of Windows with licence to install? Thanks again, Jason.
iteman said
on November 18th, 2009,
at 09:01 hours
Thanks!
Radu said
on November 18th, 2009,
at 12:41 hours
Jason, for the VMware Server’s admin user you should have used your OS user. You are asked somewhere in the installation procedure what user would you like to use as an administrator. To regain access to VMware Server you should follow the second set of instructions from this comment.
Regarding your other question, RTFM is the only technique that will get you started. The manuals are here. Basically, you need to read “VMware Server User’s Guide” and “Guest Operating System Installation Guide”.
daxm said
on November 19th, 2009,
at 04:18 hours
You rock!
Thank you for sharing!
Duke5A said
on November 19th, 2009,
at 06:46 hours
Just used your script to install Server 2.02 on a fresh install of Ubuntu 9.10. Worked like a charm. Thanks a lot!
meg said
on November 19th, 2009,
at 12:38 hours
Dear Radu,
tnx a lot!!!!
The script running “out of the box”.
You save my life today
Phil said
on November 19th, 2009,
at 13:38 hours
Hi,
Many thanks for your script!
It works fine for my Koala Karmic 9.10 with a 2.6.31-14-generic 32 bits kernel.
Phil
LiNuX NeWb said
on November 19th, 2009,
at 22:17 hours
Hey Radu,
Thank you for helping me w/the script earlier… Thing is, now I have the problem:
“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)? [no]”
When I chose “no” it said “execution aborted”
So does that mean that the install did not finish correctly? If it didn’t install properly, do I have to choose yes, and if I do, what do I need to make this work?
Thanks for your help in advance!
~LiNuX NeWb
Radu said
on November 20th, 2009,
at 00:55 hours
N00b, of course you have to build those modules… The patch that this script applies is for those modules… Don’t be frightened though if VSOCK won’t compile (known issue but it’s not a problem).
Keep me updated with your status after you rerun the script.
Cooper Lees said
on November 20th, 2009,
at 06:23 hours
Dam legend ! Thanks for sharing your hard work with this script – Appreciate it !
All installed fine for me (albeit with a LOT of warnings
)
Alan Secker said
on November 20th, 2009,
at 10:37 hours
I was having compile troubles on Mandriva 2010 x86_64 when a contributor to the Mandriva newsgroup (alt.os.linux.mandriva) claimed that he had run your (ubuntu) script successfully.
I tried it and it ran flawlessly. Unfortunately when I got into the web browser stage and asked to log on, my username and password were not recognised! It spoiled the whole effect.
So, the script should be broadcast across the whole Linux community. It clearly is a huge benefit.
Thank you so much for your efforts.
Radu said
on November 20th, 2009,
at 11:53 hours
Alan, to be able to log in in the web UI provide your user as administrator for VMware Server when you are asked about this in the install process.
Emanuele said
on November 20th, 2009,
at 16:07 hours
VMWare 2.0.1-64 works fine on Opensuse 11.2 with your patch.
Appreciated job
Thanks,
Emanuele
Antonio Calabrò said
on November 20th, 2009,
at 20:27 hours
Succesfully installed VMware server 2.0.2 64 bit on openSUSE 11.2 64 bit (of course!).
Thanks a lot for your script!
Antonio
Ubuntu Dude said
on November 20th, 2009,
at 20:34 hours
Thanks!!! There were still compile errors, but it worked.
Nick said
on November 20th, 2009,
at 23:50 hours
Legend! Works great. I previously had 9.10 linux with vmware and when this patch worked I was able to get the server up but it would not open the login window. In firefox I disabled the vmware plugin and it came up fine. THen when I opened the console window in vmware I reinstalled the plugin and then reenabled it. Works a treat! Thanks alot. Just hope I can get this gns3 lab running now grrrrr
Radu said
on November 20th, 2009,
at 23:52 hours
Nick, I must warn you that even if the install worked, the product isn’t pretty stable unfortunately. Bad coding sessions at VMware…
Jos said
on November 21st, 2009,
at 01:23 hours
Thanks, after a couple of turns I could install server as well, some of the vmware question are tricky. It says you don;t need to change settings and compile vmnet, but I could only install if I let it compile anyway.
It works, now I can start making vmware-images to redistribute it with a program.
Dalton said
on November 21st, 2009,
at 22:09 hours
Eu sou do Brasil.
Muito obrigado.
thank you.
meikelrix said
on November 22nd, 2009,
at 18:37 hours
Thanks a million times, Radu!!!
kindest regards
meikelrix
Niklas said
on November 23rd, 2009,
at 15:20 hours
the link to your script seems to be broken. Could you re-post it please, ie. as a gist on github.com – they can handle the traffic
Radu said
on November 23rd, 2009,
at 19:33 hours
Niklas, the script is on the same server as my blog, only in a different folder. The link works okay and my hosting provider really supports the traffic my blog creates. Therefore, I will not move my script on GitHUB since the patch is automatically downloaded by the script from the same folder.
Adrian said
on November 24th, 2009,
at 05:28 hours
Legend – thanks mate!
ironchefoklahoma said
on November 25th, 2009,
at 01:05 hours
Worked perfectly for me, too.
Thank you, Radu.
CharlyBrown said
on November 25th, 2009,
at 13:11 hours
thanks a lot working very well for me @Kernel 2.6.31-15 ubuntu koala karmic
kenjiru said
on November 25th, 2009,
at 13:15 hours
Thank you Radu, it works great.
Sober, Mio said
on November 25th, 2009,
at 19:16 hours
Thanks. Saved the day.
How to install VMware Server 2.0.x on Ubuntu 9.10 Karmic Koala | Konstantine's blog room said
on November 25th, 2009,
at 20:27 hours
[...] Original article: http://radu.cotescu.com/2009/10/30/how-to-install-vmware-server-2-0-x-on-ubuntu-9-10-karmic-koala/ [...]
Max said
on November 25th, 2009,
at 20:51 hours
thanks, I needed that. have a good day!
How To: Install VMware Server 2.0.x on Debian Lenny with 2.6.30-2 kernel said
on November 26th, 2009,
at 12:48 hours
[...] thanks go out to Radu Cotescu for his Ubuntu Karmic Koala script which I will use for this guide (with a few [...]
Netty said
on November 27th, 2009,
at 07:22 hours
Thanks Mate,
I just managed to get Vmware to compile on Fedora 12 with your script.
TIm Brownlaw said
on November 28th, 2009,
at 06:11 hours
Thanks a Ton!
After madly head scratching and inventing new words (not to be repeated) I found your site, implemented what you have provided without any troubles and Viola!
I have my VMware Server back up.
I came from Kubuntu 8.04 and wanted to try out the 9.xx distros with the latest VMware.
“It should just work” , shouldn’t it!
Thanks again Radu.
I can run my Windoze again which I only need to run some of the various Online Conferencing software I have to use. I’ve missed two classes which I hope my students won’t lynch me for.
Cheers
Tim
Matt said
on November 28th, 2009,
at 06:54 hours
Thanks for the work Radu! I got VMWare installed, but when I was in Windows setup (at the network config I think) it crashed, and Im getting the following error now:
The following VMware kernel modules have been found on your system that were
not installed by the VMware Installer. Please remove them then run this
installer again.
vmmon
vmci
vmnet
I.e. – ‘rm /lib/modules/2.6.31-15-generic/misc/.{o,ko}’
Any tips you can give me?
I’m in a temporary Ubuntu Black Hole | Tim's Wee Part of the World said
on November 28th, 2009,
at 08:00 hours
[...] Hard Drive (forgetting to partition my /var/usr separately). In the meantime I’d discovered how to install the latest version of VMware Server 2.0 on 9.10 After what seems a very long time. It worked straight out of the box – well for me it [...]
Radu said
on November 28th, 2009,
at 12:03 hours
@Matt: VMware Server on 9.10 seems to be a bit unstable. Follow exactly the instructions supplied by the script (remove the modules and do a reinstall).
Matt said
on November 29th, 2009,
at 05:20 hours
Thanks Radu, I didnt think it would be that simple. Your right about it being a bit unstable, I have to restart via /etc/init.d every so often but its not at all unusable.
Also – Thanks Holger for the mouse info.. the numlock kept flashing until I used your fix.
dexter said
on November 29th, 2009,
at 05:32 hours
It worked for me! Very nice script.
I’m running OpenSuse 11.2, Kernel 2.6.31-5
Thanks!
dave said
on November 29th, 2009,
at 10:54 hours
Thank you for this, it worked well, however, how do you uninstall vmware server.
Radu said
on November 29th, 2009,
at 13:17 hours
Check the latest three or four comments…
russ990 said
on November 29th, 2009,
at 18:26 hours
I just upgraded to 9.10 and this was a lifesaver, worked great! thank you!
thomas said
on November 29th, 2009,
at 21:17 hours
Gregor S said
on November 4th, 2009,
at 17:18 hours
Script works perfect.
I have another problem …vmware-hostd is crashing from time to time. This results in inaccessible Vmware Web Access on port 8333.
Does anyone have any idea about this problem (before I start googling)?
I am having the same problem any idea on how it can be resolved. I am using 64-bit could that be a reason.
Ken said
on November 30th, 2009,
at 22:07 hours
Hi,
I get the following.
me@myserver:~$ sudo sh ./vmware-server-2.0.x-kernel-2.6.31-14-install.sh /usr/src/vmware-server-distrib/
./vmware-server-2.0.x-kernel-2.6.31-14-install.sh: 64: Syntax error: word unexpected (expecting “)”)
this is a fresh install of both 9.10 + updates and vmware.
me@myserver:~$ uname -a
Linux wns-vh1 2.6.31-15-generic-pae #50-Ubuntu SMP Tue Nov 10 16:12:10 UTC 2009 i686 GNU/Linux
me@myserver:~$
VMWARE:VMware-server-2.0.2-203138.i386.tar.gz
Thanks,
ken
Radu said
on November 30th, 2009,
at 22:10 hours
Remove sh from your command… Read the instructions again and check that the folder you supply as argument contains the archive.
Ken said
on November 30th, 2009,
at 22:15 hours
here is the sh -x ..
me@myserver:~$ sudo sh -x ./vmware-server-2.0.x-kernel-2.6.31-14-install.sh
+ VMWARE_HOME=
+ PATCH=vmware-server-2.0.x_x64-modules-2.6.30.4-fix.patch
./vmware-server-2.0.x-kernel-2.6.31-14-install.sh: 64: Syntax error: word unexpected (expecting “)”)
me@myserver:~$
Radu said
on November 30th, 2009,
at 22:21 hours
Why don’t you follow the instructions?
The shell for which the script is written is BASH.
seabee said
on December 1st, 2009,
at 07:29 hours
Thank you ! It works on Ubuntu 9.10!
Linux vmsrv 2.6.31-15-generic-pae #50-Ubuntu SMP Tue Nov 10 16:12:10 UTC 2009 i686 GNU/Linux
Johny said
on December 1st, 2009,
at 15:49 hours
Radu rules!
i also had mouse problems on my laptop, but when accessing vmware from remote browser no problems were experienced. i solved the local issue by using ‘terminal services client’ – remote desktop instead of console window. it works perfectly.
nick said
on December 1st, 2009,
at 23:33 hours
hello
I installed VMware server 2.0.2 on an madriva pwp 2010.using
VMware-server-2.0.2-203138.x86_64.rpm but get errors when I run /usr/bin/vmware-config.pl.
I downloaded your script in my home directory How I use it ?thank you for your help
nick
Radu said
on December 2nd, 2009,
at 00:00 hours
Nick, read the instructions… Take care to have installed
gcc,make,patch, your kernel’s header files and I think that should be it. As my script is written for Ubuntu check to see that the Ubuntu specific instructions (package checking) don’t interfere with your system.Rachel said
on December 2nd, 2009,
at 04:14 hours
Hey, thanks so much! Worked like a charm.
Samir Mishra said
on December 2nd, 2009,
at 14:14 hours
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package patch is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package patch has no installation candidate
This is the error I get when I tried to install the patch using
sudo apt-get install patch
What should I do now?
Matt Flaherty said
on December 3rd, 2009,
at 01:26 hours
Hey. Just wanted to say thanks to you and the other contributors for this solution. It worked without modification on the latest opensuse version 11.2 with kernel 2.6.31.5-0.1. Probably wouldn’t have if I hadn’t already had the kernel headers and other dependencies installed as this distro doesn’t use “apt”, but that’s a very small matter. Thanks again.
Paul said
on December 3rd, 2009,
at 12:23 hours
This is brilliant – VMWare never seems to ‘play nice’ when upgrading Ubuntu for me but this is a lifesaver
Jami said
on December 3rd, 2009,
at 18:09 hours
Hey there.. i get the following output when running your script (it might be relevant that Im using OpenSUSE 11.2 as opposed to Ubuntu). Any idea whats going wrong?
You have VMware Server archive: VMware-server-2.0.2-203138.x86_64.tar.gz Downloading patch file... Installing linux-headers-2.6.31.5-0.1-desktop package... /home/jamie/bin/vmware-server-2.0.x-kernel-2.6.31-14-install.sh: line 84: apt-get: command not found Installing build-essential package... /home/jamie/bin/vmware-server-2.0.x-kernel-2.6.31-14-install.sh: line 90: apt-get: command not found Installing patch package... /home/jamie/bin/vmware-server-2.0.x-kernel-2.6.31-14-install.sh: line 96: apt-get: command not found Extracting the contents of VMware-server-2.0.2-203138.x86_64.tar.gz Checking patch download and archives from the extracted folders... Found .tar file for vmmon module Found .tar file for vmci module Found .tar file for vmnet module Found .tar file for vsock module Extracting .tar files in order to apply the patch... Untarring /home/jamie/bin/vmware-server-distrib/lib/modules/source/vmmon.tar Untarring /home/jamie/bin/vmware-server-distrib/lib/modules/source/vmci.tar Untarring /home/jamie/bin/vmware-server-distrib/lib/modules/source/vmnet.tar Untarring /home/jamie/bin/vmware-server-distrib/lib/modules/source/vsock.tar Testing patch... Applying patch... Preparing new tar file for vmmon module Preparing new tar file for vmci module Preparing new tar file for vmnet module Preparing new tar file for vsock module Checking that the compiling will succeed... Trying to compile vmmon module to see if it works Performing make in /home/jamie/bin/vmware-server-distrib/lib/modules/source/vmmon-only Using standalone build system. ./autoconf/geninclude.c:19:28: error: linux/autoconf.h: No such file or directory .././autoconf/geninclude.c:19:28: error: linux/autoconf.h: No such file or directory Dependencies for driver.c In file included from .././include/compat_version.h:35, from .././include/driver-config.h:36, from .././linux/driver.c:20: /usr/include/linux/version.h:2:2: error: #error "=======================================================" /usr/include/linux/version.h:3:2: error: #error "You should not include /usr/include/{linux,asm}/ header" /usr/include/linux/version.h:4:2: error: #error "files directly for the compilation of kernel modules." /usr/include/linux/version.h:5:2: error: #error "" /usr/include/linux/version.h:6:2: error: #error "glibc now uses kernel header files from a well-defined" /usr/include/linux/version.h:7:2: error: #error "working kernel version (as recommended by Linus Torvalds)" /usr/include/linux/version.h:8:2: error: #error "These files are glibc internal and may not match the" /usr/include/linux/version.h:9:2: error: #error "currently running kernel. They should only be" /usr/include/linux/version.h:10:2: error: #error "included via other system header files - user space" /usr/include/linux/version.h:11:2: error: #error "programs should not directly include or" /usr/include/linux/version.h:12:2: error: #error " as well." /usr/include/linux/version.h:13:2: error: #error "" /usr/include/linux/version.h:14:2: error: #error "To build kernel modules please do the following:" /usr/include/linux/version.h:15:2: error: #error "" /usr/include/linux/version.h:16:2: error: #error " o Have the kernel sources installed" /usr/include/linux/version.h:17:2: error: #error "" /usr/include/linux/version.h:18:2: error: #error " o Make sure that the symbolic link" /usr/include/linux/version.h:19:2: error: #error " /lib/modules/`uname -r`/build exists and points to" /usr/include/linux/version.h:20:2: error: #error " the matching kernel source directory" /usr/include/linux/version.h:21:2: error: #error "" /usr/include/linux/version.h:22:2: error: #error " o When compiling, make sure to use the following" /usr/include/linux/version.h:23:2: error: #error " compiler option to use the correct include files:" /usr/include/linux/version.h:24:2: error: #error "" /usr/include/linux/version.h:25:2: error: #error " -I/lib/modules/`uname -r`/build/include" /usr/include/linux/version.h:26:2: error: #error "" /usr/include/linux/version.h:27:2: error: #error " instead of" /usr/include/linux/version.h:28:2: error: #error "" /usr/include/linux/version.h:29:2: error: #error " -I/usr/include/linux" /usr/include/linux/version.h:30:2: error: #error "" /usr/include/linux/version.h:31:2: error: #error " Please adjust the Makefile accordingly." /usr/include/linux/version.h:32:2: error: #error "=======================================================" In file included from .././linux/driver.c:20: .././include/driver-config.h:42:5: error: #error "No Module support in this kernel. Please configure with CONFIG_MODULES" make[1]: *** [driver.d] Error 1 make: *** [deps] Error 2 There is a problem compiling the vmmon module after it was patched. :(Bradford said
on December 3rd, 2009,
at 18:54 hours
Thank you so much for posting this. It made things much easier for me.
hewhocutsdown said
on December 4th, 2009,
at 00:38 hours
I’m getting some curious errors; your script installed VMWare Server fine on a brand new Ubuntu Server 9.10 box, but I received the following errors when I try to start vmware and then when I respond to their instructions.
See the pastebin: http://pastebin.com/f551cfb18
d m said
on December 4th, 2009,
at 01:10 hours
worked pretty well – even on opensuse 11.2
thanx a lot…
Radu said
on December 4th, 2009,
at 01:26 hours
@Jami: Make sure you have the dependencies resolved. For Ubuntu the script takes care of them, but it will fail for OpenSUSE. Open the script and look for the lines with
apt-getand install the corresponding packages in your distro.@hewhocutsdown: Had you installed VMware Player before you installed VMware Server or did you try to install VMware Server before using my script? Clean those modules and every trace VMware left on your system and re-run my script.
hewhocutsdown said
on December 4th, 2009,
at 02:48 hours
I installed Ubuntu Server, then build-essential and OpenSSH, then VMWare Server. Nothing else.
I’ll clean those modules out and then I’ll try your script again tomorrow.
Superkikim said
on December 4th, 2009,
at 03:47 hours
Works like a charm. Thank you so much
Hannes said
on December 4th, 2009,
at 15:00 hours
Also works with current kernel:
2.6.31-15-generic
Thank you!
hewhocutsdown said
on December 4th, 2009,
at 18:13 hours
Reinstalling once didn’t fix it; the second time did. It worked for a while, and then I tried to stop it and the virtual ethernet failed to stop. Starting it throws the error:
VMware Server is installed, but it has not been (correctly) configured
for the running kernel. To (re-)configure it, invoke the
following command: /usr/bin/vmware-config.pl.
Running through this again sometimes fixes it, sometimes doesn’t. Retrying it eventually fixes it, and it works for a while, and then it fails again.
Reproduced on a 32-bit version of Ubuntu 9.10. I’m going to try and get ahold of VMWare on this one.
River Hume said
on December 4th, 2009,
at 22:45 hours
Hello,
I am having trouble with your script. Initially I was gettingt he following error:
…
You do have the patch package…
Checking patch download and archives from the extracted folders…
The download of vmware-server-2.0.x_x64-modules-2.6.30.4-fix.patch from http://codebin.cotescu.com/vmware/ failed!
Check your internet connection.
So I downloaded the patchfile manually, and then it seemed to progress further, though now I get the following:
…
Checking patch download and archives from the extracted folders…
Found .tar file for vmppuser module
Found .tar file for vmmon module
Found .tar file for vmnet module
Extracting .tar files in order to apply the patch…
Untarring /home/arcs/linux/vmware/vmware-server-distrib/lib/modules/source/vmppuser.tar
tar: vmppuser-only: Cannot mkdir: Permission denied
tar: vmppuser-only/Makefile: Cannot open: No such file or directory
…
tar: Exiting with failure status due to previous errors
vmppuser.tar tarball failed to extract in the directory vmppuser-only.
The directory I am in is writable, as is every subdirectory… I tried adding the directory myself, but it is difficult to infer where it should even go (I tried my 2 best guesses, and the error was unchanged).
Any suggestions? Thanks In Advance!
Radu said
on December 4th, 2009,
at 23:58 hours
River, give me the following data: your distribution, your kernel version, what VMware version have you tried to install and the way you tried to run my script.
The module you are experiencing errors with doesn’t exist in VMware Server 2.0.x.
River Hume said
on December 5th, 2009,
at 03:08 hours
Whoops, sorry I forgot to include that:
Kubuntu 9.10 karmic
2.6.31-15-generic
VMware-server-2.0.2-203138.i386.tar.gz
sudo ./vmware-server-2.0.x-kernel-2.6.31-14-install.sh
quachcuong said
on December 5th, 2009,
at 10:04 hours
thanks so much Radu. But i don’t know why my vmware only run in few minutes after install. Thus, it crash in next 5 minutes after, I don’t know why.
Radu said
on December 5th, 2009,
at 10:21 hours
@River: The module vmpuser doesn’t exist in the sense that VMware Server 2.0.x doesn’t have that
.tarfile in that folder… Try reinstalling using my script. I don’t know what went wrong but you don’t have to interfere with the script like providing the patch or something… Re-run it after you clean the workspace.@quachcuong: You experience that because VMware Server on the newer kernels is unstable. It seems that the latest builds of the server were made for kernel 2.6.27…
nick said
on December 5th, 2009,
at 17:51 hours
hello Radu thanks for help
‘my mesg on December 1st, 2009, at 23:33 hours)
gcc, make, patch are installed About “your kernel’s header ”
which pakages is?
linux-userspace-headers-2.6.31-1mnb2.x86_64, kernel-desktop-2.6.31.5-1mnb-1-1mnb2.x86_64, kernel-desktop-2.6.31.5-1mnb-1-1mnb2.x86_64, linux-userspace-headers-2.6.31-1mnb2.x86_64 are also installed
Si I undestood your script doesn’t work with mandriva
You can see entire mesg at
http://communities.vmware.com/thread/244921
but not
answe for the moment
i hope you will unsderstand , my english is “limit”
thanks
nick
Fubie said
on December 5th, 2009,
at 23:27 hours
Hi, I keep getting the following errors after running the script.
Radu said
on December 6th, 2009,
at 00:45 hours
Fubie, it seems that either you have run the script before but stopped it after applying the patch, either you have extracted the VMware Server’s archive and tried to apply the patch manually. If you would have run the script without having the extracted contents of the archive in that folder the following message would have also appeared:
If that message doesn’t appear it means that you have the folder
vmware-server-distribin that path, which means that in some way or another you have extracted VMware Server before. Probably by stopping my script from completion. Delete that folder and rerun the script if you are certain that VMware’s modules haven’t been pushed to your system.Garan said
on December 6th, 2009,
at 09:45 hours
Works on 2.6.31-16-server too.
MValdez said
on December 6th, 2009,
at 19:35 hours
It works in Slackware 13 (64 bits) with a custom 2.6.31.3 kernel… but I have to comment out the lines of the script regarding the requirements checking and the calls to dpkg or apt, as we don’t use those in Slack. (However, I have to compile PAM before installing VMware Server).
Thanks for sharing.
Have you tried to embed the patch in the script? That would be alot easier for people who don’t have a connection while installing.
Regards,
MV
Radu said
on December 6th, 2009,
at 19:39 hours
MValdez, adapt the script, if you want, for Slackware and publish it somewhere. But keep in mind that VMware is really unstable on the 2.6.31 kernels. How could one embed the patch in the script?
jebblue said
on December 6th, 2009,
at 21:45 hours
Nice work Radu! Worked on Ubuntu 9.10.
batibot said
on December 7th, 2009,
at 06:26 hours
Quick question. Why is the patch coming from your ftp site and not from vmware? Did you build it yourself?
Radu said
on December 7th, 2009,
at 09:32 hours
@Batibot: The patch was posted on VMware Communities site. But since I don’t know if they will change the URLs or not I decided to put it on my webserver. Do you have a problem downloading it or something?
MikeS said
on December 7th, 2009,
at 10:17 hours
Hi Radu,
Install went well but server did not start, manual start shows:
I’ve tried reinstalling, but the script fails when it tries to stop the server.
Any hints?
Many thank!
Mike
Radu said
on December 7th, 2009,
at 10:21 hours
VMware is pretty unstable on this kernel… To reinstall it first you have to uninstall VMware by using the supplied Perl script made by VMware:
sudo vmware-uninstall.plEnrico said
on December 7th, 2009,
at 18:41 hours
That’s a great script!! Thank you very much!!!!
Enrico
Mike said
on December 8th, 2009,
at 05:16 hours
Radu, Thank you very much for this tutorial. It worked like a charm. I was about to go back to a 32 bit version until I came across your site. Good Job!
Ubuntu 9.10 AMD64 | 2.6.31-16-generic
VM Ware Internet Connection - HEXUS.community discussion forums said
on December 8th, 2009,
at 09:36 hours
[...] Which VMWare product is this? Are you talking about VMWare Server? If so… have you had a look at this? Originally Posted by aidanjt A large root will do ok Please consider sponsoring me to run [...]
Jasen Hicks said
on December 9th, 2009,
at 01:57 hours
Great script. I tested this on Debian Lenny and with the exception of having to add a symbolic link for gcc, the script ran smoothly. Thanks.
Osis said
on December 9th, 2009,
at 10:37 hours
thanks for write-up, installed something, but not fully (that is perfect since i do not need vmware running). The weird bit is – vmware-server-console works only if started as root (sudo) else i get /usr/lib/vmware-server-console/bin/vmware-server-console: symbol lookup error: /usr/lib/gtk-2.0/i686-pc-linux-gnu/modules/libcanberra-gtk-module.so: undefined symbol: gtk_icon_view_get_type
quachcuong said
on December 9th, 2009,
at 11:53 hours
Thanks so much!!!
To Radu: may be my ubuntu server is not stable.
I will try it in my ubuntu desktop. I seem more stable than server.
Maybe, waiting for sometimes before vmware publish new kernel that modified.
I that time, your code is help me so much for my job. Thanks, my server cannot use 8.04 LTS, so i must to change 9.10.
quachcuong said
on December 9th, 2009,
at 11:57 hours
To Radu and many: How about dkms ???
peturberg said
on December 9th, 2009,
at 15:05 hours
Thanks, this script finally got the VMware server running for me.
Keep up the good work
Dexter said
on December 10th, 2009,
at 00:05 hours
Hi.. i had installed on opensuse 11.2 using this path but vm jut stoped to work. I did uninstalled vmware but now i can’t install again having this error:
…
make[4]: ** [/home/joaocarlos/Temp/vmware-server-distrib/lib/modules/source/vmci-only/linux/driver.o] Erro 1
make[3]: ** [_module_/home/joaocarlos/Temp/vmware-server-distrib/lib/modules/source/vmci-only] Erro 2
make[2]: ** [sub-make] Erro 2
make[1]: ** [all] Erro 2
make: ** [vmci.ko] Erro 2
I just reinstall all the required packages and got the same error. Any idea for what should i do?
uname -r gives me:
2.6.31.5-0.1-desktop
And i got:
linux-kernel-headers-2.6.31-3.4.noarch
gcc-c++-4.4-4.2.x86_64
automake-1.11-6.2.x86_64
kernel-source-2.6.31.5-0.1.1.noarch
gcc-4.4-4.2.x86_64
make-3.81-130.2.x86_64
installed on my system.
Radu said
on December 10th, 2009,
at 00:50 hours
Sorry, Dexter… I don’t have a clue about what’s happening on your system…
Thomas said
on December 11th, 2009,
at 20:43 hours
It seems the script needs “sudo apt-get install wget” before, otherwise it cannot download the patch and will stop asking to check the internet connection.
Radu said
on December 11th, 2009,
at 21:58 hours
wgetis installed by default. I can’t check for every command the script uses…Hell's Grannie said
on December 12th, 2009,
at 16:40 hours
Works like a charm. VMware Server 2.0.2 on Open Suse 11.2 – 64bit – kernel 2.6.31.5-0.
Make sure gcc, make, patch, kernel-source, linux-kernel-headers and kernel-desktop-devel are installed and you’re good to go.
Thanks again, Radu
manfred said
on December 14th, 2009,
at 23:10 hours
dear radu,
after updating to 9.10 I ve been really sad that AGAIN vmware did not survive the upgrade. (there has been the same problem with, I think 8.04 and I remember that I worked on the problem for days).
So as you saved me a lot of work and time and did it in such a professional way, I want to give to you my personal
UBUNTU COMMUNITY EXPERIENCE AWARD 2009
thank you for your well done work!!
regards
manfred
rodger spooncer said
on December 14th, 2009,
at 23:53 hours
I’ve tried and tried…. no success
ubuntu 9.10 with
/home/rodger/Desktop/VMware-server-2.0.1-156745.i386.tar.gz
rodger@linux-desktop:~/Desktop$ uname -r
2.6.31-17-generic
rodger@linux-desktop:~/Desktop$ sudo ./vmware-server-2.0.x-kernel-2.6.31-14-install.sh
sudo: ./vmware-server-2.0.x-kernel-2.6.31-14-install.sh: command not found
rodger@linux-desktop:~/Desktop$
Help please i’ve read your instructions but just mind gone blank after 6 hours of fruitless variations of script – i obviously have no idea of the basics. Can you explain in simple terms. Thanks Rodger
Radu said
on December 15th, 2009,
at 00:31 hours
It seems that either you have not made the script executable either you don’t have the script in the same folder in which you are trying to run it. Check these two suppositions and see what’s wrong.
Randy said
on December 15th, 2009,
at 07:01 hours
This worked PERFECTLY !!!!!!!!
Thank you soooooooo much.
Luke said
on December 15th, 2009,
at 13:48 hours
Hi Radu, I’m having problems getting VMWare Server 2.0.2 installed on ubuntu 9.10 server 64bit with kernel 2.6.31-14
I run your script and get the following output:
[long error message removed]
Can you help?
rodger spooncer said
on December 15th, 2009,
at 21:02 hours
Hi Radu. the archive file VMware-server-2.0.1-156745.i386.tar.gz is on my Desktop.
I ran the script sudo ./vmware-server-2.0.x-kernel-2.6.31-14-install.sh from ~/Desktop (in Terminal).
Dare I be so unknowledgeable and ask how do you make the script executable if this is needed ?? Sorry if I’m so dumb.
Thanks rodger
Radu said
on December 16th, 2009,
at 01:15 hours
@Luke: remove that trailing slash at the end… I don’t see any other problem…
@Rodger:
chmod +x vmware-server-2.0.x-kernel-2.6.31-14-install.shsandra said
on December 16th, 2009,
at 01:57 hours
Hey, Radu, is it possible to unsubscribe from comments?
Dave said
on December 16th, 2009,
at 06:34 hours
Thanks worked Great!!
Well, after I changed the default admin to a user instead of root. still not used to using sudo.
installed fine on ubuntu ultimate edition 64 bit 9.10
Thanks again.
Dave
Radu said
on December 16th, 2009,
at 12:37 hours
Yes Sandra… Under the comment form there is a link which will take you to the subscription manager. If you cannot do it yourself give me a sign (that would mean that something is wrong with my comment subscription manager).
Neo said
on December 16th, 2009,
at 23:40 hours
Nicely done Radu, that works really fine.
rodger spooncer said
on December 17th, 2009,
at 12:11 hours
Hi Radu,
This time the extraction and installation worked fine… to a point.
The installation completed but could you tell me where the launch exec file is located because in the pre install clean up the old launch button was removed from the toolbar.
I have tried /usr/bin/vmrun to no effect.
Regards Rodger
Radu said
on December 17th, 2009,
at 12:23 hours
Rodger, by default VMware Server is set to start when your system boots. If by any chance your server doesn’t start, try
To access the console go to http://localhost:8222.
rodger spooncer said
on December 17th, 2009,
at 12:53 hours
This is what I get in terminal.
Starting VMware services:
Virtual machine monitor failed
Virtual machine communication interface done
Virtual ethernet failed
Bridged networking on /dev/vmnet0 done
Host-only networking on /dev/vmnet1 (background) done
DHCP server on /dev/vmnet1 done
Host-only networking on /dev/vmnet8 (background) done
DHCP server on /dev/vmnet8 done
NAT service on /dev/vmnet8 failed
…but no indication that anything is running anywhere.
Rodger
rodger spooncer said
on December 17th, 2009,
at 13:04 hours
Hi Radu,
getting it bit by bit…..
localhost:8222
use root and password..
…but when I select power on for windows xp in the VMware screen it gets to 95% and then I get a display showing “power on virtual machine fails to complete”.
Rodger
Radu said
on December 17th, 2009,
at 14:33 hours
Check that you meet VMware Server’s system requirements. But if
vmmonis still down, you have no luck… VMware Server is unstable on this kernel anyway…rodger spooncer said
on December 17th, 2009,
at 18:19 hours
Hi Radu,
Thank you for your patience. I think I must have drawn the short straw trying to upgrade to 9.10. I no longer can use Skype and the sound with pulseaudio doesn’t work either. I will just have to acknowledge that I don’t have the skills to work from basic principles and wait till a version of ubuntu comes through that sort of works-out-of-the-box.
Looks like back to Windows for the moment.
Should have stayed with 9.04 !!
Best Regards
Rodger
Radu said
on December 17th, 2009,
at 18:22 hours
Go to 9.04. Don’t go back to Windows…
Luke said
on December 18th, 2009,
at 14:18 hours
Hi Radu,
I can’t see my output as it was removed but I assume you mean remove the trailing slash from the command like so:
support@ubuntu-vpn-1:~$ sudo ./vmware-server-2.0.x-kernel-2.6.31-14-install.sh /home/support
Is this what you’re saying? If so, it still does not work and I get the same errors.
Radu said
on December 18th, 2009,
at 15:07 hours
Luke, I don’t know what to say… Maybe the patch doesn’t work with the kernel you’re running (I still have your output in an email)… I am so sick of VMware issues. Sorry I can’t help.
Jim Fieser said
on December 18th, 2009,
at 19:34 hours
Bravo Radu!
Shuvam said
on December 19th, 2009,
at 09:00 hours
I think I found a good way to set the environment variable VMWARE_USE_SHIPPED_GTK once and for all, for an Ubuntu GNOME desktop user. You can do it once and it will remain effective across reboots or logouts.
Just create a file ~/.gnomerc and put the line in it:
export VMWARE_USE_SHIPPED_GTK=yes
You may need to make the file executable. Once this is done, the env var is visible to any application fired through the GNOME menus or from terminal command-prompt.
I’m now thinking of putting other commands, e.g. ssh-agent, into my .gnomerc.
Thanks, Radu, for the patch and script. It saved my life, like many others.
vinyloup said
on December 19th, 2009,
at 18:52 hours
Hello Radu,
I confirm that your script works – as is – on Mandriva 2010 (kernel 2.6.31.6-desktop-1mnb). I’ll try to fill up the time lost…
A thousand thank you from Grenoble (Fr).
Harry said
on December 20th, 2009,
at 16:32 hours
Hello Radu,
Many Thanks on u for this all! My Respect.
My distro is:
Linux harry-desktop 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:02:15 UTC 2009 x86_64 GNU/Linux
With each new kernel I need to recompile. This is well aware. Where can I get her the new patch?
Today when I wanted to start VMWare, it did not work. Then I thought that I must re-patch. But, I received the following message:
Can you help me please?
Adrian said
on December 20th, 2009,
at 19:49 hours
Well done that man!
Worked like a charm
Radu said
on December 20th, 2009,
at 20:37 hours
Harry, delete the extracted contents of the VMware archive (the
vmware-server-distribfolder), uninstall your existing VMware Server and reuse my script. But this seems a bit strange. From what I know, the server should detect the kernel changes and automatically recompile the modules.Harry said
on December 20th, 2009,
at 21:44 hours
Ok. Thank you. Now it running again. But, there are many lines that display errors. Look here:
[message removed]
This is only a part of very many lines. The server starts, but the messages worry me.
Often stands in the rows following warning:
warning: “__FreeBSD__” is not defined
I hope that you have an explanation. From the first use of the script, I had these messages also. And I had the problem that the keyboard and mouse in the virtual machine is not working properly.
Regards
Harry
Andre said
on December 20th, 2009,
at 22:40 hours
Thanks for the solution!
Radu said
on December 21st, 2009,
at 10:13 hours
@Harry: Please read my post again. I have written about these messages and also about the mouse and keyboard problems.
Henning Schmidt said
on December 21st, 2009,
at 12:31 hours
Thanks a lot, your script saved me lots of time!
matthew yong said
on December 21st, 2009,
at 15:19 hours
yay! finally one patch that works with Karmic Koala.
Jason Landstrom said
on December 21st, 2009,
at 22:19 hours
I ran this on Fedora 11 and it worked.
Thank you!!!!!!!!!!!!
Mehdi said
on December 22nd, 2009,
at 02:28 hours
Hello Radu,
executing ./start-VMware-console.sh I get this error:
…mozilla/firefox/cudadof8.default/extensions/VMwareVMRC@vmware.com/plugins/bin/vmware-vmrc: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
Could you tell me what the solution is?
I have still problems with my mouse in my win-guest!!!
Thanks,
Radu said
on December 22nd, 2009,
at 12:33 hours
It seems that your VMware Console plug-in hasn’t been installed okay. That library should be located in
~/.mozilla/firefox/cudadof8.default/extensions/VMwareVMRC@vmware.com/plugins/lib/libexpat.so.0/libexpat.so.0. If the library is there try checking the file permissions, otherwise remove the plug-in and reinstall it.sil said
on December 22nd, 2009,
at 18:51 hours
Cool thing! Thanks a lot!
Axeman said
on December 23rd, 2009,
at 13:20 hours
Thanks Dude.. worked like charm..
Thanks a lot.
Mary Christmas !!!
dave said
on December 23rd, 2009,
at 15:29 hours
In your script you have done some patches and obviously you have copied from vmware forums where are the credits for this
dave said
on December 23rd, 2009,
at 15:32 hours
I am talking about outside script i.e in your article if you hide this link in your script no one knows everone thinks you wrote your own but this is some one elses
Radu said
on December 23rd, 2009,
at 19:14 hours
Dave, read the post again. There is a link to the topic from VMware’s Communities where you can find the patch and the script on which my script is based on.
And of course, there’s the line in the script which presents the same URL from VMware’s Communities.
Do you have any other complaints? Oh, and on that specific topic you can find one of my posts where I thank Michele for his script that let me develop the one used by the whole Linux community (users of Ubuntu and derivatives, Fedora, Mandriva and OpenSUSE).
JoeBob said
on December 23rd, 2009,
at 19:44 hours
Many thanks. Works perfect on OpenSuse 11.2.
Now the real question is why a big outfit like VMWARE can’t whip something out for their users that’s as simple as this. For that matter as far as I know VMWARE has not even put out an official statement on the problem with the newer kernels.
Radu said
on December 23rd, 2009,
at 20:16 hours
There are many reasons here:
Last but not the least VMware Server’s purpose is to attract buyers for VMware vSphere or ESX…
Ubuntu 9.10 im Selbstversuch said
on December 25th, 2009,
at 20:22 hours
[...] http://radu.cotescu.com/2009/10/30/how-to-install-vmware-server-2-0-x-on-ubuntu-9-10-karmic-koala/ [...]
Boyd Lynn Gerber said
on December 27th, 2009,
at 01:00 hours
Warning very long post with all details
Thanks for your great worked. I only I was not so dumb from my current illness I could have figured out what i going wrong. VMWare Server has done exactly that moved people to VSphere or ESX. I have shown them how my system works and how they could use either product. I often demostrate to them using VMWare Server 2.0.2. On my system which I only do OSS work. Because VMWare was never had a problem I did not think I would have to do much.(Wrong) But thanks to your patches I was able to get it to build on openSUSE 11.2 and ran it. But I could not get it to see my vmware client images already on the system.. I removed every thing in .
rm /lib/modules/2.6.31.5-0.1-default/misc/*
and then tried it again. all I ever get now is a execution aborted with the message
…
vmblock
vmmemctl
vmci
vmxnet
vmhgfs
I.e. –
‘rm /lib/modules/2.6.31.5-0.1-default/misc/.{o,ko}’
Execution aborted.
The complete log of running the script to build VMWare 2..0.2 using your script is at
http://pastebin.com/m16573e91
I can now never get past the message ro remove the modules and run the script again but their i nothing there.
suse104:/root/# l /lib/modules/2.6.31.5-0.1-default/misc/
total 8
drwxr-xr-x 2 root root 4096 2009-12-24 15:44 ./
drwxr-xr-x 10 root root 4096 2009-12-26 14:37 ../
I am at a loss for what to try next. I guess openSUSE 11.2 just will not work with the free VMware Server 2.0.2.
i have tried for over a week to get it to work but I am at a loss as to what else to try.
suse104:/root/ # /usr/bin/vmware-config.pl
gives same message. I could understand this is there were something in the directory but there is nothing there. I even tried the old windows reboot and then on my open’SUSE 11.2 running as root
suse104:/vmware/build # /usr/bin/vmware-config.pl
with same old results. do you have any ideas?
suse104:/root/ # /usr/bin/vmware-config.pl
always thinks there spmething there. I have checked every module on my sytem and they all have nothing in them as well.
suse104:/vmware/build # l /lib/modules/
total 44
drwxr-xr-x 9 root root 4096 2009-12-24 15:51 ./
drwxr-xr-x 14 root root 12288 2009-12-22 23:02 ../
drwxr-xr-x 6 2.6.31.5-0.1-debug/
drwxr-xr-x 10 2.6.31.5-0.1-default/
drwxr-xr-x 8 2.6.31.5-0.1-desktop/
drwxr-xr-x 4 2.6.31.5-0.1-trace/
drwxr-xr-x 4 2.6.31.5-0.1-vanilla/
drwxr-xr-x 6 2.6.31.5-0.1-xen/
I really need to get this to work. any ideas?
Thanks,
Boyd Lynn Gerber
gerberb@zenez.com
Radu said
on December 27th, 2009,
at 14:38 hours
Try running
sudo vmware-uninstall.pland then reinstall VMware using my script. To see your old virtual machines, change the datastore from VMware’s web interface to the location where those files are stored.wakmo said
on December 29th, 2009,
at 19:29 hours
VMWare Server 2.0.2 on Ubuntu 9.10 often fails to start and often crashes.
Hi All,
I’m having a bit of an issue with “VMware Server 2 for Linux Operating Systems 64-bit version Version 2.0.2 | 203138 – 10/26/09″. I’m running Ubuntu 9.10 Karmic Koala with all updates as of this writing. Basically the Web Interface randomly crashes and doesn’t always restart upon system restart. I’m often forced to “sudo /etc/init.d/vmware restart”. Also, all of my Guest OSes crawl, even after updating VMWare Tools.
Thanks in advance.
Boyd Lynn Gerber said
on December 31st, 2009,
at 04:31 hours
Hi, I’m the one that always gets
Starting VMware Server original install script…
The following VMware kernel modules have been found on your system that were
not installed by the VMware Installer. Please remove them then run this
installer again.
vmblock
vmmemctl
vmci
vmxnet
vmhgfs
I.e. – ‘rm /lib/modules/2.6.31.5-0.1-default/misc/.{o,ko}’
Execution aborted.
Housekeeping…
Thank you for using the script!
Author: Radu Cotescu
http://radu.cotescu.com
I could not get or find the command on my system, so I gunzip’d the tfile tne
tar xfv VMware-server-2.0.2-203138.x86_64.tar.gz
cd intovmware-server-distrib and found the file you mentioned. I ran it and it said it removed all of VMWare.
But when I ran your script again it did everything and letft me with the above messages.
I even removed misc and it still gives me the message.
I really am at a loss on how to get past this error message.
Any other ideas?
volker mischi said
on December 31st, 2009,
at 22:17 hours
huge help!! Thank you very very much!!! -and a happy new year
Volker
oli said
on January 3rd, 2010,
at 03:12 hours
This worked fine in Fedora 11 using 2.6.30.8-64.fc11.i686.PAE as well.
Thank you very much.
James said
on January 3rd, 2010,
at 05:45 hours
Radu!!! Mad Thanks, I was able to get Vmware installed on Jaunty running 2.6.31.9. The trick is to completely remove all vmware traces.
Your Linux Guy .com » Blog Archive » VMware Server 2.0.2 on Opensuse 11.2 is a big pain in the…. said
on January 4th, 2010,
at 08:37 hours
[...] to this post from Radu Cotescu. Read up. Note that Radu’s post, problem, and fixes are all about Ubuntu. Do not [...]
Scott said
on January 4th, 2010,
at 15:39 hours
Upgraded to Ubuntu 9.10 then suddenyl couldn’t runj VMWare Server. You saved me! Thanks!
ov3rPlop said
on January 4th, 2010,
at 16:54 hours
It’s simply very very well, your script work’s immediately and has resolv all my problems. I thank you a lot.
Fr33dom said
on January 6th, 2010,
at 10:54 hours
after downloading vmware and the patch
chmod +x vmware-server-2.0.x-kernel-2.6.31-14-install.sh
sudo ./vmware-server-2.0.x-kernel-2.6.31-14-install.sh
i was asked which files i want to patch!
help?!
Radu said
on January 6th, 2010,
at 11:36 hours
Describe me what was your folder setup when you ran the script, please (where was the archive located, where was the script, etc.).
Dee said
on January 6th, 2010,
at 12:26 hours
Hi Radu,
I’m experiencing lot of warning messages during the script run:
I’m running Ubuntu 9.10 server 64bit,
>> dpkg-query -W -f=’${Status} ${Version}\n’ linux-headers-`uname -r`
install ok installed 2.6.31-14.48
Maybe running it on 64bit server is not a good idea.
fr33dom said
on January 6th, 2010,
at 12:37 hours
i had all files in home.
should i have specified the directory!? i dont know how to do that btw!
VMware-server-2.0.2-203138.i386.tar.gz and vmware-server-2.0.x-kernel-2.6.31-14-install.sh were both in file system\home\fr33dom
Radu said
on January 6th, 2010,
at 12:42 hours
@Dee: it’s normal to get those warnings. And yes, VMware is unstable on 2.6.31 kernels.
@fr33dom: please rerun the script (take care to delete the
vmware-server-distribfolder before that) and give me the output.fr33dom said
on January 6th, 2010,
at 13:25 hours
worked well got to step 6, i thank u much
then i cannot follow, as in i dont understand the whole step.
i know id rather have it automated as in option 2 than typing into the terminal, as i am not familiar with it just yet.
but i dont understand where this line goes!
Radu said
on January 6th, 2010,
at 13:55 hours
Search the web for environment variables in Ubuntu (Linux).
Dee said
on January 6th, 2010,
at 14:19 hours
Thank you for quick response. This is not only about warnings, VMWare is not running and when I try:
:~$ sudo /usr/bin/vmware-config.pl
I will get:
The following VMware kernel modules have been found on your system that were
not installed by the VMware Installer. Please remove them then run this
installer again.
vmmon
I.e. - 'rm /lib/modules/2.6.31-14-server/misc/.{o,ko}'
====
I did try to recompile that but only message that vmmon cannot be compiled:
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.31-14-server'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module.
Dee said
on January 6th, 2010,
at 14:35 hours
My apology… I do not know how, but I did repeat install process and it looks like working. Thanx for your help.
mootoh said
on January 7th, 2010,
at 09:05 hours
It works! Thanks a lot!
LinuxWarrior said
on January 7th, 2010,
at 11:39 hours
Trying to install it on Ubuntu 910 with Kernel 2.6.31-16-generic and got the following error message using your script
“there is a problem compiling the vmci module after it was pacthed”
Sources and Headers for this kernel has been installed.
Maybe your script does not works with Kernel 2.6.31.-16-generic ??
Radu said
on January 7th, 2010,
at 14:13 hours
I don’t know. I haven’t tested it on anything but 2.6.31-14 (the first kernel from 9.10) and as I said in many other comments I am still using 9.04. Though I had a 9.10 machine for testing.
hariks0 said
on January 7th, 2010,
at 20:19 hours
I did everything right. Now what? Where do I find the VMWare server in the applications? Or is it not yet installed? hould I search for a vmware*.blah ?
Please complete your guide upto the end.
Radu said
on January 7th, 2010,
at 20:31 hours
Hariks0, my post doesn’t replace the manual for VMware Server. The single purpose of the post is to help you automatically apply the patch to this product, therefore my post is complete and you can see that by the number of people who successfully handled the situation.
RTFM is the only technique that will get you started. The manuals are here. Basically, you need to read “VMware Server User’s Guide” and “Guest Operating System Installation Guide”.
Have fun and try to be more wise in the future! Especially when it comes to people helping you for free.
VMware Server 2.0.x on Ubuntu 9.10 « Temple of the Clouded Mind said
on January 8th, 2010,
at 17:17 hours
[...] Server 2.0.x on Ubuntu 9.10 All you need to know is here: http://radu.cotescu.com/2009/10/30/how-to-install-vmware-server-2-0-x-on-ubuntu-9-10-karmic-koala/. Works perfectly… much better than banging my head against the [...]
bcbc said
on January 9th, 2010,
at 02:56 hours
The script didn’t work on 2.6.31-16 for me, but worked like a charm on 2.6.31-17.
Thanks for your help!
Colin Barker said
on January 9th, 2010,
at 09:26 hours
Thanks for the script works well! — Got it working on Fedora 12, with Kernel version – 2.6.31.5-127 (32bit) and VMware Server 2.0.2-203138. It complained at the start cause Fedora doesn’t have APT-GET, but I think I already had all the required packages to get it working. — Although this was for Ubuntu, thank you again for sharing this!
Colin
blogfeuer said
on January 9th, 2010,
at 11:52 hours
Hello,
i upgrade to 2.6.32-17. After that, vmnet is not starting any more.
Do you have any ideas how to fix this?
If i reboot, select old 2.6.32-16 kernel, and remove the “not_configured” in /etc/vmware everything is working again..
Radu said
on January 9th, 2010,
at 12:53 hours
@bcbc – This is strange, as @blogfeur just above seems to have no problems with 2.6.31-16.
@Colin Barker: Colin, do you think you can adapt my script for RPM based distributions? Basically you would have to change those lines regarding
apt-getand probably the ones which containdpkg-query. Add yourself to the authors list and maybe we can create a script which should work without modification for at least three of the most widespread distributions: Ubuntu and all the Debian based ones, Fedora and OpenSUSE.@blogfeur: You can invoke
sudo vmware-config.pland it will recompile the patched modules. There is no need to rerun my script if you patched the server once.blogfeuer said
on January 9th, 2010,
at 19:53 hours
wow. cool. that did it. did the invoke sudo vmware-config.pl
did not know I had to do that after kernel update.
Gabor Hegedus said
on January 9th, 2010,
at 20:59 hours
Hello Radu,
I have Ubuntu 9.10 2.31.16 dual boot with Win XP on Acer Extensa 5620Z. I have upgraded from Ubuntu 8.04 & VMWare 1.0.6. Because of some mistakes I run some uninstall-install pairs with system upgrades between them. Now my situation is precisely the same as the one described by Rodger Spooncer (Dec 17 12:53 and 13:04), but at a former stage I could start Win in VM including sign in. It was slow and sent messages
msg.vmxaiomgr.retrycontabort.rudeunplug:Operation on file “/dev/sda” failed.
If the file resides on a remote file system, please make sure your network connection and the server where this disk resides are functioning properly. If the file resides on removable media, reattach the media.
Choose Retry to attempt the operation again.
Choose Abort to terminate this session.
Choose Continue to forward the error to the guest operating system.
By my hope it may help experts to find the reason of instability you mentioned answering to Rodger.
Thank you
Gabor
Boyd Lynn Gerber said
on January 9th, 2010,
at 22:04 hours
I have the start of adapting your script for openSUSE and SUSE systems. I had it working till the last kernel upgrade this week.. You can get it at
ftp://ftp.zenez.com/hidden-out/vmware-server-2.0.x-kernel-2.6.31-14-install-001.sh
The kernel version openSUSE 11.2 released is 2.6.31.8-0.1 with an other one in the works for some security fixes. SUSE/Novell back ports the securitiy fixes to the released verson. The release I have the script woking with was 2.6.31.5-0.1-desktop/ What I really wanted to run on this machine is the -default. That is what I am looking at working on over the week end as time permits. You may want to download from my machine your modified script. I am trying to make sure my patches to your script work with all openSUSE 11.2 types and SLES releases till VMWare releases a new version.
Boyd Lynn Gerber said
on January 9th, 2010,
at 22:36 hours
This is a very ruff script modifications. I have not added the read and question asking them if they have the required packages installed. Just you question made me think you maybe interested in what I am doing to your script. It would have had a modified by in it as well.
Fernando Ortiz said
on January 11th, 2010,
at 02:00 hours
Dude, you rock.. I thought I was out of luck with Karmic, until I saw your post..
Ramon de Carvalho Valle said
on January 11th, 2010,
at 06:06 hours
I released a patch for VMware Server 2.0.2 that properly adds support for newer versions of the Linux kernel:
http://risesecurity.org/2010/01/10/vmware-server-2-0-2-update-patch/
This patch addresses the problems mentioned above with newer versions of the Linux kernel. You will probably want to use it with your script.
Ravindran said
on January 11th, 2010,
at 13:08 hours
You rock!
Works with 2.6.31-17-generic-pae
Will try with 2.6.31-18-generic-pae and let you know.
mach7out said
on January 11th, 2010,
at 13:29 hours
well, all is good and well, my question is using the vmware to create a virtual machine. am using the web interface, i dont know if there is another, anyway, i dont want to create the machine in home dir, i want it on one of the other drives D: for instance.
how is that possible since when i attempt creating the vm it only shows me one dir called standard.
if i try to add a new datastore, i cant go past identifying the directory path which is supposed to be /dev/sda1 labeled wis.
help?
Radu said
on January 11th, 2010,
at 15:20 hours
@Boyd, thank you for indicating which packages are needed on OpenSUSE.
@Ramon: You give me a great news. Have you got the chance to test the patch thoroughly? Does
vmmonstop anymore? What aboutvsock? I will test your patch in the weekend on Ubuntu.@mach7out: are you new to Linux? If so, please learn the basics of the files and folders structure on *nix OS.
/dev/sda1represents the first hard disk partition of your first SATA/SCSI drive. To be able to create a new datastore go to the folder you choose on that partition’s mount point.Ramon de Carvalho Valle said
on January 11th, 2010,
at 17:29 hours
I tested the patch extensively on Ubuntu 9.10 and had no problems so far. I’ll work on the vsock module as time permits. Let me know if you have any problems with the patch.
PatricioD said
on January 13th, 2010,
at 05:10 hours
Excellent work..!!!
I try the script with Fedora Core 12 width kernel 2.6.31.9-174.fc12.i686 and it´s working..!!
Very good job..!!
Patricio
David said
on January 13th, 2010,
at 17:19 hours
Worked for me. ubuntu 9.10 kernel 2.6.31-17-generic. I had gone through the process about a month ago and it took several hours first to figure out what was going wrong and then to patch so that it worked reliably. I was so pleased to find you published a script that did it all.
Thanks!
Pocimus said
on January 13th, 2010,
at 20:12 hours
Lot of tanks
Rodger Spooncer said
on January 14th, 2010,
at 13:25 hours
Hi Radu,
9.10 Karmic Koala. I keep on trying (last exchanges with you mid December). I have revisited the sequence to re-configure VMware Server for a number of different kernels as they come along. The latest shows to be 2.6.31-18-generic. But the result is consistently the same.
I use sudo /usr/bin/vmware-config.pl. ok (removing modules if required and then re-run the config command).
I use sudo /etc/init.d/vmware start command. ok
I open Firefox and login at http:/localhost:8222/ui/#. ok
This opens VMware Infrastructure Web Access (root@localhost). ok
I select windows xp as my virtual machine and start /power on(green arrow). ok
At 95% the system freezes with message “Power on Virtual Machine failed to complete”.
I seem to be consistently so close but cannot get to 100% and run XP as a virtual machine.
Do you know why? If I can just get over this last hurdle…..
Regards
Rodger
Radu said
on January 14th, 2010,
at 13:33 hours
Yes. It’s unstable. But I have some good news: Ramon made a patch that he says will remove these issues. Since I haven’t had the time to take care of this, I have postponed testing and incorporating his patch into my script until the week-end.
amin said
on January 15th, 2010,
at 16:52 hours
hi, i have a problem installing with your script. although i ve internet connected and working fine it says :
root@people-laptop:~# ./vmware-server-2.0.x-kernel-2.6.31-14-install.sh VMware-server-2.0.2-203138.i386.tar.gz
You have VMware Server archive:
VMware-server-2.0.2-203138.i386.tar.gz
You do have the linux-headers-2.6.31-16-generic package…
You do have the build-essential package…
You do have the patch package…
Extracting the contents of VMware-server-2.0.2-203138.i386.tar.gz
tar: VMware-server-2.0.2-203138.i386.tar.gz/VMware-server-2.0.2-203138.i386.tar.gz: Cannot open: Not a directory
tar: Error is not recoverable: exiting now
gzip: stdin: unexpected end of file
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
Checking patch existence…
Downloading patch file…
VMware-server-2.0.2-203138.i386.tar.gz/vmware-server-2.0.x_x64-modules-2.6.30.4-fix.patch: Not a directory
The download of vmware-server-2.0.x_x64-modules-2.6.30.4-fix.patch from http://codebin.cotescu.com/vmware/ failed!
Check your internet connection.
Joe said
on January 15th, 2010,
at 23:53 hours
Thanks Radu! Very helpful; saved me hours of work trying to figure out what was going on with the default VMware Linux install instructions.
Boyd Lynn Gerber said
on January 16th, 2010,
at 00:49 hours
should have been just released kernels.
sudeep said
on January 16th, 2010,
at 11:36 hours
Thank You . This script works perfectly .
Keep it up !!!!
blogfeuer said
on January 16th, 2010,
at 13:35 hours
To tell you the truth now, I switched to Virtualbox OSE, that ist running much more smoothly than vmware server 2.0
~moi~ said
on January 17th, 2010,
at 00:58 hours
Thank you!!!
Boyd Lynn Gerber said
on January 17th, 2010,
at 03:19 hours
How can/may I get Ramon’s patch?
davolixx said
on January 17th, 2010,
at 03:55 hours
I managed to work on my suse 11.2 you helped me … now I upgraded my system to a new kernel 2.6.31.8, it appeared this error helps me.
davola@Suse-11-2:~> sudo ./vmware-server-2.0.x-kernel-2.6.31-14-install.sh
Senha:
You have VMware Server archive:
VMware-server-2.0.2-203138.i386.tar.gz
Downloading patch file…
Installing linux-headers-2.6.31.8-0.1-desktop package…
./vmware-server-2.0.x-kernel-2.6.31-14-install.sh: line 84: apt-get: comando não encontrado
Installing build-essential package…
./vmware-server-2.0.x-kernel-2.6.31-14-install.sh: line 90: apt-get: comando não encontrado
Installing patch package…
./vmware-server-2.0.x-kernel-2.6.31-14-install.sh: line 96: apt-get: comando não encontrado
Checking patch download and archives from the extracted folders…
Found .tar file for vmci module
Found .tar file for vsock module
Found .tar file for vmnet module
Found .tar file for vmmon module
Extracting .tar files in order to apply the patch…
Untarring /home/davola/vmware-server-distrib/lib/modules/source/vmci.tar
Untarring /home/davola/vmware-server-distrib/lib/modules/source/vsock.tar
Untarring /home/davola/vmware-server-distrib/lib/modules/source/vmnet.tar
Untarring /home/davola/vmware-server-distrib/lib/modules/source/vmmon.tar
Testing patch…
./vmware-server-2.0.x-kernel-2.6.31-14-install.sh: line 135: patch: comando não encontrado
The patch cannot be applied.
davola@Suse-11-2:~>
davolixx said
on January 17th, 2010,
at 05:23 hours
expiry resolved now also works in the kernel
davola @ Suse-11-2: ~> uname-a
Suse Linux-11-2 2.6.31.8-0.1-desktop # 1 PREEMPT SMP 2009-12-15 23:55:40 +0100 i686 athlon i386 GNU / Linux
muito obrigado Cadu..
Radu said
on January 17th, 2010,
at 12:53 hours
@davolixx: Install patch…
Boyd Lynn Gerber said
on January 17th, 2010,
at 20:54 hours
When I use Ramon’s patches I get
cd /vmware/build/vmware-server-distrib/
sudo ./vmware-install.pl
Unable to open kernel module dependency file.Execution aborted
sudo ./vmware-install.pl -d
Unable to open kernel module dependency file.Execution aborted.
All the different versions have a have a modules.dep. Below is the listing of all that is installed on my system for testing.
I think I am gettting the error is thd .pl script is getting confused by all the choices and not using using uname -r
ls -la /lib/modules/
total 64
drwxr-xr-x 3 root root 4096 2010-01-08 11:43 2.6.31.5-0.1-debug/
drwxr-xr-x 6 root root 4096 2010-01-08 12:36 2.6.31.5-0.1-default/
drwxr-xr-x 4 root root 4096 2010-01-08 12:37 2.6.31.5-0.1-desktop/
drwxr-xr-x 3 root root 4096 2010-01-08 11:42 2.6.31.5-0.1-xen/
drwxr-xr-x 6 root root 4096 2010-01-15 00:18 2.6.31.8-0.1-debug/
drwxr-xr-x 7 root root 4096 2010-01-17 04:15 2.6.31.8-0.1-default/
drwxr-xr-x 7 root root 4096 2010-01-15 00:15 2.6.31.8-0.1-desktop/
drwxr-xr-x 2 root root 4096 2010-01-08 12:37 2.6.31.8-0.1-pae/
drwxr-xr-x 4 root root 4096 2010-01-08 12:37 2.6.31.8-0.1-trace/
drwxr-xr-x 4 root root 4096 2010-01-08 12:34 2.6.31.8-0.1-vanilla/
drwxr-xr-x 6 root root 4096 2010-01-15 00:13 2.6.31.8-0.1-xen/
Any idea?
Radu said
on January 17th, 2010,
at 21:06 hours
Not a clue… I am really busy with exams right now and I still haven’t had the time to test Ramon’s patch…
pouria said
on January 18th, 2010,
at 00:14 hours
Thank you very much.
Excellent work!
everything worked following ur steps.
i connect to my ubuntu server using open ssh, and i installed everything remotely.
i still haven’t figure out how launch it remotely. even though i used ssh -X to connect. i get this when launching vmware;
vmware
Failed to launch VMware Web Access: unable to find a graphical web browser.
Radu said
on January 18th, 2010,
at 00:38 hours
Pouria, you can access VMware’s Server web console by going to https://your-servers-ip:8333.
Jerzy said
on January 18th, 2010,
at 09:34 hours
Hi
I am unable to run it!
tail of my log…
patrick said
on January 18th, 2010,
at 10:59 hours
Radu,
I get this after my attempt to install VMWare by using your script. Both files (script and VMWare tarball are in this directory, (~/opslag)
Can you point me out whats this error is about,
Thx in advance,
Patrick
Radu said
on January 18th, 2010,
at 12:20 hours
@Jerzy: It looks like you or something else deleted the
vmware-server-distribfolder or the Perl script which was supposed to be run wasn’t executable, in which case you should comment line 193 from the script and runvmware-install.plfrom /home/jerzyo/programs/vmware/vmware-server-distrib manually, after you have set it to be executable.@Patrick: Something seems to have gone wrong with your archive. Delete what has been extracted (
vmware-server-distrib) and rerun the script.Thomas Schukraft said
on January 18th, 2010,
at 12:34 hours
Very good description. But I have some problem after installing.
After installation VMWare 2.02 is running on my 9.10 Ubuntu. My 2 Windows VMs in Bridged Mode are starting and habe access to the internet.
If I reboot the machine the VMs start but have no access to Internet!
Then I have to stop the vms and restart vmware with
/etc/init.d/vmware restart
and if I then start the 2 vms everything is ok until the next reboot of the host system.
Any ideas???
Radu said
on January 18th, 2010,
at 12:37 hours
Thomas, VMware is unstable on these newer kernels. Ramon, one of the people who commented here on this post, said that he made a patch resolving the issues. Since I haven’t had the time to test it I haven’t used it in my script yet. The good news is that I have some time right now.
patrick said
on January 18th, 2010,
at 12:58 hours
Radu,
Done what your instructed,
Still some errors i can’t get away with. would be fine to help a little more.
Thankyou.
patrick said
on January 18th, 2010,
at 13:10 hours
Radu,
For your info,
I’m running 9.10
patrick@server1:~/opslag$ head /proc/version
Linux version 2.6.31-14-generic-pae (buildd@rothera) (gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8) ) #48-Ubuntu SMP Fri Oct 16 15:22:42 UTC 2009
Erro’s seems to be in this area
E: Kon pakket build-essential niet vinden (can’t find package build-essential)
and later on,
Performing make in /home/patrick/opslag/vmware-server-distrib/lib/modules/source/vsock-only
Using 2.6.x kernel build system.
make: cc: Command not found
/usr/src/linux-headers-2.6.31-14-generic-pae/scripts/gcc-version.sh: line 25: gcc: command not found
/usr/src/linux-headers-2.6.31-14-generic-pae/scripts/gcc-version.sh: line 26: gcc: command not found
/usr/src/linux-headers-2.6.31-14-generic-pae/arch/x86/Makefile:80: stack protector enabled but no compiler support
make[1]: gcc: Command not found
make[2]: gcc: Command not found
/bin/sh: gcc: not found
make[2]: *** [/home/patrick/opslag/vmware-server-distrib/lib/modules/source/vsock-only/linux/af_vsock.o] Error 127
make[1]: *** [_module_/home/patrick/opslag/vmware-server-distrib/lib/modules/source/vsock-only] Error 2
make: *** [vsock.ko] Error 2
There is a problem compiling the vsock module after it was patched.
patrick@server1:~/opslag$
Radu said
on January 18th, 2010,
at 13:17 hours
Install the
build-essentialpackage. It seems that the script cannot perform this operation and I don’t seem to figure it out why it doesn’t perform that. Maybe your cached packages are out of date. Perform an update and an upgrade and then rerun the script…Thomas Schukraft said
on January 18th, 2010,
at 13:22 hours
I have installed this patch some weeks ago:
wget http://communities.vmware.com/servlet/JiveServlet/download/1285430-24471/vmware-server.2.0.1_x64-modules-2.6.30-fix.patch
wget http://communities.vmware.com/servlet/JiveServlet/download/1285430-24471/vmware-server.2.0.1_x64-modules-2.6.30-fix.sh
Without this patch I could not install VMware Server 2.02 on Ubuntu 9.10.
Server itself is running without any more problems. My 2 Windows vms run since many, many days without reboot. No crashes aso. So I have no problems with the stability.
Only this necessary “restart” after a host reboot is annoying.
patrick said
on January 18th, 2010,
at 13:27 hours
Radu,
will do that tomorrow,
have to go now, thx so far and i guess it’s possible b’cause this testserver isn’t allowed for internet acces right now. So tomorrow it’s the first i will do.
Will be back then,
Patrick
Radu said
on January 18th, 2010,
at 13:32 hours
@Thomas: The patches are a bit different in the sense that the one I used in my script (which can also be found on VMware’s Communities) includes a section for the newer kernels. And yes, what you are experiencing is still called instability. I am guessing that either
vmmonorvmnetmodules have some problems. Anyway, I’ve started my test machine to see what Ramon’s patch is able to do… Keeping fingers crossed!How to install VMware Server on the 2.6.31 Linux kernel :: Ubuntu, Fedora, openSUSE | Radu Cotescu said
on January 19th, 2010,
at 01:21 hours
[...] Seeing the success I have encountered with the blog post about installing VMware Server on Ubuntu Karmic Koala and helped by Ramon de Carvalho Valle with a better patch regarding the installation of the [...]
amadib said
on January 19th, 2010,
at 06:30 hours
Does your script fix any of the problems associated with bridging over wlan? At this point I just want to manage my expectations before ripping vmware out and installing it again…
This Bridging issue is driving me mad…
I’m running ubuntu 9.10 (2.6.31) on an AMD Athlon 64 Duel Core Processor with VMware Server v2.0.2 installed. My wireless card is a USB Linksys WUSBGS54.
I am able to successfully bridge via eth0 and connect via NAT. Bridging over wlan is my problem.
I just tried this patch.
[commenter supplied a broken link]
Then patched to fix the vsock problem during installation. I don’t wanna keep messing around with all these patches.
At first I thought it was my VMs (moved over from my Windows machine), but I have been using a clean VM. I tried modifying the .vmx file. I have VMware Tools installed and even went as far as disabling my eth connections (I have two). It doesn’t seem to change anything. A static IP doesn’t show the VM receiving any traffic and setting to DHCP gives me the LIMITED OR NO CONNECTIVITY message with a local host only ip of 169.254.x.x.
It seems that this is a very common problem…
patrick said
on January 19th, 2010,
at 11:46 hours
Radu,
I’m afraid i’ll still have some probs, hope you can find some time to figure out what’s going wrong.
I did a full sudo apt-get update & upgrade, after that i removed the whole directory vmware-server-distrib and started the script again.
What followed is the following with error’s.
Regards, Patrick
[removed error messages since they were produced by user's lack of knowledge]
Radu said
on January 19th, 2010,
at 12:09 hours
@amadib:
vsockisn’t a necessity for the good operation of VMware. It’s what programmers might call a feature. The problem with bridging over wlan is something I have encountered on VirtualBox (albeit it was on a Windows host) and for what I’ve seen it’s a problem related to VirtualBox’s interfacing with it. The same thing might be happening to you, especially if you are using an USB adapter which yes, is working on your system for its purpose, but cannot be interfaced by the virtualization platform. If I am wrong, I would like to see some comments here in which people say that this happened to them using an integrated WiFi card.Regarding the script, the patch that Ramon made removed all the glitches from the three modules that worked before, but were not stable:
vmmon,vmciandvmnet.patrick said
on January 19th, 2010,
at 12:31 hours
I think i’m gonna give it up,
after the errors above i tried to start the install script (forgotten to mention in the manual above b.t.w. !)
as it is:
cd vmware-server-distrib
./vmware-install.pl
some got right (for a while !)
after that a lot more error’s were comming, and as i feel it is impossoble to show this without making this post a mess i have to give up. It’s a shame VMWare didn’t made this work as easy as it is on Windows, i’m not against some console work, but the error’s in Linux are so difficult to understand and hacking patches to try to make it work should’nt be needed.
I am very sad, because i now don’t know how to get VMWare working at Ubuntu server 9.10 (and it is a clean install !!!!)
errror’s i got after cd vmware-server-distrib
./vmware-install.pl are the following (just some of it, otherwise it’s to long)
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.31-14-generic-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic-pae’
CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config1/vmmon-only/linux/driver.c:31:
/tmp/vmware-config1/vmmon-only/./include/compat_wait.h:78: error: conflicting types for âpoll_initwaitâ
include/linux/poll.h:70: note: previous declaration of âpoll_initwaitâ was here
In file included from /tmp/vmware-config1/vmmon-only/./include/vmware.h:38,
from /tmp/vmware-config1/vmmon-only/linux/driver.c:99:
………………………………………………..
patrick said
on January 19th, 2010,
at 12:41 hours
Radu,
excuse me for what you noticed : [removed error messages since they were produced by user’s lack of knowledge, i’m sorry i am just a beginner.
I am sorry too for asking you solutions for your patch, i am aware it’s all to blame myself, so i request deletion for all my post and wish you all the best. I will search for some other solution.
Best regards,
Patrick
Radu said
on January 19th, 2010,
at 12:52 hours
Patrick, don’t let me burst your bubble. The idea was that you filled that comment with outputs for
lswhen you didn’t know how to remove files owned byrootusing your account. And that was your mistake, totally unrelated with my script or Ramon’s patch.I’ve also explained to you what you have to do and I will do it again: remove
vmware-server-distribandvmware-server-2.0.x_x64-modules-2.6.30.4-fix.patch, so that your folder will contain onlyVMware-server-2.0.2-203138.i386.tar.gzandvmware-server-2.0.x-kernel-2.6.31-14-install.sh. Also try to remove/etc/vmwareif it was created. All these should be made usingsudo rm -rf file_names_and_folder_names. Afterwards launch my script.Good luck! I am waiting for your victorious comment.
patrick said
on January 19th, 2010,
at 13:08 hours
Excuse me, i was understanding you wasn’t to happy to help newbies (as i can understand !)
But let’s see
Done ! (what you asked) after that i launched your script and the following happened…
(i post only the error’s in the list)
and the last part
I hope my posting it is better this way…
Radu said
on January 19th, 2010,
at 13:15 hours
@Patrick: remove the patch from the folder (you still haven’t done this) and please re-download my script. It looks like you have the old version. The do as usual (make it executable and run it).
patrick said
on January 19th, 2010,
at 13:17 hours
Then you said on your post
[quote]
On Ubuntu at least, the VSOCK module will not work (will fail to compile), giving you a hint that your kernel sources might not be the ones for your running kernel. This is not true, as the script takes care of this before doing the hard work. Anyway, VMware Server will work without it.[/quote]
So, oke. As i understand it’s now alright.
But (newbie as i am) i have to start the vmware configuration now by hand isn’t it ??
Because your script is stopped by that VSOCK problem and as such not being able to start the configuration by its self ?? (am i right ?)
So, do i have to do some like this now ?
(entering the subdirectory and start the install script by myself)
regards,
Patrick
Radu said
on January 19th, 2010,
at 13:19 hours
PLEASE do what I told you in the last comment. It’s the path to LIGHT!
You won’t have to do anything afterwards…
amadib said
on January 19th, 2010,
at 15:10 hours
Radu, thank you for your response, the constant monitoring of this thread, and hand holding.
Not stable is better than not working, so I decided to give your script a shot and have proceeded to remove vmware and try to install as mentioned above. However I’m getting an error attempting to execute the script. I have given the script permissions to execute and have tried the following, with and without the full path of the archive VMware-server-2.0.2-203138.x86_64.tar.gz
[removed error message]
Thoughts?
Radu said
on January 19th, 2010,
at 15:17 hours
Yeah, I forgot to write ‘then’ after an ‘if’ clause after I refactored the part regarding some openSUSE packages. Download the script again, please. Thank you very much for your feedback (lifesaver)!
amadib said
on January 19th, 2010,
at 16:27 hours
Radu, I was able to successfully install using your script, although that was never my issue – I also stop receiving the following warnings, but I don’t know if you suppressed them
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1313:7: warning: “_MSC_VER” is not defined
Regarding the vsock, there’s a fix that can be found here: http://ubuntuforums.org/showthread.php?t=975084&page=2 I did not attempt to use it in hopes of getting my issues resolved.
I am still having the networking issues with the bridged connection. I’m not sure if you incorporated any of the ‘fix’ elements into your script, from the any-any or others that exist. I’m not sure what my next step should be…..
Radu said
on January 19th, 2010,
at 16:36 hours
The solution you found works only on Ubuntu 9.04… And it has been adressed by me in a script tailored exactly for that. The problem you experience with your USB WiFi adapter is not going to be solved by using a patch but by incorporating its interfaces into VMware Server’s networking code.
amadib said
on January 19th, 2010,
at 17:06 hours
Have you seen this? Do you think it will work with my kernel (2.6.31)?
http://www.hauke-m.de/artikel/vm-ware-wlan-bugfix/
I’ve exhausted it seems, everything. How difficult is it to incorporate the interfaces into the VMware Server networking code? Does that contradict anything listed in the Mega Virtualization Form? http://ubuntuforums.org/showpost.php?p=6122142 Is it easier to buy a new Wireless Networking card = If so, which one? Thanks again for your help.
Radu said
on January 19th, 2010,
at 20:19 hours
Regarding the first link I don’t remember experiencing any problems on Ubuntu 9.04, using both VMware 2.0.1 and 2.0.2. Related to the second one, I’ve written an extensive article about virtualization in the latest Linux Identity Starter magazine which features the Ubuntu 9.10 family that not only explains all the networking modes, but teaches you how to create virtual machines and how to administer them on each of the five platforms I’ve decided to talk about: QEMU, KVM, VMware Server 2.0.x, VMware Player 3 and VirtualBox 3. I see no contradiction between the way a network adapter works and the way I or that post’s author have described this chapter. Some adapters work on virtualization platforms, others do not. I am sorry I cannot offer you an advice on this problem, although you could try VirtualBox from Sun, either the OSE version or the full one, as it is free for non-commercial use, even if you use it at work. At least you won’t have to patch anything.
patrick said
on January 20th, 2010,
at 13:10 hours
Radu,
Well, i am into the light now !!!
@Patrick: remove the patch from the folder (you still haven’t done this) and please re-download my script. It looks like you have the old version. The do as usual (make it executable and run it).
That what’s did it for me, during the whole process and all flashing warnings during the script i was a bit afraid, but finally it was continuing and i had my VMWare on my server.
Thx for your patience, help and insight.
Rgrds,
Patrick (i’ll have a lot to learn)
Gabor Hegedus said
on January 20th, 2010,
at 22:23 hours
Hello Radu,
The install of VMWare 2.0.2 was successful with your upgraded script in the environment I described January 9th, 2010, at 20:59 hours. Windows works in VM, but still has problems with disc. It is not stable, but I have some hopes to find the way of its use (upgrade virtual hardware v4?). Thank you and Ramon.
Gabor
Boyd Lynn Gerber said
on January 20th, 2010,
at 22:37 hours
my only nit ib your current script I woud use openSUSE/SLES instead. There are two totally diff product. openSUSE a community driver product and SUSE Linux Entreprise Server (SLES). So to avoid confuse of that it works on both products I woud use openSUSE/SLES instead of SUSE to make it clear your script works both products the commity version and on the commercial product.
Rodger Spooncer said
on January 21st, 2010,
at 10:17 hours
Hi Radu,
Update on my position after trying to follow your comments ,new script with Ramon patch etc on 9.10 Karmic Koala. I keep on trying recent exchanges with you last week). I have revisited the sequence to re-configure VMware Server for Ubuntu 9.10 kernel 2.6.31-18-generic. I have gone to VMware 2.0.2 and your new patch/script, but the result is consistently the same.
I install VMware 2.0.2 from .tar.gz package
I use sudo /usr/bin/vmware-config.pl. ok (removing modules if required and then re-run the config command). same as before
I use sudo /etc/init.d/vmware start command. ok same as before.
I open Firefox and login at http:/localhost:8222/ui/#. ok same as before
This opens VMware Infrastructure Web Access (root@localhost). ok same as before
I select windows xp as my virtual machine and start /power on(green arrow). ok same as before
At 95% the system freezes with message “Power on Virtual Machine failed to complete”. same as before
I seem to be consistently so close but cannot get to 100% and run XP as a virtual machine.
The instability continues. Any ideas? I still can’t get over this last hurdle…..
Regards
Rodger
Ramon de Carvalho Valle said
on January 21st, 2010,
at 15:17 hours
Rodger Spooncer: What distribution and kernel version you are using? Can you provide us the logs when trying to power on the virtual machine?
Radu said
on January 21st, 2010,
at 15:24 hours
Rodger, please email me an archive with the logs from the
/var/log/vmwarefolder. Please send me also the latest system log (/var/log/syslog) in order to see what goes wrong with your machine. Ramon told me he didn’t experience any problems and he tested the patch more thoroughly than I did this time.Bsoft said
on January 21st, 2010,
at 18:14 hours
Hi,
I hope not to have missed that one above so:
I made an upgrade to 9.10 today and tried to install vmware 2.0.2 (prev 201 on 9.04). Its a server only machine, no GUI.
Of couse the aptitude install linux-headers-`uname -r` build-essential xinetd is OK
I have installed, uninstalled, retried, manually removed and so on but i keep getting to :
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-17-generic’
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config2/vmnet-only’
Unable to make a vmnet module that can be loaded in the running kernel:
insmod: error inserting ‘/tmp/vmware-config2/vmnet.o’: -1 File exists
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel. You may want to
rebuild a kernel based on that directory, or specify another directory.
For more information on how to troubleshoot module-related problems, please
visit our Web site at “http://www.vmware.com/go/unsup-linux-products” and
“http://www.vmware.com/go/unsup-linux-tools”.
Execution aborted.
Any Idea ?
Radu said
on January 21st, 2010,
at 21:00 hours
@Bsoft: what’s the output of
uname -ron your machine? I had no problems on 2.6.31-17… Clean all traces of VMware (besides the archive and the script I made) from your system and retry to run the script. You can find folders created by VMware if you run these commands:Boyd Lynn Gerber said
on January 22nd, 2010,
at 00:56 hours
Here is a patch for my nit to your current scipt.
ftp://ftp.zenez.com/hidden-out/vmware-server-2.0.x-kernel-2.6.31-14-install.sh.patch
Boyd Lynn Gerber said
on January 22nd, 2010,
at 03:53 hours
I download the script today and have just had something that I have not seen happened before.
The later on during the install I see something very similar
Then the usual stuff. Any ideas on what has happened since it was working?
Thanks, I really appreciate your and others providing this great work to get VMWare Sever 2.0.2 running.
Radu said
on January 22nd, 2010,
at 11:14 hours
From what you posted it seems that you have KVM enabled in your kernel and that simply doesn’t work with VMware. Since it seems that you are using openSUSE, I cannot give you more advice related to your problem.
xcarol said
on January 22nd, 2010,
at 18:42 hours
Worked fine for me.
Thanks!
PatricioD said
on January 25th, 2010,
at 01:27 hours
I try the script with Fedora Core 12 width last kernel 2.6.31.12-174.fc12.i686 and it´s working..!!
Patricio
David Dennen said
on January 26th, 2010,
at 22:59 hours
Great job! I am so happy there is a script to automate this stuff. I build vmware server hosts with some frequency and I have been just doing the cut-paste scripting from my notes. I have replaced all that with your script and have made alterations to it to add my guest backup system to the host.
Thanks for saving me a lot of time.
It would, however, be nice if VMware would just fix their product so it works with us banging on their own install scripts. It also still doesn’t work on CentOS 5.4 because of the glibc issues with hostd.
Best,
David Dennen
Dorel said
on January 27th, 2010,
at 14:32 hours
Hi Radu!
I have: 2.6.31-14-generic-pae #48-Ubuntu SMP Fri Oct 16 15:22:42 UTC 2009 i686 GNU/Linux (on Intel 64bit, RAID10 (soft))
I’ve put VMWare server archive and your script in home directory of root user.
When i start the script I get:
What can it be? help, me , please …
Radu said
on January 27th, 2010,
at 14:42 hours
Dorel, it seems that you’ve edited the script on a Windows box. You can install
tofrodosand then issue this command:dos2unix vmware-server-2.0.x-kernel-2.6.31-14-install.shHope this works for you! In the future take care not to edit the scripts you want to run on *nix machines with DOS editors.
Martin Szydlowski said
on January 28th, 2010,
at 15:40 hours
Hi Radu,
First, thanks for the script & the patch, it works (almost) great.
Here’s one way to make it even better: I am not sure if it came up in the comments because I didn’t read them all, but there is already a simple patch for the vsock compile problem, available since the times of Ubuntu 8.10. It would be great if you could incorporate that patch as well. You can find it at https://bugs.launchpad.net/ubuntu/+source/vmware-server/+bug/294978
Another thing is the vmnet module in which I discovered two major problems that might be related to the patch since it messes around with device creation. I was wondering if you stumbled upon them yourself:
First, the vmnet module cannot be unloaded, so /etc/init.d/vmware reload always fails. Second, and even worse, the vmnetX devices on the host seem not to get configured properly, Instead of:
vmnet8 Link encap:Ethernet HWaddr 00:50:56:XX:XX:XX
they show up as:
vmnet8 Link encap:AMPR NET/ROM HWaddr (nothing)
so the kernel somehow believes they are amateur packet radio interfaces
The problem with that is that host-to-guest networking (either NAT or HostOnly) does not work, as the device on the host does not have a MAC address. Interestingly, guest-to-host connections do work, but only when using the .2 IP address (the address of the virtual gateway) as destination and guest-to-internet via NAT works fine as well. That indicates that the problem really lies in the part of the module that creates the virtual host interface.
Did you encounter this yourself or heard somewhere else about it?
greetz Martin
Radu said
on January 28th, 2010,
at 16:01 hours
It looks like that patch is the one used for the 8.10 and 9.04 releases. I will test it when I have the time and modify my script if it all works well with it. Regarding the other problems, I haven’t upgraded to 9.10. Probably the next release for me will be Lucid. Anyway, I’ve looked a bit into the patch and it does contain a section where devices are created but I am not sure if there’s a problem with the patch and the files it modifies or with other source files.
Dorel said
on January 29th, 2010,
at 17:06 hours
Radu!
Thank You very much!
Your advice and Your script was very helpful for me!
Doru said
on January 29th, 2010,
at 21:31 hours
Hello,
I run a Ubuntu 9.10 (2.6.31-16 Intel 32 bit, 2core) and I use vmware 2.0.2.
The patch is installed.
When I use an XP guest, 1 CPU, the system is “blocked”: the command “mount.ntfs” get 100% of one CPU and this for minutes (10 to 15 or +) the guest cannot be used.
If I use an Linux guest “mount.ntfs” work for a while at 100 % but not so long (10 to 30 seconds) and only at guest boot.
Do you have any idea?
Thanks!
Regards
Doru
Radu said
on January 29th, 2010,
at 22:42 hours
Doru, I cannot see the connection between an XP guest and
mount.ntfs. What are you trying to do?Volkan said
on January 31st, 2010,
at 01:04 hours
Thanks so much! Worked perfectly.
Snille said
on January 31st, 2010,
at 14:11 hours
Hi again, just wanted to let you know that your very nice script works on mini.iso OS (https://help.ubuntu.com/community/Installation/MinimalCD), at least on 9.10. Only installed build-essentials and linux-headers (and ssh server). So with that you basically get a VERY clean VMW-Host…
Thank you again!
cycleo said
on February 1st, 2010,
at 22:42 hours
THX for the scripts, but I cannot bring the web interface. Firefox can’t establish a connection to the server at 127.0.0.1:8333.
Radu said
on February 1st, 2010,
at 22:49 hours
Cycleo, that seems strange. Anyway, on port 8333 you must use https. To see what servers and daemons are listening on your machine issue this command in a terminal:
Check those three ports: 903, 8222 and 8333.
cycleo said
on February 2nd, 2010,
at 02:04 hours
cycleo@AMD-desktop:/usr/lib/vmware$ sudo netstat -tunlp
[sudo] password for cycleo:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:8333 0.0.0.0:* LISTEN 4507/vmware-authdla
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1312/cupsd
tcp6 0 0 127.0.0.1:8005 :::* LISTEN 4519/webAccess
tcp6 0 0 :::8009 :::* LISTEN 4519/webAccess
tcp6 0 0 :::8308 :::* LISTEN 4519/webAccess
tcp6 0 0 ::1:631 :::* LISTEN 1312/cupsd
udp 0 0 0.0.0.0:33697 0.0.0.0:* 730/avahi-daemon: r
udp 0 0 0.0.0.0:68 0.0.0.0:* 866/dhclient
udp 0 0 0.0.0.0:5353 0.0.0.0:* 730/avahi-daemon: r
Boyd Lynn Gerber said
on February 2nd, 2010,
at 19:03 hours
Well I have the web interface up, but it does not see any of the existig Virtual Machines. What Area would I look to figure-out why they do not find and load the existing machines? Some how the code does not allow or see the existing machines.
smithics said
on February 3rd, 2010,
at 15:34 hours
Hello Radu, I’ve been able to install VMware Server 2.0.2 on Fedora12 and on Ubuntu 9.10. But in both occasions there were a lot of (host and guest) crashes. It also occurred several times that after a successful install vmware wouldn’t start at all and come up with an instruction to run vmware-config.pl again. Would you say that VMware server on Fedora12 or Ubuntu 9.10 is a usable setup or would you advise against it. Thanks, Paul
Radu said
on February 3rd, 2010,
at 15:40 hours
I would be against all critical programs that need to be patched in order to work on different systems. Still, there are some enthusiasts that want to always run the latest releases of various software applications. It depends on which side you put yourself. I like my systems to be stable and predictable, therefore I haven’t upgraded to 9.10. I’ll probably change 9.04 (which I am running now) with 10.04, given the fact that Lucid will be a LTS release.
If you can handle all your virtualization needs with VirtualBox from Sun (which is free for personal use in its full version, but also has an OSE release which can be used anywhere, anyhow) I recommend switching to it.
Boyd Lynn Gerber said
on February 6th, 2010,
at 20:10 hours
Is there a way to get VirtualBox to run the VMWare Server images. I would like to move to it but each of my 12 VM Clients uses or has already allocated over 100 GB each on the drives. I can not afford to loose the data.. If I could get them running I could move them one at a time all data and stuff to a another drive and then rm the VM stuff for it and make a real VB instance if needed. I heard in one of the free node chat room people talking about how VMWare Server does not work or work well with the new linux kernels; which we have seen. Someone there mentioned that they were running the VM stuff with VM instead. Sadly the were just leaving and I have not been able to find him or someone that can explain what they did to use VB on the VMWare clients. Do you know?
derchris said
on February 6th, 2010,
at 23:35 hours
Hi,
very good How-to.
Shame that users need to patch in order to get it working on newer kernel versions.
Should be the job of VMware.
Anyway, I would like to know if you have a solution to get this running with Debian/Ubuntu Kernel 2.6.32 ?
The patch is working, until it tries to compile the vmmon module, where I can see these errors:
warning: “MSR_THERM2_CTL” redefined
As a result, the whole module will not compile.
Do you know if it is possible to get this running with my setup?
Thanks again,
Christian
Radu said
on February 7th, 2010,
at 17:01 hours
@Derchris: I don’t think that the current patch will work on 2.6.32.
@Boyd: VirtualBox should be able to open
.vmdkfiles created by VMware. Therefore you should try to recreate the same virtual machines’ configurations under VirtualBox and then attach the virtual hard disks created by VMware.derchris said
on February 7th, 2010,
at 17:39 hours
Thanks Radu for the quick reply.
Got it working now.
I had to add an additional include to the vmci and vmnet Module sources.
I would create a patch file for 2.6.32, but don’t know how to.
What I have is the .tar archive of all Modules, already patched.
If someone needs them, then I can upload them.
Radu said
on February 7th, 2010,
at 17:58 hours
I could manually add that library you included in the patch. It won’t affect the patching for the kernels before 2.6.32.
derchris said
on February 7th, 2010,
at 20:28 hours
That would be great.
On the other hand, you could also add Debian checks like you did for Ubuntu/SuSE/Fedora in the script.
Anyway, here are the files, and what to add:
vmci-only/linux/vmciKernelIf.c:
#include “compat_sched.h”
vmnet-only/vnetUserListener.c:
#include “compat_sched.h”
I haven’t written down all the changes I did, but I think that were the only 2 files which needed the additional include.
Thanks for your help,
Christian
amit mandal said
on February 11th, 2010,
at 09:11 hours
hello Radu,
thank you very much. Your script worked absolutely fine on Ubuntu 9.10, kernel version 2.6.31-19
Synthor said
on February 11th, 2010,
at 11:44 hours
Thank you very much for this patch.
Saved me a lot of time.
Neil said
on February 11th, 2010,
at 16:00 hours
Thank you, thank you thank you… install like a charm, once I followed to comment properly and choise a user to administer.
I do have one problem, I don’t think related directly to this script or Vmware-Server… but launching a vmGuest in vmware-server/vmware workstation 7 or V6 causes my whole computer to freeze, must power off pc to restore… can’t ping to host or anything. I have Kubuntu 9.10 64 an Intel E6500 with Virtualization which I just upgraded to wanting to take advantage of the VT support. I’ve not been able to log any kind or query at vmware.com as their forums seem to be cripled like their installation scripts and don’t allow (for me) to be able to post.
I’ve been searching all over, but havn’t found anything yet… any ideas anyone.
Thanks
Neil
ubuntu-convert said
on February 12th, 2010,
at 08:49 hours
Radu. Two words…thank you!
It always amazes me that there are wonderful people like you who just want to place/develop new things for the Linux world for all to soak up and share with other. You are a credit to all who have come here for help and guidance.
It may seem like I’m gushing or a friend of yours just trying to make you look good but I’m in Canada…I don’t know where you are but I am very grateful for this post. I got VMware server up and running (albeit with a few issues) and I owe it all to you. I hope this post gives you a bit of a boost because I believe in giving credit where it’s due. And you, my friend, deserve it. Job well done and I only hope to contribute to the Linux world in the same way.
Thank you again.
fire-fly said
on February 16th, 2010,
at 16:18 hours
Hi
I initially installed the rpm version and executing vmware-config.pl has an error. I remove it, and install the tar version using your script.
It give an error message.
I executed
modprobe -r -v vmxxxxand it returnsPlease help. Thanks in advance.
Radu said
on February 18th, 2010,
at 10:12 hours
@fire-fly: Try to remove those modules as indicated.
fire-fly said
on February 19th, 2010,
at 17:21 hours
Hi Radu
Thanks!
Found the problem, it was due to one or all of the packages below. After removing them vmware is running, yet to install guest os.
The packages were
open-vm-tools.i686 : VMware Guest OS Tools
open-vm-tools-devel.i686 : Development package for open-vm-tools
xorg-x11-drv-vmware.i686 : Xorg X11 vmware video driver
Maurizio said
on February 21st, 2010,
at 17:36 hours
Thank you! Worked pretty nice for me too
Wayne said
on February 21st, 2010,
at 18:19 hours
Thank you for this! Worked great!
Can said
on February 22nd, 2010,
at 10:26 hours
Hi,
I am always getting this error. I don’t know what I am missing. I have downloaded 2 times the server if it has a problem. But nothing changed.
Can you help me?
Radu said
on February 22nd, 2010,
at 10:43 hours
Remove those square brackets. They are a convention to indicate the use of optional parameters. If you run the script in the same folder where your VMware archive is you don’t need to supply parameters, otherwise you should supply the path to the archive, without including the archive in the path (
/home/phi/Desktop/vm).Can said
on February 22nd, 2010,
at 10:58 hours
Thanks for your quick answer.
It worked. But now I have another problem.
phi@phi-PC:~/Desktop/vm$ sudo ./vmware-server-2.0.x-kernel-2.6.3x-install.sh VMware-server-2.0.2-203138.i386.tar.gz
You have VMware Server archive:
VMware-server-2.0.2-203138.i386.tar.gz
Checking for needed packages on Ubuntu
You do have the wget package…
You do have the linux-headers-2.6.31-19-generic package…
You do have the build-essential package…
You do have the patch package…
Downloading patch file…
VMware-server-2.0.2-203138.i386.tar.gz/vmware-server-2.0.2-203138-update.patch: Not a directory
Extracting the contents of VMware-server-2.0.2-203138.i386.tar.gz
tar: VMware-server-2.0.2-203138.i386.tar.gz/VMware-server-2.0.2-203138.i386.tar.gz: Cannot open: Not a directory
tar: Error is not recoverable: exiting now
gzip: stdin: unexpected end of file
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
Checking patch download and archives from the extracted folders…
The download of vmware-server-2.0.2-203138-update.patch from http://codebin.cotescu.com/vmware/ failed!
Check your internet connection.
I have internet connection.
Radu said
on February 22nd, 2010,
at 11:15 hours
What have I just told you? “If you run the script in the same folder where your VMware archive is you don’t need to supply parameters…”
But if the script is in another folder than
/home/phi/Desktop/vmrun it like:Can said
on February 22nd, 2010,
at 12:37 hours
Again thanks for your quick answer and sorry for my missunderstanding of English. Again I have questions. Script worked. But like installing without your script I got the error:
Do you accept? (yes/no) y
Thank you.
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)? [no] n
For more information on how to troubleshoot module-related problems, please
visit our Web site at “http://www.vmware.com/go/unsup-linux-products” and
“http://www.vmware.com/go/unsup-linux-tools”.
Execution aborted.
I accept the aggrement and then press the Enter as NO not to build vmmon module.
There is nothing asking liscence key or server user. I am following the steps in this page but I am the new user of UBUNTU. When a problem appears, I have nothing except asking somebody expert.
Thanks…
aloysius said
on February 23rd, 2010,
at 10:09 hours
ok I got this far: For more information on how to troubleshoot module-related problems, please
visit our Web site at “http://www.vmware.com/go/unsup-linux-products” and
“http://www.vmware.com/go/unsup-linux-tools”.
Execution aborted.
so i followed these instructions:
But upon entering:
I got ERROR 404 not found.
Is there a way I can access the patch by this method?
tx1xt said
on February 23rd, 2010,
at 16:37 hours
Hi,
I try to install the vmware server with your script and always appear this error:
The directory of kernel headers (version 2.6.31.6) does not match your running
kernel (version 2.6.31-19-generic). Even if the module were to compile
successfully, it would not load into the running kernel.
I check the version with uname -r : 2.6.31-19-generic
and execute this other:
Downloaded vmware and your script in the same directory :
/home/jrafols/Escriptori. But always have the the same error. I checked from the net but I haven’t found any other way to solve this problem, I don’t know how to do so that both have the same version. I’ve installed vmware server in another computer with PCLOS without problem and now I’m trying to make it work with Ubuntu.I’ve installed, Samba, VirtualBox and SAP Gui and all the upgrades that the system found automatically.
Can you help me?
Thanks
Radu said
on February 24th, 2010,
at 00:56 hours
@aloysius: Download the script from the link in the posts. I think you’ve followed the instructions from other “blogs” that wanted to offer a solution by using direct links to my script (which proved to be so wrong of them). I’ve renamed the script this weekend to properly suggest its actions.
@tx1xt: The script should have installed the correct headers. If not (network or update errors) run this command (you haven’t written it correctly):
tx1xt said
on February 24th, 2010,
at 09:45 hours
Hi Radu,
I wrote it correctly before (is my first option that i found in the net
, I wrote (following your steps) and reinstall again. After execute it, appears:
linux-headers-2.6.31-19-generic ja es troba en la versió més recent. (is in the most newer version)
0 actualitzats, 0 nous a instal·lar, 0 a suprimir i 0 no actualitzats. (0 for upgrade, 0 for install, 0 for delete and 0 not upgrade)
After that, reinstall the script and still leaving the same error.
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.
The directory of kernel headers (version 2.6.31.6) does not match your running
kernel (version 2.6.31-19-generic). Even if the module were to compile
successfully, it would not load into the running kernel.
Thanks
Can said
on February 24th, 2010,
at 11:41 hours
Thanks you so much…
Radu said
on February 24th, 2010,
at 12:13 hours
@Can: Of course you have to compile those modules. Why would everybody else been craving for a patch to make it work?
Alvaro Gomes said
on February 25th, 2010,
at 02:04 hours
It seems that some people just cannot handle a very good install and sometimes got it mess up. I’ve been using this script for while and all seems to works fine. I would like to let a feedback about 64 bit system’s. Its worked very well.
Thanks for the script, it was very helpful. Its also saves me a lot of time!!
System: Ubuntu (64)
Kernel: 2.6.31-14
Also, I’ve been using Vmware Server for a while in a Debian Lenny, and as far as I know, this script its not really necessary. Maybe those whom tried just didn’t a good job setting up the system.
Cheers!
VMWare Server 2.0.2 on Ubuntu 9.10 | Luchita said
on February 26th, 2010,
at 01:23 hours
[...] the ‘g33k w17h p45510n’ at Radu Cotescu has provided a patch, and even better, an install script! I tried his script, and everything is fine in my virtual world. Installing two Xubuntu 9.10 [...]
Kiko Barretto said
on February 26th, 2010,
at 16:37 hours
I’m getting a:
There’s no Ambi.tar in such directory… Whats going on?
At the beginning it seems alright:
Thanks
Radu said
on February 26th, 2010,
at 22:15 hours
@Kiko: clean your workspace. Something might have appeared there.
aloysius said
on February 27th, 2010,
at 12:44 hours
thanks again but i have one problem i installed it between sleep and wake and somehow when i did run vmware i got a start up screen which requested a pass word
i cant remember ever setting up a pass word can you please advise me on this or how to get around it.
Invisiblade said
on February 28th, 2010,
at 10:48 hours
Thank You!
I hit enter on the license key, and I’m a novice. I don’t know how to enter the key.
Can some one point me in the right direction? Please and thank you.
Vijesh said
on February 28th, 2010,
at 20:39 hours
Thanks a lot Dude! I have been trying to set this up ever since I installed Fedora 12 (2 months).
I came across this article and it just took 5 mins to get the VMware server running!!!
Álvaro Gomes said
on March 1st, 2010,
at 17:17 hours
You must go to your WMWare Center Console at https://127.0.0.1:8333 and then “Application > Enter Serial Number”.
You must provide there the license key number that is informed when you do the registration to download the VMWare server.
Best Regards
Marvin Avilez said
on March 1st, 2010,
at 21:13 hours
It was the ONLY solution that worked for me. ubuntu 9.1 & VMserver 2.0.2 ……thanks and keep it coming!
Daniel Baulig said
on March 1st, 2010,
at 23:55 hours
Hi, I’m currently trying this but without success. I am on Debian Lenny, but running an variation of the 2.6.33 kernel. I hoped this patch will also work for 2.6.33
However, when I run the script it will fail with the following output:
Using standalone build system.
./autoconf/geninclude.c:19:28: error: linux/autoconf.h: No such file or directory
.././autoconf/geninclude.c:19:28: error: linux/autoconf.h: No such file or directory
Dependencies for driver.c
In file included from .././linux/driver.c:20:
.././include/driver-config.h:42:5: error: #error "No Module support in this kernel. Please configure with CONFIG_MODULES"
make[1]: *** [driver.d] Error 1
make: *** [deps] Error 2
There is a problem compiling the vmmon module after it was patched.
How can I fix this error? I don’t even actually know what’s going wrong to be honest.
Radu said
on March 2nd, 2010,
at 00:08 hours
Another kernel, another patch.
Kev King said
on March 2nd, 2010,
at 23:25 hours
Hi Radu
I am trying to follow your patch installer on Ubuntu9.10, but am getting the following error when running ./vmware-server-2.0.x-kernel-2.6.3x-install.sh
You have VMware Server archive: VMware-server-2.0.2-203138.x86_64.tar.gz Checking for needed packages on Ubuntu You do have the wget package... Installing linux-headers-2.6.32.2-xxxx-grs-ipv6-64 package... Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package linux-headers-2.6.32.2-xxxx-grs-ipv6-64 I am unable to install the before mentioned package... Please install the required package and rerun the script... Output of dpkg-query -W -f='${Status} ${Version}\n' linux-headers-`uname -r` = No packages found matching linux-headers-2.6.32.2-xxxx-grs-ipv6-64Have tried looking for kernel headers but without any luck, the only place I can find a kernel file is the bzImage I updated to from my server provider in /boot
Any ideas appreciated?
Ben said
on March 3rd, 2010,
at 16:54 hours
Hi Radu,
thank you for your fine script!
At the moment i’m experimenting with Ubuntu Server 9.1 and the new 2.6.33-020633-generic Kernel( I need the new adaptec 1405 driver, which is included) and also getting compilation errors. Is there a fix in sight?
Radu said
on March 3rd, 2010,
at 17:10 hours
@Kev: You are toast if you installed the kernel from other sources than the repos because the script is looking for stuff available there. If you can provide the kernel headers for the kernel you are running, then everything will be okay. But don’t ask me the place where you should look for them.
@Ben: I haven’t looked for a patch regarding the 2.6.33 kernel that I could integrate in the script.
Goshe.Moshe said
on March 4th, 2010,
at 01:10 hours
in 2.6.33 the autoconf.h and utsrelease.h are in include/generated,
(at least in my slackware64 are there)
but vm* modules are looking in include/linux
so i’ve created 2 symlinks in include/linux and now its working
Cliff S said
on March 4th, 2010,
at 05:04 hours
Thanks your script was the only way I could get vmware server 2.0.2 working on 32 bit ubuntu 9.10 with the 2.6.31-19 kernel
Thanks!
Ben said
on March 4th, 2010,
at 16:31 hours
@Goshe.Moshe: Thank you for your tip. After creating the symbolic links it works also with Ubuntu 9.1 and the 2.6.33-020633-generic Kernel. I have used VMWARE Server 2.0.2. It compiles with some warnings but seems to function, as far as I have tested now.
One Trap: The only thing is (at least on my system) is that the /usr/src/linux link to the 2.6.33 kernel sources was missing. But I’ve noticed that from the beginning.
@Radu: Maybe it’s worth trying to include in your script???
Andreas said
on March 8th, 2010,
at 17:49 hours
Failed to login through the VMWare web access.
The login does not accept my kerberos username/pwd
I installed using the script. And the only question that I did not accept default was for admin user. I chose my normal user (which is a kerberos user that is not a local user but on the company server).
When running vmware from commandline, it started a https commection in firefox, but i got no login box.
When i manually entered the url http://localhost:8222/ I did get a loginbox, but it just says: “Login failed due to a bad username or password.”
Any Ideas?
/Andreas
Radu said
on March 8th, 2010,
at 23:53 hours
Andreas, I’ve never used Kerberos users, therefore I’m afraid I cannot help you with this. But I think you can find the answer to your question in VMware Server’s manual.
Boyd Lynn Gerber said
on March 9th, 2010,
at 00:32 hours
My problem is the server says it starts but can not see any of my clients to load and start. When I tried to create a new instance I get a really strange error. I installed a brand new 1.5 TB drive /MNT4/ ext4 and set all old and hoped to create new cleints their. I have even tried a link from /MNT4/vmware/Virtual Machines to /usr/lib/vmware/Virtual Machines. Which worked on earlier versions of openSUSE 11.1. I have al tried to set it up to all different sizes of drives and VMWare Server Starts but never sees the clients or starts them even when their is no link just the direct /MNT1/vmware/Virtual Machines where every thing was working on openSUSE 11.1. openSUSE 11.2// 2.6.31 kernel does not see them and start them. I really am at a loss at how to get old and new instances to work. There are 8 of us with this problem. We are having to use 2.6.31.12-0.1-default We were running default on 11.1. I did get it to work using2.6.31.8-0.1-desktop, but I really need to use the default kernel. I am recovering from what the doctors think was like a stroke. So I am not really working well. I am to the state of speaking/writing but memory is a problem and my former computer skills are almost non existent.
raslog said
on March 9th, 2010,
at 16:07 hours
Dear Radu
i’ve got the following problem
[error message removed]
Opensuse 11.2 Linux athanase 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 i686 i686
i386 GNU/Linux
Any idea ?
Anonymous said
on March 10th, 2010,
at 03:24 hours
Thanks, script and patch worked well! Cool site too.
Radu said
on March 11th, 2010,
at 01:59 hours
@raslog: The error message was self explanatory. It told you to create some symbolic links and to modify the makefile accordingly. Also, if you have more problems on SuSE, please post your comments on the appropriate post.
Mario H. said
on March 11th, 2010,
at 13:57 hours
Radu, thank you very much, really great work.
The solution for the mouse problem, posted by Andreas ( November 1st, 2009) worked for me, too.
Cory said
on March 12th, 2010,
at 23:37 hours
You saved the day!
Vick said
on March 14th, 2010,
at 02:27 hours
Hi, i have the following problem:
The following VMware kernel modules have been found on your system that were
not installed by the VMware Installer. Please remove them then run this
installer again.
vmci
vmnet
vmmon
how can i do that??? thanks, Vick.
Ronny said
on March 14th, 2010,
at 09:10 hours
This is the perfect solution. but i can’t seem to run it. I’ve run it as root and sudo but I get this error
root@gateway:/home/ronny# ls
VMware-server-2.0.2-203138.i386.tar.gz vmware-server-distrib
vmware-server-2.0.x-kernel-2.6.3x-install.sh
root@gateway:/home/ronny# ./vmware-server-2.0.x-kernel-2.6.3x-install.sh
egrep: Unmatched ( or \(
There is no archive containing VMware Server in the pat
h you indicated!
as you can see, the .gz file is located in the same directory.
my ubuntu version is 9.10 i386.
I’m not a script programmer but I hope you can help me figure this out.
Thanks,
Ronny
Radu said
on March 15th, 2010,
at 10:47 hours
@Vick: You were given the instructions on how to remove those modules right under that message. Please search for the solution in the comments because I’ve already written it at least two times.
Radu said
on March 15th, 2010,
at 10:50 hours
@Ronny: Do not decompress the archive (remove that
vmware-server-distribfolder from there). Let the script do its job. Also, I hope you haven’t modified the script in some way because that egrep regular expression works okay.Ronny said
on March 15th, 2010,
at 19:36 hours
@Radu:
I removed the directory as you suggested. But the script still gives me the same problems as i described in my earlier post. Mind you, I am wondering if the script is conflicting with my prior attempts to install vmware “normally” prior to learning about the existance of your script. But I had uninstalled vmware using vmware-uninstall.pl.
I had not changed your script in any form or fashion. I downloaded your script using text-based browser Lynx.
here’s the output:
root@gateway:/home/ronny# rm -r vmware-server-distrib/
root@gateway:/home/ronny# ./vmware-server-2.0.x-kernel-2.6.3x-install.sh /home/ronny
egrep: Unmatched ( or \(
There is no archive containing VMware Server in the pat
h you indicated!
root@gateway:/home/ronny#
Radu said
on March 15th, 2010,
at 20:54 hours
Ronny, I’ve tested the script on my system both using
sudoand logging in as root and it works like advertised. I really don’t know what’s happening on your system but it’s something about that regex that’s used withegrep. Try downloading my script usingwgetor any other common used browser. And you’d better usesudoinstead of running things like root because it’s dangerous.Ronny said
on March 15th, 2010,
at 21:34 hours
Radu,
you’re right. it was my lynx text-based browser that was the problem. for some reason, it seems to have added come # that commented out some lines.
using your suggestion for wget, the script runs fine now.
email me if you ever want me to test your scripts.
The script is now running as I type this message.
Thanks,
Ronny Ko
kev said
on March 19th, 2010,
at 00:13 hours
Damn fine patch – worked first time.
InBonobo said
on March 22nd, 2010,
at 01:15 hours
I’m getting a segmentation fault.. Should I keep trying on 2.6.31-20 or should I just wait for the new Lucid Lynx to come out?
Multam fain
Matthias said
on March 22nd, 2010,
at 17:01 hours
Hi,
I get the following error message:
You have VMware Server archive: VMware-server-2.0.2-203138.x86_64.tar.gz Checking for needed packages on SUSE You do have the wget package... You do have the linux-kernel-headers package... You do have the kernel-source package... You do have the kernel-syms package... You do have the gcc package... You do have the patch package... You do have the make package... Downloading patch file... Extracting the contents of VMware-server-2.0.2-203138.x86_64.tar.gz Checking patch download and archives from the extracted folders... Found .tar file for vmnet module Found .tar file for vmmon module Found .tar file for vsock module Found .tar file for vmci module Extracting .tar files in order to apply the patch... Untarring ./vmware-server-distrib/lib/modules/source/vmnet.tar Untarring ./vmware-server-distrib/lib/modules/source/vmmon.tar Untarring ./vmware-server-distrib/lib/modules/source/vsock.tar Untarring ./vmware-server-distrib/lib/modules/source/vmci.tar Testing patch... Applying patch... Preparing new tar file for vmnet module Preparing new tar file for vmmon module Preparing new tar file for vsock module Preparing new tar file for vmci module Checking that the compiling will succeed... Trying to compile vmnet module to see if it works Performing make in ./vmware-server-distrib/lib/modules/source/vmnet-only There is a problem compiling the vmnet module after it was patched. :(I try it on OpenSuse 11.2 64bit (2.6.31.5-0.1-desktop).
Thanx, if you can help!
Regards
Matthias
Radu said
on March 22nd, 2010,
at 17:31 hours
@Matthias: Unfortunately I can’t help you with this because
makedidn’t return an error message. It seems it performed an exit with a code other than 0. If you want to see more output messages, edit line 299 and remove the-soption frommake.Radu said
on March 23rd, 2010,
at 01:59 hours
@InBonobo: There are at least three people using VMware Server installed with the help of my script on 2.6.31-20 (check the comments). I am currently looking too for a reliable virtualization solution. There might be something wrong with your compiler. Anyway, I am not sure what will happen with VMware’s code on the 2.6.32 kernel which is the one for Lucid.
JornR said
on March 24th, 2010,
at 03:03 hours
Great job on the script, big thanks! Trying to install this without your script is a major pain. I’m using this on Ubuntu Server 9.10, and would just like to add that you have to install apache2 for the VMWare web interface to work:
sudo apt-get install apache2
Radu said
on March 24th, 2010,
at 22:05 hours
How did you figure out that, Jorn? Apache has nothing to do with VMware Server. The web application is built on top of Apache Tomcat (JSP and servlets container), not Apache Web Server.
InBonobo said
on March 27th, 2010,
at 04:33 hours
I tried upgrading to Lucid just to see if I can get VMware to work. The upgrade went fine, and the VMware server install went alright with your script. However, running it ..
I posted my experience in the link under my name.
If I can’t get it to work, I might have to go with VirtualBox, even though I don’t really want to.
Lena said
on March 29th, 2010,
at 14:12 hours
Hi Radu! Thank you so much for this great script!
I have a problem that probably is unrelated to your script, but maybe you could help out.
After successfully running your script I get a blank page when accessing the webinterface via https://server-ip:8333.
The page’s source code says:
>VMware Infrastructure Web Access will not work unless your browser supports XMLHTTP
I am accessing the interface from Firefox 3.5.8 on a windows 7 machine.
VMware server 2.0.2-203138 is installed on an Ubuntu 2.6.31-19-server.
thanks in advance!
tobie said
on March 31st, 2010,
at 06:59 hours
hi radu,
first of all thanks for your wonderful guide mate. Really helpful.
I did finish installing VMware-server-2.0.2-203138.x86_64.tar on my Ubuntu 9.10 laptop. I check all the interfaces using sudo /etc/init.d/vmware status and all is working fine.
But i can not ping either way from host to guest (xp,vista,server 2003,ubuntu) or from guest to host. I did not encounter any errors during install. I check all my interfaces on my host but its up and running.
Please really need your help mate. My vmware server 2.0 is useless if i can’t get my host to communicate with my guest os. I read some comments on this site and to some other site, but no one seems to give some clue on how to fix that. And whats more disappointing is not all ubuntu 9.10 host users encounter this problem, only very few and me included. Most comments here says that their vmware server is working fine in their ubuntu9.10 host. I wonder whats wrong with my configuration. or is it a bug or something?
thanks mate!
Michele Masè said
on March 31st, 2010,
at 16:42 hours
This worked for me!
Radu said
on April 1st, 2010,
at 01:35 hours
@Tobie: What kind of network setup do you have? In case that’s NAT, you can’t connect to your guest from your host or the other way around.
Ramon de Carvalho Valle said
on April 1st, 2010,
at 15:48 hours
A temporary workaround for the NAT network connection problem is to use the address x.x.x.2 to communicate to the host machine (i. e. if your NAT network is 192.168.2.0/24, your host machine will be available with the address 192.168.2.2).
tobie said
on April 1st, 2010,
at 19:10 hours
hi radu, thanks for the reply.
Well, for my network i already tried all the possible setup, i tested vmnet0 (bridged to my eth0), i setup hostonly (vmnet1 to vmnet6) and the NAT (vmnet8) but still i can not ping either from my host (ubuntu 9.10) and to my guest (xp) and vice versa. I disable the firewall on my guest, i have no iptables configured on my host but still can not ping.
And for additional info mate, my network setup work perfectly in my other desktop with xp host on it. I can play with it as much as i like. Im currently studying for ccnp and ubuntu is becoming famous for better performance in gns3/vmware setup so i tried using it on my laptop, but again i am not able to communicate all the VMs(tried vista, xp and server 2003) and my host (ubuntu).
And another thing mate, all my guest OS can recieved dhcp address from the host (using bridge, hostonly or nat setup),
ex. guest OS: xp (Hostonly) “firewall disabled on xp”
ipaddr (dhcp from vmnet1): 192.168.20.128 /24
host: ubuntu (9.10)
vmnet1 ip addr: 192.168.20.1 /24
but if i ping from my guest (xp 192.168.20.128) to my host (ubuntu 192.168.20.1) i don’t recved any reply (timeout)
and vice versa, from host to my guest.
And here’s another funny thing, I tried using ubuntu 8.10 as my host OS, and guess what mate?!! the ping went through!!! yes, my network setup work perfectly just like my setup in my other xp desktop.
now, you may ask me, if it works on ubuntu 8.10, then why not just use 8.10? actually thats what im doing right now, i format my laptop and install ubuntu 8.10 as my host. and all is well.
BUT why is it that most of the people here are saying that 9.10 are working on vmware server 2.0.2?? i can’t believed im the only one who’s left behind..
what do you think on my case mate? is it still a bug on vmware or maybe the hardware specs of my laptop?
I still want to use 9.10 though.. so your help is very much appreciated.
thanks!
Ramon de Carvalho Valle said
on April 2nd, 2010,
at 06:38 hours
I released a new patch which brings some improvements, adds support for newer versions of the Linux kernel and fixes all aforementioned problems. The new patch is available here.
khabaal said
on April 6th, 2010,
at 13:26 hours
for those who are havong trouble with their mouse inside a windows virtual machine. start your browser (ir firefox) with the following command:
export VMWARE_USE_SHIPPED_GTK=yes
firefox https://127.0.0.1:8333/ui/#
Turk said
on April 12th, 2010,
at 06:03 hours
Wow it actually worked – Thanks heaps. I’ve spent the last few hours trying who knows how many different solutions, glad to finally have it sorted. Thanks again
tonyfire said
on April 21st, 2010,
at 11:44 hours
Amazing tutorial and great patch. I’ve tested on ubuntu karmic koala and this works pretty. Thanks a lot.
Stefan said
on April 26th, 2010,
at 13:10 hours
Worked perfectly!!!
Good job! Thumbs up!
vmware-server 2.0.2 : Ubuntu 9.10/64-bit
…I must repeat:
Well done!!!
Norman said
on May 4th, 2010,
at 18:04 hours
Worked perfectly.
I’ve just run your script on Ubuntu 10.04/32bit over an existing installation of vmware-server 2.0.2 that stopped working when I upgraded Ubuntu from 9.10 to 10.04
Thanks for your effort Radu, much appreciated.
dan said
on May 4th, 2010,
at 20:15 hours
Hey Radu,
So I’m a complete newbie. I’m trying to install VMWare 2.0.1 on Ubuntu 9.10. So I’ve downloaded the files “VMware-server-2.0.1-156745.x86_64.tar.gz” and your script “vmware-server-2.0.x-kernel-2.6.3x-install.sh” and then ran the commands
So you see I get an error. Any idea on how to go ahead?
Radu said
on May 4th, 2010,
at 21:15 hours
@dan; It looks like you edited the script at some point. The script from my repo has no errors.
Pete said
on May 5th, 2010,
at 21:49 hours
Hi, I downloaded your script and run as per instruction and I get the same error:
I’ve installed Ubuntu 10.04 LTS with 2.6.32-21-generic
Any advice?
Thanks a lot
Radu said
on May 5th, 2010,
at 22:33 hours
Firstly you run it wrong. If you have the archive in the same folder as the script there is no need to supply the archive as a parameter. Secondly the script has no errors (I’ve tested it again by downloading from GitHUB right before writing this). What you encountered seems to be a syntax error resulted by incorrectly quoting a string or command (“” or “). Are you sure you haven’t edited the script?
Pete said
on May 5th, 2010,
at 23:02 hours
Hi,
I am sure that I haven’t edited the script. I downloaded it and changed chmod +x. I tried to run the script without parameters, it results with the same error.
But let it be. I’ve already installed vmware server without your script and it seems to work.
Thanks for your time.
Dan said
on May 7th, 2010,
at 05:29 hours
I had the same error, brand new install on 10.04, downloaded VMware-server-2.0.2-203138.x86_64.tar.gz downloaded your patch ,ran chmod and executed with no params and got the error
lab@TestLab:~/Downloads$ sudo ./vmware-server-2.0.x-kernel-2.6.3x-install.sh
./vmware-server-2.0.x-kernel-2.6.3x-install.sh: 3: Syntax error: Unterminated quoted string
lab@TestLab:~/Downloads$
Radu said
on May 7th, 2010,
at 09:55 hours
Dan, please describe me the full process (starting with how you downloaded the script). I am trying to reproduce this for 2 days now and it works okay on my machine. Also, can you please give me the contents of your Downloads folder?
dan said
on May 7th, 2010,
at 20:51 hours
Response to @dan; It looks like you edited the script at some point. The script from my repo has no errors.
Hey Radu, thanks a lot for this massively useful page, I did get the server installed finally, the original problem was this, and you’ve almost guessed it in your last post, the download of your script was not complete. I don’t know how, but the first time I downloaded your script, I got only one file “vmware-server-2.0.x-kernel-2.6.3x-install.sh” and not the zip folder “raducotescu-vmware-server-linux-2.6.3x-kernel-592e882.tar.gz” with the five files. The second time I tried it worked. So, maybe that’s the problem others are having here.
Radu said
on May 7th, 2010,
at 23:37 hours
I am glad you sorted it all out because it was becoming frustrating. I’ve worked a bit to handle those rewrites to point you to the tarballs on my GitHub account since I’ve moved my blog and it was a pity if all of that was in vain.
Igor said
on May 8th, 2010,
at 11:01 hours
Hi!
I successfully installed vmware server 2 on ubuntu 9.10 server using your script, and all is working fine until I need to restart vmware service. Every time I need to restart the service I get the error that vmware wasn’t configured for my kernel. After I run config script again, everything is working fine again. But it’s frustrating to run it again and again every time I restart the service.
Can you help me on this?
Radu said
on May 8th, 2010,
at 14:16 hours
Only the guys from VMware can help us by writing better code. You must know though that they don’t give a 5h1t on this free product because Workstation works okay. My suggestion would be to switch to VirtualBox and use VBoxTool to run it headless. It does wonders!
Naseer Ahmad said
on May 10th, 2010,
at 12:46 hours
thank you for such a neat and clear instructions…
Jens said
on May 10th, 2010,
at 19:39 hours
Hello,
your script worked great, however I didn’t enter a user (as the default was ‘no’). Now I tried to follow your instructions from above, but I’m not able to remove the modules with this command. Every time I run
vmware-config.plit tells me:what am I doing wrong??
thanks + regards
Jens
Radu said
on May 10th, 2010,
at 20:04 hours
Simple. Issue this:
And the run
vmware-config.pland pay attention when it asks you about the user.Jens said
on May 10th, 2010,
at 22:16 hours
Hi Radu,
your script is great and your support amazing! thanks a lot
FErArg said
on May 11th, 2010,
at 09:31 hours
Great help! Thanks a lot!
Ed Patrocinio said
on May 11th, 2010,
at 16:05 hours
Thank you for providing this fix. You’re awesome!
Gerry said
on May 13th, 2010,
at 22:12 hours
On those script errors above, I got the same error after a right-click “save link as” in firefox. Checking, found I had a gz file with an .sh suffix. Next time, I just left-clicked in firefox and it prompted to save as a .gz. Your archive came down fine and all worked after. Firefox 3.0.19 and 3.6.3 both did this. You might check your html href.
Radu said
on May 13th, 2010,
at 22:21 hours
@Gerry: Using right click – “save link as” works fine for me. I am using FF 3.6.3. I don’t know what’s going wrong for the ones who reported to have problems.
Gerry said
on May 13th, 2010,
at 22:30 hours
Ahh..depends on the page. Check your link on this page (which does work) against the one on https://help.ubuntu.com/community/VMware/Server which has the problem. I had used the community page and only just compared the link to the one above here.
Gerry said
on May 14th, 2010,
at 23:37 hours
Oh my! Your stuff worked fine, but not firefox 3.6 and vmware server 2. The old session ticket timeout is back. Unfortunately, there are at least 1/2 dozen causes for this one error. Most solutions now are by moving to firefox 3.5.7 in Ubuntu Lucid. Since you’re using ff 3.6.3, have you found a solution to launching a guest terminal from the web vmware console?
kriebel said
on May 15th, 2010,
at 21:23 hours
Works great! Thank you very much!
LinuxWarrior said
on May 17th, 2010,
at 14:32 hours
Hi All
I have tested the script on the following Ubuntu versions
9.10 32 Bit
9.10 64 Bit
10.04 32 Bit
10.04 64 Bit
and it works perfect.
Many Thanks
Greez from Germany
LinuxWarrior
Truster said
on May 18th, 2010,
at 23:46 hours
Hi All,
This Script makse VMware working on my Ubuntu 10.04 Server, but i have some Problems:
init.d Script won’t work very well.
/etc/init.d/vmware stop seems to shut down the server, but in real: Nothing Happens: VMs still running (should make a clean Shutdown), the Web Server is still running, etc.
i tried to search fo two Days, but find no useful information.
can someone help me out?
Radu said
on May 18th, 2010,
at 23:49 hours
Ask the guys at VMware to write better code.
Marcos Vinicius Pereira said
on May 20th, 2010,
at 03:23 hours
It was difficult to find a solution to install vmware. I got problems when compiling the vmmon module, but with this script the installation finally worked. Now I’m going to test vmware.
Robin said
on May 22nd, 2010,
at 00:22 hours
WOW ! Thank you… excellent, just completed your instructions 100% on Ubuntu 10.04 x64 running in a MS Hyper-V VM.
Awesome!!!!
Joshua said
on May 23rd, 2010,
at 22:13 hours
Thanks so much. Installed on Ubuntu 10.4.
madhu said
on May 25th, 2010,
at 13:35 hours
Thanks .. for the script update…
after upgrading my ubuntu from 9.10 to 10. my vmware got crashed.. and completely messed up..
by using u r script it worked like charm..
keep updating…
stb said
on May 28th, 2010,
at 11:08 hours
Thanks a lot, worked on first try!
Roberto said
on May 29th, 2010,
at 13:55 hours
Dear Radu,
we installed Ubuntu 9.10 64 bit with vmware server 2.0.2.
Thank you for your script.
Everything works fine… but we too have had the issue with web UI or web management interface: it stops working.
Services are running and connecting to 8333 with VMware Infrastructure Client 2.5 (the one from ESX 3.5) does work.
It is really tomcat that have some issues.
We removed and reinstalled vmware and webui started.
With the webUI started, we left it there just open, we went to have a coffee and when back the web management interface was not able to refresh… service was gone bad.
Really bad issue.
We tried made the modification described by jalung in the post #9 in this thread:
http://communities.vmware.com/message/1098804#1098804
more or less what you say above: hal daemon hald
but it doesn’t work. It faked to work, but it does not.
Some moths later, do you have any fix on this issue?
Thank you
Roberto
Roberto said
on May 29th, 2010,
at 17:15 hours
IMPORTANT UPDATE on my previous message.
MODIFICATIONS TO FIX VMWARE SERVER WEB MANAGEMENT ARE WORKING !!!
Please note that on ubuntu, the modifications descripted in the link above must be adapted to ubuntu to start the two daemons.
After that modification some secondary issues are coming and they all are caused by the different windows browsers (we are connecting from windows)
If connecting to vmware UI from Explorer 8, you may have to set the Compatibility Visualization.
From firefox some clear the cache is needed.
I wanna tell you one story.
Strange but true: we edited the hosts windows file to add our vmware-1 and vmware-2 servers.
Well: pointing firefox to https://vmware-1:8333 does not open the UI, while ponting to vmware-1 tcp ip address, it does.
You may think it is due to some mistypings in the hosts file… no it isn’t because repeating the test with Explorer 8 the vmware web management shows the login box in both cases (!?!?!??!!! O_o?!!?)
Anyway, now vmware server for linux web management interface works, but beware because issues are coming from browsers too.
Looks like that with Explorer 8 it is more simple to connect.
Note that on another pc we do have an old Explorer 6 and during testings it does seem it is easier much more.
Last but not least:
PRO: when connected, the vmware user interface works without interruptions
CON: sometime looks like vmware web management gooes to sleep, some refreshes in the browser makes the login page to appear again correctly (done with explorer)
Hope this can help, we lost days on this issue.
Ciao
Roberto
http://www.fastec.eu
Dan said
on May 30th, 2010,
at 03:58 hours
Thanks! You saved me hours. Up and running on Ubuntu 10.04.
rolnikov said
on May 31st, 2010,
at 12:06 hours
Patch works with 2.6.34 kernel also!
Big Thanks radu!
l'uomino said
on June 1st, 2010,
at 23:57 hours
Just upgraded to 10.04 (kernel is 2.6.32-22-generic), had vmware-server 2.0.2 working in 9.10. Tried to rerun vmware-config.pl and got “‘TASK_INTERRUPTIBLE’ undeclared” in two places during the compilation of vnetUserListener.c. (TASK_INTERRUPTIBLE is declared in linux/sched.c, IIRC.)
Tried your solution with fresh install, and got same errors. (Unpacking and patching apparently worked without errors, but vmware-config.pl bombed out in the same place.)
Any help would be much appreciated! I really need to get this vm running again!
Jan Johansson said
on June 2nd, 2010,
at 12:13 hours
Sorry, but I also cannot download the script. It comes across as a tar.gz-file which I’ve tried renaming/unpacking/etc
Same on IE8 and FF 3.6.3 on Win7 and on wget from ubuntu 10.04
Left click / right-click-save as makes no difference.
Lolotux said
on June 2nd, 2010,
at 16:06 hours
No comment!!!!!!!!!
Radu said
on June 2nd, 2010,
at 16:34 hours
@Jan: The script together with the patches are served from GitHub in a
tar.gzarchive. There’s nothing wrong with the link or with the file provided.@Lolotux: Before bashing around, check what your
$USERvariable returns, e.g.:Gerry said
on June 2nd, 2010,
at 22:18 hours
Well, your script worked in Lucid 10.04, for as much as it could do. But, after several years using Vmware Server (and Workstation before that), the Firefox plugin issue and support dropping next year is making this too much of a hassle. So, for a development system, I took your other advice. Everything’s now running fine under VirtualBox, with less work and few issues. Seems a little slower, but far more dependable, and their Lucid build just works and all my old Vmware VMDK guests are now running. Thanks for your help and advice.
ALIZANT said
on June 7th, 2010,
at 12:59 hours
Many thanks for the script : it works well with VMware Server v2.0.2-203138 i386 for linux on a Ubuntu Linux 10.04 Lucid Lynx desktop with a kernel 2.6.32-22 .
Chris said
on June 7th, 2010,
at 23:22 hours
Flawless! Thanks
carlos said
on June 8th, 2010,
at 04:48 hours
THANKSSSSS!!!! you safe my life!!! Saludos desde argentina!!! hello from argentina!!!
luis bonilla said
on June 9th, 2010,
at 01:16 hours
hi i have an error when i try to run script
Unable to make a vmnet module that can be loaded in the running kernel:
insmod: error inserting ‘/tmp/vmware-config4/vmnet.o’: -1 File exists
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel. You may want to
rebuild a kernel based on that directory, or specify another directory.
Radu said
on June 9th, 2010,
at 13:38 hours
It’s something about your kernel, not the script. Try to see if the kernel you are running matches the headers package you have installed. Though the script should have done this for you…
Robert said
on June 9th, 2010,
at 15:45 hours
Anybody tested the performances of the windows server editions?
Configurations either with just and only 1 VM guest.
I’m experiencing poor performances with windows 2008 SBS Premium
Expecially with network speed.
Thank you for any reply
R.
Girish Sharma said
on June 10th, 2010,
at 15:53 hours
I run your script in my home pc 32 bit Ubuntu 10.04 LTS, it worked perfectly, no error and in the last i got “Enjoy Team…” message. But here i am having 2 issues:
1.I forgot to add vmserver administrator user. The script which was run by “girish” user. How do i add “girish” user as vmserver administrator?
2.When installation completed; in firefox browser i said :http://localhost:8222/ it asked me user name; which i forgot to add as per point no.1.
3.When i restarted the machine and again http://localhost:8222; firefox did’nt bring me login page, while it said page can’nt be displayed; something error.
Please help me to resolve the issue; so that i may install windows xp as guest OS.
Best Regards
Girish Sharma
Lucas said
on June 10th, 2010,
at 16:36 hours
Thanks a lot! Worked great on a fresh Ubuntu Server 10.04 install.
Just a comment: Had to run VMware web console on IE though. Only gives a blank screen on login page on Firefox. (Issue has nothing to do with the script or install).
Radu said
on June 10th, 2010,
at 17:03 hours
@Girish: The solution is in the comments.
Socrates said
on June 10th, 2010,
at 18:31 hours
Script works fine on Ubuntu 10.4 (upgrade from 9.10), my vmware server 2.0.2 works grate but i have one problem:
i add second NIC and i need to configure vmware server to bridge guest mashine NIC to new NIC on host
but when i run command:
sudo vmware-config.pl
i get error and sugestion to remove one of two kernel modules (i have 1.21 and 1.22)
how to resolve this ?
Please help
Girish Sharma said
on June 11th, 2010,
at 07:14 hours
Yes, now it worked and i got “The configuration of VMware Server 2.0.2 build-203138 for Linux for this running kernel completed successfully.” I checked in firefox with http://localhost:8222/ login page came, i give username “girish” and password and it showed me first page. All fine.
But, when i restarted the machine and again in firefox http://localhost:8222/ firefox not bringing me login page; while it is saying :
Unable to connect
Firefox can’t establish a connection to the server at localhost:8222.
* The site could be temporarily unavailable or too busy. Try again in a few moments.
* If you are unable to load any pages, check your computer’s network connection.
* If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.
Radu, i think here issue, is when i restarts the machine, vmnet1 and vmnet8 are not coming in ifconfig command; as it was showing before shutting down.
How to resolve this. Please help me.
Thanks and Regards
Girish Sharma
mitch said
on June 12th, 2010,
at 12:03 hours
Downloaded the script and after making it executable I get this error when running.
sudo ./vmware-server-2.0.x-kernel-2.6.3x-install.sh
./vmware-server-2.0.x-kernel-2.6.3x-install.sh: 3: Syntax error: Unterminated quoted string
kernel 2.6.31-14-generic
9.10
Thanks
Radu said
on June 12th, 2010,
at 23:36 hours
It looks like you have edited the script. The version in the repository is flawless.
thilips said
on June 19th, 2010,
at 15:37 hours
Just one more geek giving you kudos and a “that-a-boy”. Great job man, I have to study this script you wrote but awsome job.
Vikram Jairam said
on June 20th, 2010,
at 20:20 hours
You are a Hero! Thanks. This script literally saved my Alpha Dollar Dollar. Lesson learned – Google before you install server software. Making a mess is easy and cleanup’s a B.
Scott said
on June 24th, 2010,
at 10:01 hours
Good work! This is the only tutorial I’ve found to get vmware server running on later ubuntus.
Stupidnewbie said
on June 26th, 2010,
at 11:19 hours
# ./vmware-server-2.0.x-kernel-2.6.3x-install.sh
bash: ./vmware-server-2.0.x-kernel-2.6.3x-install.sh: cannot execute binary file
Stupidnewbie said
on June 26th, 2010,
at 11:25 hours
Sorry, forgot to mention…
Ubuntu 10.04 Lucid 32bit 2.6.32-22-generic-pae
trying to install VMware server 2.0.2-203138
Cheers!
Ofer Shmueli said
on June 26th, 2010,
at 20:04 hours
Thank you!!
Radu said
on June 26th, 2010,
at 20:23 hours
@Stupidnewbie: That’s a weird error for a bash script. Normally that error appears when you are trying to execute compiled code which is not the case now. Please provide more details regarding how you try to use the script: the folder where you have the script, the folder where VMware is and why are you running it using a root prompt.
James said
on June 28th, 2010,
at 12:55 hours
Hi,
Thanks for taking the time to not only write the script and make it available, but also to follow-up with support like this.
I’m running the script as root because I usually find that easier (su, enter password once and perform everything I need to do before switching back) I did try it with sudo but the result was the same.
the script and the VMware archive are in a subdirectory of my home directory (there are no spaces in the path)
I simply enter the command:
./vmware-server-2.0.x-kernel-2.6.3x-install.sh VMware-server-2.0.2-203138.i386.tar.gz
and get:
bash: ./vmware-server-2.0.x-kernel-2.6.3x-install.sh: cannot execute binary file
So, any idea what I’m doing wrong?
Callan said
on June 28th, 2010,
at 13:05 hours
I am unfortunately also getting the following error:
./vmware-server-2.0.x-kernel-2.6.3x-install.sh: 3: Syntax error: Unterminated quoted string
I have not edited the script at all. Only downloaded and chmod +x.
Radu said
on June 28th, 2010,
at 15:03 hours
@James: Don’t supply the archive in the path if you have it in the same folder with the script.
@Callan: It happens when one tries to download only the script file from GitHUB. Didn’t you download the
tar.gzarchive?Stupidnewbie (James) said
on June 29th, 2010,
at 10:49 hours
@Callan: I think I got that particular once when I copy/pasted a command and carried an extra space at the end…
@Radu: I tried it both with and without the path quoted in the command. Same result…
bash: ./vmware-server-2.0.x-kernel-2.6.3x-install.sh: cannot execute binary file
coperek said
on June 30th, 2010,
at 17:05 hours
[root@xps install]# ./vmware-server-2.0.x-kernel-2.6.3x-install.sh
You have VMware Server archive:
VMware-server-2.0.2-203138.x86_64.tar.gz
Checking for needed packages on Fedora
You do have the wget package…
You do have the xinetd package…
You do have the kernel-headers package…
You do have the kernel-devel package…
You do have the gcc package…
You do have the patch package…
You do have the make package…
Downloading patch file…
……
…..
…..
Found .tar file for vmci module
Found .tar file for vmnet module
Found .tar file for vsock module
Found .tar file for vmmon module
Extracting .tar files in order to apply the patch…
Untarring /install/vmware-server-distrib/lib/modules/source/vmci.tar
Untarring /install/vmware-server-distrib/lib/modules/source/vmnet.tar
Untarring /install/vmware-server-distrib/lib/modules/source/vsock.tar
Untarring /install/vmware-server-distrib/lib/modules/source/vmmon.tar
Testing patch…
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.
The patch cannot be applied.
i do not what is wrong
do you have any suggestion ?
I’ve fedora 13 64bit
Radu said
on June 30th, 2010,
at 18:36 hours
@coperek: From where did you download my script? It seems that you are running an old version of it (at least two months old). Please download again the archive containing the patch files and the script (either from the links in my posts, either directly from my repository @GitHUB).
Enan said
on July 2nd, 2010,
at 11:14 hours
i was able to pull up the page on my first attempt but not the second. i’m a linux newbie, do you think i should re-run the script? thanks
Radu said
on July 2nd, 2010,
at 11:17 hours
It’s far more complicated than that and I am sick of supporting VMware Server. It’s okay if your questions are related to the way my script works but I am not in any way responsible for VMware’s behaviour. Just a hint: check VMware’s associated services from your system.
Bill Cattell said
on July 5th, 2010,
at 18:30 hours
Radu – YOU ROCK!
Using your script has got VMware server 2.0.2 running for me. The script and the info about fixing the mouse under Window$ has it working perfectly. Finally.
I’m running under Mandriva PWP 2010.0 and had fought upgrading to it for a couple years. Everything was working great under 2008.1.
A great THANK YOU!
Ronny Ko said
on July 6th, 2010,
at 17:19 hours
I have found a bug. my vmware web interface doesn’t load. It has worked flawlessly before and suddenly, the IP on my server changed. It seems that my firefox 3.5.9 browser just stays in “waiting for reply” mode forever. is this vmware or am I missing something and it is a simple fix? Ronny
Bertrand said
on July 7th, 2010,
at 18:40 hours
Hello, thank you for those information.
If you are interested, I’ve published a post using your patch with the rpm version of VMware-server, under Fedora 64 bits, with a kernel 2.6.33:
http://bertrandbenoit.blogspot.com/2010/07/install-vmware-server-202-under-kernel.html
alex said
on July 15th, 2010,
at 16:27 hours
@cannot execute problem:
could be, that u have unpacked the file wrong and tried to execute an archivefile. After unpacking the downloaded file i got this one:
gunzip vmware-server-2.0.x-kernel-2.6.3x-install.sh.gz
ls
vmware-server-2.0.x-kernel-2.6.3x-install.sh
Seems that this file is the scipt but it isnt…
So untar this file and u have a directory called raducotescu…
so long…
Jithesh said
on July 17th, 2010,
at 03:56 hours
Thank you very much for this script, it worked like a charm to install vmware server on fed 13 64bit. I have been trying for many days to get this going, and finally landed on this page.
Regards
Jithesh
Aminos-TN said
on July 17th, 2010,
at 21:51 hours
Hello there,
I got this error, while executing your script (same error when I attempted to install Vmware through an RPM packet) :
The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.33.6-147.fc13.i686). Even if the module were
to compile successfully, it would not load into the running kernel.
Please help
Aminos-TN said
on July 17th, 2010,
at 21:54 hours
well I thought that with your script, I will not have this error, I was wrong.
Aminos-TN said
on July 18th, 2010,
at 15:50 hours
please help
Mohsin said
on July 19th, 2010,
at 21:16 hours
Hi Radu,
Thanks a lot for this blog…you might just save my day.
I followed your outlined instructions and ran into the following issue. I tried looking for the header files using my ubuntu’s Software Centre – get software and searching for the linux-headers-2.6.28-15 but can only find -11 files.
Any help how to solve this one or did I overlook something in the install. I really need to get mv VM’s up and running.
Thanks
Radu said
on July 20th, 2010,
at 11:17 hours
Do you have access to a repository from your machine? It looks like
apt-getcannot install the needed packages.Nathan said
on July 21st, 2010,
at 20:03 hours
Thanks for all your hard work.
I’ve recently downloaded your script, and I’m trying to use it to install on kubuntu 10.04 X64 and I get the following error:
vmware-server-2.0.x-kernel-2.6.3x-install.sh: 41: Syntax error: word unexpected (expecting “)”)
David Schoen said
on July 23rd, 2010,
at 12:18 hours
Thanks a lot, script worked exactly as stated and the provided ‘start-VMware-console.sh’ works nicely around problems I have with using guests under Firefox.
Well done!
Aminos-TN said
on July 23rd, 2010,
at 20:39 hours
I have a Fedora 13 (2.6.33.6-147.fc13.i686) please help me
, I tried many things I have found in the Internet to avoid this error, but the installation wasn’t successful and VMWARE won’t work
Ivo said
on July 25th, 2010,
at 14:34 hours
Thank you very much for this manual!
I have one addition: your script start-VMware-console.sh finds vmware-vmrc with:
Unfortunately `find` finds two:
One is a script and the other is an executable. The script should be found, but in my case the other one is found, resulting in the error Mehdi reported.
My solution was to assume a script is less than 10 blocks so I altered the find:
Think you've got something to say?
For leaving comments including source code or terminal output, please use the the following tags like in the next example:
where you substitutelanguagewith the programming laguage used throught the code example (for terminal output that would be bash), e.g:To see a list of all the supported languages, please check this page.
If you want to include code bits inline, please use the
codetags like in the following example: