Friday, November 25, 2011

Invalid configuration for device ’0′ when enabling a NIC in vSphere

Suddenly a VM was unreachable on all interfaces. Upon investigation, I saw that none of the NIC's were set to connected:







When I tried to enable them again I got Invalid configuration for device ’0′:




Some googling led to a simple solution, which is to restart the management agents:

service mgmt-vmware restart

and

service vmware-vpxa restart

Good to know. Thanks go to the cupfighters for investigating it deeper and leading me to the answer.

5 comments:

  1. I'm having the same problem here but with ESXi 5.

    On ESXi 5, there is no such command 'service'.

    Any thoughts?

    ReplyDelete
    Replies
    1. Hi Bobby,

      Log in to the ESXi console, go to Troubleshooting Options, then Restart Management Agents.

      http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003490

      Delete
  2. For ESXi5 /sbin/services.sh restart

    ReplyDelete
  3. Today, Are experiencing the same problem.

    ReplyDelete
  4. This fixed it for me.

    http://blog.mrpol.nl/2013/01/29/solving-the-invalid-configuration-for-device-0-error/

    ReplyDelete