VMware

This Question is Answered

2 "helpful" answers available (6 pts)
1 2 Previous Next 17 Replies Last post: Nov 6, 2009 2:47 PM by guyrleech  

vmrun - Error: The specified service provider was not found posted: Sep 26, 2009 1:46 AM

Click to view 3PO's profile Novice 11 posts since
Sep 25, 2009
Hi,

i've installed vmware-server 2 on Gentoo 2008.0.

Installed Versions:

vmware-server 2.0.1.156745-r3

vmware-modules 1.0.0.24

vmware-vix 1.6.2.156745-r2

Everything works fine from a remote machine, but if i want to start up a VM from console via vmrun, i get this error message:

Error: The specified service provider was not found

Any suggestions how i can fix this problem?

Click to view guyrleech's profile Virtuoso 1,810 posts since
Mar 6, 2006
Care to post the command line that you are using? Have you tried running vmrun from another machine? What version does vmrun itself report if you run it with no parameters?

Guy Leech
VMware vExpert 2009

---
If you found this or any other answer useful please consider the use of the Helpful or Correct buttons to award points.

Click to view guyrleech's profile Virtuoso 1,810 posts since
Mar 6, 2006

Command line looks good - the usual problem is username or password with special characters which aren't escaped but that would give a different error I reckon.

Did the vmrun from another machine work ok?

Iis there anything relevant in the hostd.log file?

Long shot (but stranger things have happened) - what if you use 127.0.0.1 in place of localhost?


Guy Leech
VMware vExpert 2009

---
If you found this or any other answer useful please consider the use of the Helpful or Correct buttons to award points.

Click to view wila's profile Virtuoso 3,266 posts since
Jun 27, 2006
Hi,

You log file has this bit:
Sep 26 11:46:55: app| You have an incorrect version of the `vmmon' kernel module.

Sep 26 11:46:55: app| Try reinstalling VMware Server.
So it seems you have to rerun vmware-config.pl and recompile the kernel modules on your VMware server host.


--
Wil
_____________________________________________________
VI-Toolkit & scripts wiki at http://www.vi-toolkit.com
Click to view wila's profile Virtuoso 3,266 posts since
Jun 27, 2006
and after that you are still getting the incompatible version error about vmmon in your logs?

I'm not sure if this affects the ability to use VIX, if the error shows up after you are trying to run a VIX command, then I'm afraid the patch isn't completely flawless.
Unfortunately I do not have the time to install fedora 11 here now.

One other thing you could try is to load a newer VIX, but if I was you then I would try that first in a virtual machine and not on the host.
See: http://communities.vmware.com/community/developer/forums/automationapi


--
Wil
_____________________________________________________
VI-Toolkit & scripts wiki at http://www.vi-toolkit.com
Click to view mattrich's profile Expert 510 posts since
Nov 29, 2006
You seem to have a variety of installation and configuration problems (that is, one with vmrun, and a separate one with the vmmon module).

If you mostly care about vmrun (you'll care about the other one once you can't start a VM, but we'll cross that bridge when you get to it), then please post the list of the contents of /usr/lib/vmware-vix/, or wherever you installed VIX. Also, please post the "vixwrapper-config.txt" file in that directory, if there is one. Also, please upload a log from /tmp/vmware-$USER/ of the form vixWrapper-$PID.log.

Also, you can ignore severd logs, since Server 2.0 does not have a serverd. They must be left over from a previous Server 1.0 install.
Click to view mattrich's profile Expert 510 posts since
Nov 29, 2006
The problems seem to stem from the fact that you don't have the "vix.libdir" setting in your global configuration file. Usually this is set in /etc/vmware/config by having a line like:
vix.libdir = "/opt/vmware/vix/lib"

If you add this, vmrun should start working.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities