LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-14-2013, 08:54 PM   #1
sryzdn
Member
 
Registered: Feb 2013
Posts: 274

Rep: Reputation: 9
vmware installation failure


Hi,

I have tried installing vmware workstation 9 bundle, but I am receiving the following message while I want to start the service:

Quote:
Job for vmware.service failed. See 'systemctl status vmware.service' and 'journalctl -xn' for details.
I have enclosed systemctl and journalctl -xn. I cannot figure out what is missing here.
Attached Files
File Type: txt system2.txt (10.7 KB, 17 views)
File Type: txt journal.txt (1.5 KB, 22 views)
 
Old 09-15-2013, 04:31 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
What does 'systemctl show vmware.service' return? Also note in your systemctl output there's a "vmware-w...n-server.service". No idea what its name is (figure it out with locate or find or 'systemctl status --all|grep vm;') and return the systemctl "status" and "show" for it.
 
Old 09-15-2013, 05:23 AM   #3
sryzdn
Member
 
Registered: Feb 2013
Posts: 274

Original Poster
Rep: Reputation: 9
Quote:
What does 'systemctl show vmware.service' return?
I have enclosed the result.


Quote:
Also note in your systemctl output there's a "vmware-w...n-server.service". No idea what its name is (figure it out with locate or find or 'systemctl status --all|grep vm;') and return the systemctl "status" and "show" for it.
systemctl status --all|grep vm; returns the following:

I didn't really understand what else you asked for.
Attached Files
File Type: txt show.txt (3.0 KB, 20 views)
 
Old 09-15-2013, 07:17 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by sryzdn View Post
I have enclosed the result.
Apparently it starts /etc/rc.d/init.d/vmware so see what '/etc/rc.d/init.d/vmware status; /etc/rc.d/init.d/vmware start' returns.


Quote:
Originally Posted by sryzdn View Post
I didn't really understand what else you asked for.
Next time you don't understand a command you could first 'man whatevercommandname' and read a bit? 'systemctl list-units --all | grep vm' should return also "vmware-workstation-server.service", so run 'systemctl status vmware-workstation-server.service; systemctl show vmware-workstation-server.service;'.
 
Old 09-15-2013, 08:28 AM   #5
sryzdn
Member
 
Registered: Feb 2013
Posts: 274

Original Poster
Rep: Reputation: 9
Quote:
Apparently it starts /etc/rc.d/init.d/vmware so see what '/etc/rc.d/init.d/vmware status; /etc/rc.d/init.d/vmware start' returns.
It returns:

Module vmmon not loaded
Module vmnet not loaded
Starting vmware (via systemctl): Job for vmware.service failed. See 'systemctl status vmware.service' and 'journalctl -xn' for details. [FAILED]

Quote:
Next time you don't understand a command you could first 'man whatevercommandname' and read a bit?
Yes, I'm sorry.

Quote:
'systemctl list-units --all | grep vm' should return also "vmware-workstation-server.service", so run 'systemctl status vmware-workstation-server.service; systemctl show vmware-workstation-server.service;'.
I enclosed the result. Some guys have solved a similar problem here. But I'm not sure what they have exactly done:

https://communities.vmware.com/threa...art=0&tstart=0
Attached Files
File Type: txt 1.txt (3.5 KB, 14 views)
 
Old 09-15-2013, 09:37 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by sryzdn View Post
It returns:

Module vmmon not loaded
Module vmnet not loaded
Starting vmware (via systemctl): Job for vmware.service failed. See 'systemctl status vmware.service' and 'journalctl -xn' for details. [FAILED]
Ah, thought that would be it. You'll have to find out if the installation built the vmmon and vmnet kernel modules for you before you start the service. However:


Quote:
Originally Posted by sryzdn View Post
Some guys have solved a similar problem here. But I'm not sure what they have exactly done:
https://communities.vmware.com/threa...art=0&tstart=0
Indeed. Sure you could patch the kernel to allow VMware Workstation to work but I especially like the last reply in one of the mentioned resources:
Quote:
Why don't you people just run Virtualbox? You don't have to patch it to get it to work.
That kind of makes sense if you want to work with virtualization right away.
*Note all that patching isn't a Fedora or Linux error but VMware not catching up.
 
Old 09-15-2013, 10:49 AM   #7
sryzdn
Member
 
Registered: Feb 2013
Posts: 274

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by unSpawn View Post
You'll have to find out if the installation built the vmmon and vmnet kernel modules for you before you start the service.
How can I find it out? If I want to install it again, how can I do it?
 
Old 09-15-2013, 11:53 AM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by sryzdn View Post
How can I find it out?
Either check the modules if installed for the current kernel:
Code:
find /lib/modules/`uname -r` -type f \( -name vmmon.\* -o -name vmnet.\* \)
or run this to try and configure things before starting the services:
Code:
vmware-config.pl
...except the latter probably won't work without patching your kernel first. For that you have to download the kernel source RPM for your current kernel, patch it, configure it, give it a local version tag so you won't overwrite it on install, run make, pray it doesn't error out, install it, then run vmware-config.pl to make it build the modules. As you can see that's slightly more work than running Virtualbox.
 
