Thursday, November 5, 2015

Cannot Start a VM - A general system error occurred: Connection refused

The error referenced in the title was one I ran into today while trying to start some VMs.  I finally found a KB somewhat related to this issue and the workaround did the trick for me.

Basically, the vCenter Workflow Manager service had stopped on my vCenter server.  In my case, I'm running the 6.0.0 vApp so I had to open an SSH session and enter the following:

shell.set --enabled true
shell
service-control --status vmware-vpx-workflow
   (this command confirmed the service was stopped)
service-control --start vmware-vpx-workflow

Once running, I was able to start VMs again from vCenter.

Not sure why this was so hard to find in a web search but hopefully the search engines will pick up this blog post and save people some time!

See also:

VMware KB: VMware NSX for vSphere 6.x Controller deployment fails the error: Failed to power on VM NSX Controller
VMware KB: Stopping, starting, or restarting VMware vCenter Server Appliance 6.0 services

26 comments:

  1. Thanks! This worked for me although I had a different issue but same symptom. vmware-vpx-work service was already running so I checked the logs and for some reason, vcenter was attempting to connect to localhost instead of wsxhost when powering on. Restarted the service and its now connecting to the correct host.

    ReplyDelete
  2. Thank you for posting this! This was exactly what I needed

    ReplyDelete
  3. Thanks for the post, very helpful!

    ReplyDelete
  4. Thanks u its helps us to resolve the issue.

    ReplyDelete
  5. Thanks John, it works!

    ReplyDelete
  6. Just had an issue where I couldn't power on VM's in vCenter. I was able to start the VM via an SSH session to the ESXi host it was on, but that didn't address the root cause. Your article did. Thanks!

    ReplyDelete
  7. Fantastic. Running vCenter on a Windows server, had this same problem, and checked to see if this service had stopped. The full name of the service in Windows is "VMware vCEnter workflow manager" - started it and works perfectly.

    Thank you!

    ReplyDelete
  8. TADA, brilliant. solved my problem.

    ReplyDelete
  9. for me just worked when i rebooted all the ESX nodes in the cluster, as the service in the vCenter was running, and the restart didn't make it.

    ReplyDelete
  10. In my case it didn't worked, I have an error code 1, some help is appreciate!!!

    ReplyDelete
  11. This saved me an agonizing phone call and follow up discussions as to what happened. Thanks!

    ReplyDelete
  12. This helped me finding the cause of the "connection refused" error, unfortunately the workflow service would't start. a reboot of the vcenter appliance did the trick.

    ReplyDelete
  13. Thanks, this helped me out!

    ReplyDelete
  14. I received an error message when I tried to start the service and it showed as still being stopped when I rechecked the status, but the VMs now start and don't give me the general system error so I guess it's a success?

    ReplyDelete
    Replies
    1. Same for me! I'll just schedule a reboot of the vCenter and Platform server VMs at some point I guess...

      Delete
    2. Nah still wasn't quite right and the vCenter appliance even hung on rebooting. Reset it and now all is good again!

      Delete
  15. This is happened to me this morning, and this worked flawlessly. Thanks. This is what the internet is for, not posting dumb crap online, and getting in trouble over it.

    ReplyDelete
    Replies
    1. Hah, glad you got benefit. And I agree, that's pretty much my rule of thumb when posting on blogs or social media! :)

      Delete
  16. Hi John. We have the same version 6.0.0. and your information was perfect to solve our problem. Thank you very much.
    Wagner Bagatelli - São Paulo - Brazil

    ReplyDelete
  17. Yup, works for me too! Same version.

    ReplyDelete
  18. Thanks, this worked for me, managed to power on my vm after running the command.

    ReplyDelete