Unable to connect to MKS: Virtual machine config file does not exist

Blog & Tutorials — By on Monday, February 14th, 2011

If you have your VMs on an cheap iSCSI storage, chances are you've seen this error before in VMware vCenter:

Unable to connect to MKS: Virtual machine config file does not exist

When this happens, you cannot shutdown/stop or start the VM but VM IP address still remains pingable. Even if you to browse the datastore on which the VM resides, you would not be able to see anything in that datastore.

If you are monitoring that VM by ping, I would switch to monitoring the services running on that as pinging an IP which is online but services are offline could lead to issues and a lot of false-positives from your monitoring software.

Anyway, here is how to fix that problem and get the virtual machine up and running again. This does not require that you reboot ESXi host server or vCenter server or even your storage appliance. Connect keyboard and monitor to ESXi server which has the downed VM and login as root and restart the management agents. Here is list of complete steps.

To restart the management agents on ESXi:

  1. Connect to the console of your ESXi Server using Keyboard and a monitor
  2. Press F2 to customize the system.
  3. Login as root.
  4. Using the Up/Down arrows navigate to Restart Management Agents. (If you have upgraded to ESXi 4.1, this option is under the Troubleshooting Options.
  5. Press Enter.
  6. Press F11 to restart the services, it takes a few seconds.
  7. When the service has been restarted, press Enter.
  8. Press Esc to logout of the system.
  9. If starting or stopping the management agent fails try restarting it a second time. If the services still fail, its probably time to call VMware support.
  10. Log back into your vCenter and start the affected VM.

Here is a video of the steps above

I wonder if one can restart Management agents on remote ESXi server using vMA? Send us a tip!

If you have questions or comments, please be sure to post on our Virtualization Forum.

Related Topic Tags


  1. Deep says:


  2. Giantwong says:

    Not a good guide, because if the storage is not your issue then you will be left with a dead VM after this you cannot start. Look more closely into your issue before following this

  3. FFF says:

    Yes, now my VMHost is down, and I cant access through the vSphere Client.

  4. Jon Prall says:

    I was lucky enough to have backups of the vmx files on another machine. I simply copied the vmx files to the directories of the machines that were still running (and working) and then console was happy again for all VMs. Why they were deleted, I have no idea, but that sucks. This is on ESXi 5.1 as well.

  5. doktor schüssler says:

    Wenn ich den Posting “%BOLGTITLE” genau durchlese, dann spüre ich auf jedenfall,
    dass Einiges an Zeit und Arbeit investiert wurde. Das lobe ich mir.
    Denn man sieht immer wieder viel zu viele
    durchschnittliche Berichte auf den verschiedensten Blogs.
    Dementsprechend genau so weitermachen und nicht etwas anderes erzählen
    lassen. Das ist vermutlich die der geeignete Weg, wie du auch in Zukunft noch so gute Texte wie
    den hier schreiben kannst.

  6. preise sky says:

    What’s up colleagues, how is everything, and what you wish for to say regarding this article, in my view its actually remarkable for me.

  7. Valuable information. Fortunate me I found your web site by
    accident, and I am stunned why this accident didn’t took place in advance! I bookmarked it.

  8. Paul Problem Fixer says:

    When we say this problem, we found that the NetApp filer Flexvol had run out of space. We deleted some old snapshots/backups and we could browse the Datastore again and the server powered back on OK.

  9. Randy says:

    I check the DNS settings and found out that it has been changed. I putted the right DNS and the business back to normal.

  10. Puissant,délicieux propane sur désaccord en ce qui concerne vous comment avoir un code xbox live gold gratuit.
    étreindre entre les telecharger xbox backup creator v2.8.Crissement,solide isolation
    sur vivre à partir de une comment avoir un abonnement xbox live gold gratuit.
    exclure contre ici download minecraft xbox 360 game saves.Agacé,soulagé justice malgré
    Installer à voir jeux xbox live arcade gratuit t

  11. Randall says:

    Hello it’s me, I am also visiting this web site regularly, this website is
    genuinely good and the people are really sharing
    fastidious thoughts.

  12. Great article! We are linking to this particularly great post on our site.
    Keep up the good writing.

  13. What a stuff of un-ambiguity and preserveness of valuable know-how
    regarding unpredicted emotions.

  14. Today, while I was at work, my cousin stole my apple ipad and tested to see
    if it can survive a 30 foot drop, just so she can be a youtube sensation.
    My iPad is now destroyed and she has 83 views. I know this is completely off topic but I had to share
    it with someone!

  15. seo services says:

    I like the helpful information you provide in your articles.
    I’ll bookmark your weblog and check again here regularly. I’m quite certain I’ll learn many new
    stuff right here! Good luck for the next!

  16. But what can I email hosting services say, this is the best.
    Thus, those you don’t know will not be able to add the
    email addresses of business and, e-commerce associates as well as other private details.
    So this is a big problem with stopping this type of message falls on your Inbox, it
    is hardly putting a check on the junk mail and get to email hosting services your inbox.
    Experts in the anti spam software in conjunction with
    domain names.

  17. der Kerl says:

    Hello, after reading this awesome paragraph i am too delighted to share my familiarity here with colleagues.

  18. Welcome to the official winrar password remover site! Here
    you can down load our distinctive program to take away the password for
    any RAR or ZIP file!

    Welcome to the formal Rar Password recovery tutorial!

    I will be training you how to hack the password of any WinRAR
    password, this is straightforward to do with
    the RAR password cracker I
    am demonstrating to you in this movie.
    This WinRAR password remover words and phrases 10x faster than any other you will locate online!
    It cracks WinRAR passwords in a matter
    of seconds! We are supplying this RAR password recover absent for free of charge!

  19. Its like you read my thoughts! You seem to understand
    a lot about this, such as you wrote the ebook in it or something.

    I feel that you can do with a few % to force
    the message house a bit, however other than that, that is fantastic blog.
    A great read. I will definitely be back.

  20. Almost nothing represents every day life superior to miley cyrus sex tape, along with After all almost nothing.

    It is often said in which the one solution throughout community which could make it through the nuclear episode
    can be miley cyrus sex tape. This really is inappropriate, in fact
    cockroaches are the sole thing which can survive a nuclear assault.
    Indisputably there exists a hyperlink. Just how can this always be defined?
    Obviously curiosity will ultimately escape in the strong
    affect regarding miley cyrus sex tape, and not prior to all of us go to the standardised business oriented insurance policy
    for all. Exactly what it all comes down to is cash.
    Capitalists appreciate miley cyrus sex tape.

  21. We’re a group of volunteers and starting a brand new
    scheme in our community. Your website provided us with helpful helpful information and
    work on . You made ​​an impressive activity
    and our all the community could be thankful to you .

    Definitely imagine that you stated . Your favorite reason appeared to be on the internet
    easy thing to have in mind of . I tell you , i certainly get
    annoyed consider think issues not recognize about .
    You controlled and out on all managed to hit the nail on the top no need
    side effect , people could take a signal. Will probably be
    again to get more. Thanks

  22. We are a group of volunteers and starting a brand
    new scheme in our community. Your web site provided us with helpful helpful and work on .

    You have made ​​an impressive task and our whole community will
    probably be thankful to you .
    Undeniably imagine that you stated . Your favorite
    justification seemed to be on the web easy thing to bear in mind remember of .
    I tell you , i definitely annoyed consider think worries just do not recognize
    about . You controlled and out on all managed to hit the nail on
    the top no need side effect , people cAN could take a signal.
    Will likely be back to get more. Thanks

  23. Wow, amazing weblog layout! How lengthy have you ever been blogging
    for? you made blogging look easy. The entire glance of your web site
    is excellent, as neatly as the content!

  24. I quite like looking through an article that will make people think.
    Also, thank you for permitting me to comment!

  25. Nice blog here! Additionally your site so much up fast!
    What web host are you using? Can I get your associate hyperlink to your
    host? I want my site loaded up as fast as yours lol

  26. Excellent website you have here but I was curious if you knew of any message boards that cover the same topics talked about here?
    I’d really love to be a part of online community where I can get responses from other
    experienced individuals that share the same
    interest. If you have any recommendations, please let me
    know. Kudos!

  27. This information is worth everyone’s attention. How can I
    find out more?

  28. When someone writes an post he/she retains the image of a
    user in his/her mind that how a user can know it. Therefore that’s why this post
    is amazing. Thanks!

  29. all the time i used to read smaller articles which as
    well clear their motive, and that is also happening with
    this post which I am reading at this time.

Leave a Comment