ESXi

 View Only
Expand all | Collapse all

Unable to connect to the MKS: Internal error

Amejias

AmejiasFeb 17, 2016 03:52 AM

  • 1.  Unable to connect to the MKS: Internal error

    Posted Jun 03, 2011 09:42 AM

    Can anybody help me with this error

    "Unable to connect to the MKS: Internal error"

    It's appear on my console, when i want to install my first Host.

    I'm using Vmware ESX

    Thanks, :smileyhappy:



  • 2.  RE: Unable to connect to the MKS: Internal error

    Posted Jun 03, 2011 09:44 AM

    Hi and welcome to the community.

    Make sure port 902 is not being blocked then follow by this: http://www.vdi.co.nz/2009/08/02/unable-to-connect-to-the-mks/



  • 3.  RE: Unable to connect to the MKS: Internal error

    Posted Jun 03, 2011 09:45 AM

    DNS Resolution

    Here you have other post

    http://communities.vmware.com/message/1316549



  • 4.  RE: Unable to connect to the MKS: Internal error

    Broadcom Employee
    Posted Jun 03, 2011 11:05 AM

    check this kb, might help: VMware Knowledge Base



  • 5.  RE: Unable to connect to the MKS: Internal error

    Posted Jun 03, 2011 11:36 AM

    I've tried all the reply you gave to me :smileysad:, the error stiil appears



  • 6.  RE: Unable to connect to the MKS: Internal error

    Posted Jun 03, 2011 11:41 AM

    Power off the virtual machine. Remove from inventory and Re-add it then power on.



  • 7.  RE: Unable to connect to the MKS: Internal error

    Posted Feb 13, 2015 11:51 PM

    I got this issue on vCenter 5.5/ESXi 5.5 and took me quite time googling with different solution with no luck. Luckily,  I tried remove VM from inventory and add it back. Now it works. Thanks.



  • 8.  RE: Unable to connect to the MKS: Internal error

    Posted Jun 30, 2015 03:25 PM

    Worked on this part time for weeks. The shutdown/remove/re-add was all it took. Doesn't explain what happened, but at least I can get back in.



  • 9.  RE: Unable to connect to the MKS: Internal error

    Posted Sep 08, 2015 12:49 AM

    Met same issue on ESXi 6.0 after i added host to VC server. All VMs refused to open console with this error.

    I tried to re-add first VM, and it works.

    Then i shutdown second VM, open config and increase Video Memory from 4 MB up to 64MB. And it helps too. So it can be some bug with video resolution error.



  • 10.  RE: Unable to connect to the MKS: Internal error

    Posted Jan 07, 2016 12:34 PM

    Helped for me too! Shutdown VM - changed from 4 to 8 Mb - Start VM - Profit!!!)



  • 11.  RE: Unable to connect to the MKS: Internal error

    Broadcom Employee
    Posted Jun 03, 2011 12:44 PM

    When this happen ?

    check firewall of vcenter if is disable to test. And check if all hosts and vcenter response to ping with FQDN.

    other option: restart services of this host VMware.

    service mgmt-vmware restart
    service vmware-vpxa restart



  • 12.  RE: Unable to connect to the MKS: Internal error

    Posted Jun 03, 2011 01:12 PM

    i haven't install vcenter, i just installed esx and vsphare client.

    I can ping with FQDN from client



  • 13.  RE: Unable to connect to the MKS: Internal error

    Posted Jun 03, 2011 01:33 PM

    this happen when i want to install a new host (my first host installation) , and appear that error (MKS: internal error) :smileysad:



  • 14.  RE: Unable to connect to the MKS: Internal error

    Posted May 28, 2013 03:28 PM

    I had a same issue, i am able to view VM console from vcenter server, i installed vsphere client on my desktop and i used same vcenter credentials, but i couldn't see VM console, showing same error unable to connect to the MKS: internal error.


    finally i found the error is with DNS. Name resolution is not happening. Use nslookup command and check proper DNS connectivity, and also do following changes from this site http://www.gkhan.in/mks-internal-error-on-vmware-console/

    VMware KB: Cannot open the virtual machine console



  • 15.  RE: Unable to connect to the MKS: Internal error

    Posted Jan 20, 2014 06:47 PM

    hud4n,

      Can you tell me if your root Ramdisk on ESXi appears to be full? From ESXi Shell or ssh run `vdf -h` Output should look similar to:

    Ramdisk                  Size      Used Available Use% Mounted on

    root                      32M        3M      28M  12% --

    etc                        28M      292K      27M  1% --

    tmp                      192M      28M      163M  14% --

    hostdstats                834M      10M      823M  1% --

    If your Use% is at 99-100% or Available space is 0 this can cause problems with multiple features, like vMotion (if your using vSphere). None of the VM KB Articles I have seen seem to mention this as a possibility for the mks internal error when attempting to console a VM.



  • 16.  RE: Unable to connect to the MKS: Internal error



  • 17.  RE: Unable to connect to the MKS: Internal error

    Posted Sep 12, 2015 03:17 PM

    Hi

    Try the below steps

    • connect to your ESXi Host via SSH and start the DCUI
    • press “F2” to log-in
    • select “Troubleshooting Options”
    • select “Restart Management Agents”

    Do not panic, if you see the hosted virtual machines as “orphaned” in your vCenter. It will take some minutes till they are connected back as normal.

    The restart of the Management Agents will not kill the virtual machines – they will continue to run.



  • 18.  RE: Unable to connect to the MKS: Internal error

    Posted Oct 07, 2015 07:38 AM

    Using vSphere 6.0. Shutdown, remove VM from inventory, re-add vm back to inventory works for me too.



  • 19.  RE: Unable to connect to the MKS: Internal error

    Posted Feb 17, 2016 03:52 AM

    Thanks! This worked for me.



  • 20.  RE: Unable to connect to the MKS: Internal error

    Posted Apr 19, 2016 01:25 PM


  • 21.  RE: Unable to connect to the MKS: Internal error

    Posted Apr 19, 2016 01:50 PM

    Hi,

    Most of the time this issue is firewall/network issue.

    MKS uses 902 and 903 ports, check those ports when connecting from the client to the host. Testing with telnet is a good idea.

    Hope this can helps



  • 22.  RE: Unable to connect to the MKS: Internal error

    Posted May 17, 2016 05:45 AM

    For me, just shutting down host/esx (vm) then start again :smileywink:



  • 23.  RE: Unable to connect to the MKS: Internal error

    Posted May 17, 2016 10:39 AM

    - Refer to vmware.log file to see the error.

    - Ensure that port 902 is not blocked.

    - Try migrating VM to another Host and check if it works.

    - Try to restart host.

    - Restart Virtual Machine.