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


44 Comments

  1. Deep says:

    Thanks

  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.

  30. you’re in reality a just right webmaster. The web
    site loading pace is incredible. It sort of feels that you are doing any distinctive trick.
    Also, The contents are masterpiece. you have done a great
    activity on this subject!

  31. Awesome! Its truly remarkable paragraph, I have got much clear idea about from this paragraph.

  32. The racing games are more popular among the children. This makes it very
    exciting for children and even adults. Some of the games of
    Kizi1 like Sanrio Photo fun with Hello Kitty App enable you to share some photos and they are really
    super fun.

  33. 3DS Emulateur represente un émulateur de la console Nintendo 3DS pour ORDINATEUR.
    Pour cette 3ème version il y a désormais beaucoup de jeux 3DS jouable, et plusieurs jeux sont compatible entièrement (tels que Mario Kart
    7, Pokemon X/Y …).

    Cette émulateur est le premier à permettre aux utilisateurs d’essayer le vrai effet 3D !

    Un grand nombre de gens connaissent la 3DS. L’émulateur 3DS est un programme
    simple à prendre en main vous permettant de jouer aux jeux 3DS
    sur votre LAPTOP.

    Cette émulateur est un logiciel gratuit que la majorité des joueurs
    doivent garder en leurs possession ! Grâce à lui vous pourrez jouer
    à la Nintendo 3DS sur votre ordinateur.

    Contrairement à d’autre émulateur, celui-ci est dézonné,
    il offre donc de jouer aux jeux provenant de
    toutes les région du monde sans problème (Japon, Europe, Amérique…).

    Lors du premier lancement de l’émulateur 3DS vous
    allez pouvoir modifier la résolution de l’écran. Par défaut
    celle-ci seras de 800/240 (2x 400/240 par œil) et la résolution de l’écran du bas seras de 320*240 pixels.
    Vous pouvez transformer cette résolution en revanche cela risque de rendre l’écran plus pixeliser.

    Une fois que la configuration de l’emulateur
    3DS seras terminer vous pourrez jouer aux roms 3DS et aux roms
    DS.

    Emulateur 3DS : https://www.youtube.com/watch?v=y-Jaywr0xpc

  34. Cool stuff says:

    Cool things enables you to discover and share everything cool.

    Whether its a very good new gadget or perhaps a hot new car, anything cool to complete or possibly a cool
    destination to visit. We cover all of the cool stuff.
    https://www.facebook.com/wwwgopolinocom

  35. Greetings! I know this is kinda off topic nevertheless I’d figured I’d
    ask. Would you be interested in trading links or maybe guest authoring a
    blog post or vice-versa? My site discusses a
    lot of the same topics as yours and I think we could greatly benefit from each other.
    If you are interested feel free to send me an e-mail.
    I look forward to hearing from you! Terrific blog by the way!

  36. 88Tangkas says:

    hey there and thank you for your info – I’ve definitely picked up something new from right here.
    I did however expertise some technical issues using this website, since
    I experienced to reload the site lots of times previous to I could get
    it to load properly. I had been wondering if your hosting is OK?
    Not that I am complaining, but slow loading instances times will
    often affect your placement in google and could damage your quality score if advertising and marketing with Adwords.
    Anyway I am adding this RSS to my e-mail and can look out for much more
    of your respective exciting content. Make sure you update
    this again very soon.

  37. Hello! I realize this is somewhat off-topic but I needed to ask.

    Does managing a well-established website such as yours require a massive amount work?
    I’m brand new to writing a blog however I do write in my journal
    on a daily basis. I’d like to start a blog so I can share
    my personal experience and thoughts online. Please let me know if
    you have any suggestions or tips for new aspiring bloggers.
    Thankyou!

  38. Hi colleagues, its great paragraph concerning tutoringand
    entirely defined, keep it up all the time.

  39. adipex says:

    Νumerouѕ medical cօnditions are involved with obesity.

    These advantaǥes arе all related to theiг effectiveness, sustainabilitу, saffety
    and іt also serves aaѕ a healthier option. Nutrilean are effective
    dietarʏ supplementѕ that guarantee weight loss.

  40. jobs seo says:

    com because through their credit and application process, you can qualify for a personal
    loan up to $35,000. First you will have to visit your state’s department of motor vehicles
    or department of public safety to know the procedure to sell a ca without a title.
    The best advice many financial experts give is that you should do everything you can to get the money
    you need some other way.

  41. I believe that is one of the most important info for me.
    And i am happy reading your article. However wanna commentary on few general issues,
    The website taste is ideal, the articles is really excellent
    : D. Just right process, cheers

  42. I really like what yoou guys are usuallly up too.

    This kind of clever work and exposure! Keep up the wonderful works guyys I’ve you
    gys too blogroll.

  43. Kali ini muncul video lucu hasil editan Eka Gustiwana tentang Ceu Popong kehilangan palu.

  44. Get rid of Bumpy skin By way of Natural
    Massage therapies

    Generally there are just a number of girls that never suffer from cellulite and so there are numerous
    “wonder treatments” that you can buy that help with
    decreasing your bumpy skin. Still every single female that has used it understands that
    these kinds of anti-cellulite treatments possess no effect.
    The very best method to get rid of your lumpy skin may be the oldest system in the book!
    By means of a specific anti-cellulite massage therapies, you will
    be able to successfully eliminate cellulite out of your upper thighs, hip and legs
    and bottom.

Leave a Comment