VMware {code} Community
ch3nh4n
Contributor
Contributor

Error when running vmrun on Linux (vmrun 2.0.1)

Hi,

I tried to use vmrun on Linux (Ubuntu 😎 with VMWare Server 2.0 installed (and vmrun 2.0.1 included).

I can browse my server with Web GUI (locally or remotely) with no problem, but when I tried to control it via command line locally (from that Linux itself), I keep getting this error message:

Error: The specified service provider was not found

As I also have installed VMWare Server 2.0 on Windows (and vmrun 2.0.0, under VIX directory), I tried to control remotely to that first Linux machine and it works perfectly (needless to say that I can also control my local VMWare Server on my Windows box itself). The documentation and forum I read so far suggest that the vmrun is probably too old, to support -T server (but while my Windows can successfully do it with vmrun 2.0.0, and my Linux has 2.0.1, I'm a bit puzzled in that remark - but if it's the case, where can we download newer vmrun that support "-T server" for Linux?).

I'm pretty sure, it's not the security problem or wrong syntax (I even tried it as root), as I executed identical command on both machine. But if you're interested to know, the command I tried is:

vmrun -T server -h https://10.128.41.27:8333/sdk -u (username) -p (password) list

(also have tried to use localhost, its machine name, or 127.0.0.1 on my local Linux with no difference)

Note:

I actually found a workaround to make it works using vmware-vim-cmd, but I found it much more tedious in syntax than vmrun. So, would prefer if I can make vmrun works.

Thanks for helping.

Tags (1)
0 Kudos
2 Replies
fixitchris
Hot Shot
Hot Shot

What if you do:

vmrun -T server -h http://10.128.41.27:8222/sdk -u (username) -p (password) list

0 Kudos
ch3nh4n
Contributor
Contributor

It makes no difference, which is expected as the http will just redirect the request to the https one. Thanks for replying anyway Smiley Happy

0 Kudos