VMware Server Remote Console - Cannot connect to host - Blank port
Posted on 2011-10-28
Had VMware Server 2.latest running fine on CentOS 5.recent for well over a year. We then increased RAM on this server and things went wrong, had to rerun the installer/config script. It then all worked again, could start up VMs again and they all work fine.
But the console is buggered. Logs don't give me anything useful but I think there's a strong hint in the error I get when trying to launch the console:
VMware Remote Console
Unable to connect to the MKS: Cannot connect to host 18.104.22.168: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Note that 123 isn't my true IP. The curious part is that it shows the colon, but no port number provided.
Hunting down /etc/vmware/hostd/proxy.xml shows no empty port tags. config.xml matches up with my known to be working backups too.
Of course, a ping from my Windows 7 client machine to 22.214.171.124: fails. Without the colon, it works. Add 8222 or 8333 and ping doesn't work.
The port numbers didn't change at any point, so I can't see how it's a firewall issue. So clucthing at straws, does anyone have any ideas where the missing port number should be?
One attempt at launching the console for a particular VM (which I know is running) yields this in the hostd.log
[2011-10-28 09:56:58.368 'PropertyProvider' 1106782528 verbose] RecordOp ASSIGN: info, haTask--vim.ServiceInstance.currentTime-17
[2011-10-28 09:58:17.521 'Proxysvc Req00118' 1106782528 warning] Exception while processing request: Connection reset by peer
[2011-10-28 09:58:17.521 'SoapAdapter' 1106782528 error] An error occurred reading the SOAP request: The HTTP client closed the stream prematurely.
[2011-10-28 09:58:17.522 'Proxysvc Req00119' 1080514880 warning] Exception while processing request: Connection reset by peer
[2011-10-28 09:58:17.522 'SoapAdapter' 1079720256 error] An error occurred reading the SOAP request: The HTTP client closed the stream prematurely.
[2011-10-28 09:58:19.035 'PropertyProvider' 47751372445984 verbose] RecordOp ASSIGN: info, haTask--vim.SessionManager.acquireCloneTicket-18
[2011-10-28 09:58:19.063 'vm:/home/vmware/vms/thevm/vminquestion/the-vm.vmx' 1099958592 info] Ticket issued for mks connections to user: user123
[2011-10-28 09:58:19.063 'PropertyProvider' 1099958592 verbose] RecordOp ASSIGN: info, haTask-80-vim.VirtualMachine.acquireMksTicket-19
[2011-10-28 09:58:20.393 'ha-eventmgr' 1080514880 info] Event 6 : User email@example.com logged in
[2011-10-28 09:58:20.393 'PropertyProvider' 1080514880 verbose] RecordOp ASSIGN: latestEvent, ha-eventmgr
[2011-10-28 09:58:20.394 'PropertyProvider' 1080514880 verbose] RecordOp ADD: sessionList["52ae713c-1fd8-eda1-d842-ee5331b7d4fe"], ha-sessionmgr
[2011-10-28 09:58:22.919 'vm:/home/vmware/vms/thevm/vminquestion/the-vm.vmx' 47751372445984 info] Ticket issued for mks connections to user: user123
[2011-10-28 09:58:22.919 'PropertyProvider' 47751372445984 verbose] RecordOp ASSIGN: info, haTask-80-vim.VirtualMachine.acquireMksTicket-20
"/var/log/vmware/hostd.log" 391L, 41202C
It mentions some SOAP connection issues too.
Any ideas? Thanks!