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

VMware KB: Stopping, starting, or restarting VMware vCenter Server 6.0 services

26 responses to “Cannot Start a VM – A general system error occurred: Connection refused”

  1. Anonymous Avatar
    Anonymous

    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.

  2. Anonymous Avatar
    Anonymous

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

  3. Amanda Webb Avatar
    Amanda Webb

    Thanks for the post, very helpful!

  4. Anonymous Avatar
    Anonymous

    Thanks u its helps us to resolve the issue.

  5. Anonymous Avatar
    Anonymous

    Thanks John, it works!

  6. Unknown Avatar
    Unknown

    Thanks for sharing.

  7. Anonymous Avatar
    Anonymous

    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!

  8. Andres Cortes Avatar
    Andres Cortes

    Thank´s

  9. Andres Cortes Avatar
    Andres Cortes

    thank´s.

  10. Anonymous Avatar
    Anonymous

    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!

  11. Anonymous Avatar
    Anonymous

    TADA, brilliant. solved my problem.

  12. Unknown Avatar
    Unknown

    worked for me too, thanks.

  13. Anonymous Avatar
    Anonymous

    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.

  14. Anonymous Avatar
    Anonymous

    Thanks 🙂

  15. Anonymous Avatar
    Anonymous

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

  16. Anonymous Avatar
    Anonymous

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

  17. Anonymous Avatar
    Anonymous

    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.

  18. Anonymous Avatar
    Anonymous

    Thanks, this helped me out!

  19. Anonymous Avatar
    Anonymous

    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?

    1. Anonymous Avatar
      Anonymous

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

    2. Anonymous Avatar
      Anonymous

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

  20. Anonymous Avatar
    Anonymous

    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.

    1. John Dias Avatar
      John Dias

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

  21. Anonymous Avatar
    Anonymous

    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

  22. Anonymous Avatar
    Anonymous

    Yup, works for me too! Same version.

  23. Unknown Avatar
    Unknown

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