Old 09-15-2013, 12:01 PM   #9
sryzdn
Member
 
Registered: Feb 2013
Posts: 274

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by unSpawn View Post
...except the latter probably won't work without patching your kernel first. For that you have to download the kernel source RPM for your current kernel, patch it, configure it, give it a local version tag so you won't overwrite it on install, run make, pray it doesn't error out, install it, then run vmware-config.pl to make it build the modules. As you can see that's slightly more work than running Virtualbox.
That's a university course for me as a beginner. I wonder why I didn't have such problem installing the same vmware bundle on fedora 19 last time with exactly similar env?!

Last edited by sryzdn; 09-15-2013 at 12:17 PM.
 
Old 09-16-2013, 05:35 PM   #10
officerx
Member
 
Registered: Sep 2013
Distribution: centOS, backtrack linux R3, windows 7
Posts: 59

Rep: Reputation: Disabled
try

You could always install virual machine manager works wonders for me...

I have some problems with my vmware installation
 
Old 09-17-2013, 06:56 AM   #11
sryzdn
Member
 
Registered: Feb 2013
Posts: 274

Original Poster
Rep: Reputation: 9
I am sorry if this seems naive to ask, I just can't do anything else unless I solve and understand a problem:

I read somewhere that a guy with similar problem said:

Quote:
It would seem that I was actually running a different kernel version (2.6.23) other than what the modules where built for (2.6.24).
Is this what "patching" does? changing the kernel version?
 
Old 09-17-2013, 02:23 PM   #12
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by sryzdn View Post
That's a university course for me as a beginner.
A course in VMware products or just using virtualization in general as an aid to actually accomplish things?


Quote:
Originally Posted by sryzdn View Post
I wonder why I didn't have such problem installing the same vmware bundle on fedora 19 last time with exactly similar env?!
You did it so without details I can't tell why.
 
Old 09-17-2013, 02:29 PM   #13
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by sryzdn View Post
Is this what "patching" does? changing the kernel version?
The Linux kernel source is delivered as a monolithic tar ball (example: https://www.kernel.org/pub/linux/ker...3.10.11.tar.xz) and as a patch (https://www.kernel.org/pub/linux/ker...tch-3.10.11.xz). So essentially you should be able to upgrade kernel linux-3.10.10 by applying the patch to the kernel source directory. But that's not what we're talking about here. VMware released their product back then using an older kernel version. Now modules like vmnet and vmmon should compile cleanly but as the kernel source progresses some functions have gotten renamed, been deprecated and Other Stuff happened that keeps those modules from compiling cleanly. Out of the goodness of their heart some Deities took pity upon others and wrote patches to fix things. That's what this patching is all about.
 
Old 09-17-2013, 09:28 PM   #14
sryzdn
Member
 
Registered: Feb 2013
Posts: 274

Original Poster
Rep: Reputation: 9
Quote:
A course in VMware products or just using virtualization in general as an aid to actually accomplish things?
No, I just meant that if I want to do all the things you mentioned it will take me so long, because I am a very beginner.

Last edited by sryzdn; 09-17-2013 at 09:31 PM.
 
Old 09-17-2013, 09:33 PM   #15
sryzdn
Member
 
Registered: Feb 2013
Posts: 274

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by unSpawn View Post
The Linux kernel source is delivered as a monolithic tar ball (example: https://www.kernel.org/pub/linux/ker...3.10.11.tar.xz) and as a patch (https://www.kernel.org/pub/linux/ker...tch-3.10.11.xz). So essentially you should be able to upgrade kernel linux-3.10.10 by applying the patch to the kernel source directory. But that's not what we're talking about here. VMware released their product back then using an older kernel version. Now modules like vmnet and vmmon should compile cleanly but as the kernel source progresses some functions have gotten renamed, been deprecated and Other Stuff happened that keeps those modules from compiling cleanly. Out of the goodness of their heart some Deities took pity upon others and wrote patches to fix things. That's what this patching is all about.
Thanks so much for the explanation.

I read in a post that pasting the vmware-server directory in the new kernel directory in /lib/modules must work.
The problem I have is that after installing vmware, I cannot see any vmware-server directories in any of the kernel directories in /lib/modules.

Last edited by sryzdn; 09-17-2013 at 09:35 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Failure to open VMware player after installation on debian 7.0 wheezy mupandaa Linux - Newbie 4 07-17-2013 08:38 PM
Failure in installing remaining packages after fresh installation on vmware,virtualbo rupeshforu *BSD 1 02-17-2013 02:32 AM
VMware Workstation and Kernel 2.6.3 FAILURE! lowendtweaxr Linux - Software 12 07-28-2009 02:05 AM
Installing old RedHat 5.1 on VMWare failure AzCoder Red Hat 0 08-13-2007 05:58 PM
vmware causes boot failure on SuSE 9.2 SmokinTux SUSE / openSUSE 2 05-03-2005 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration