Quantcast
Channel: VMware Communities : Popular Discussions - General Issues
Viewing all articles
Browse latest Browse all 41042

Does "options" work on vmware-vim-cmd command ?

$
0
0

 

I am wondering about this question because I had to setup a couple of vmware server with non-standard ports, let's say 10902 and 20902.

 

 

No problems using web interface. but using command line doesn't work, and always produce:

 

 

Failed to connect: Cannot connect to host localhost: Connection refused

 

 

So I "discovered" the existance of oprtions, specifically -O option, and I tried it ....with no results !

 

 

vmware-vim-cmd -O 20902 -d verbose vmsvc/getallvms

Current working directory: /vmware/backupjobs

Using system libcrypto, version 90808F

Vmacore::InitSSL: doVersionCheck = true, handshakeTimeoutUs = 120000000

CnxAuthdConnect: Returning false because CnxAuthdConnectTCP failed

CnxConnectAuthd: Returning false because CnxAuthdConnect failed

Cnx_Connect: Returning false because CnxConnectAuthd failed

Cnx_Connect: Error message: Cannot connect to host localhost: Connection refused

Failed to connect: Cannot connect to host localhost: Connection refused

 

 

Also the opposite, on a "standard" configured vmware 2.0 server using port 902, If I issue a

 

 

vmware-vim-cmd -O 9102 -d verbose vmsvc/getallvms

 

 

I can connect (and in principle I shouldn't). Also trying to give a bad username or bad password (-U and -P options) on a standard vmware server doesn't produce any error

 

 

So it seems to me that all the options are not used at all.

 

 

Am I missing anything or actually they don't work ?

 

 

thanks,

 

 

Andrea

 

 


Viewing all articles
Browse latest Browse all 41042

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>