VMware Cloud Community
sdaniely
Contributor
Contributor
Jump to solution

Failed to install the VirtualCenter Agent Service

I just brought up a new Virtual Center. I removed an ESX host from one VC and tried to add it to the second when I recieved this error: Failed to install the VirtualCenter Agent Service[/b]. How can I resolve this?

Thanks all - Sean

0 Kudos
1 Solution

Accepted Solutions
hicksj
Virtuoso
Virtuoso
Jump to solution

The service referenced above is on the ESX host.

View solution in original post

0 Kudos
11 Replies
hicksj
Virtuoso
Virtuoso
Jump to solution

You can try restarting it:

# service mgmt-vmware restart[/code]

It seems that sometimes the VC server has problems updating agents on hosts. Restarting the existing agent has been reported to solve this.

Or you can install the agent service manually. There are many (recent) examples of this on the forums.

Message was edited by:

hicksj

fixed service typo

0 Kudos
sdaniely
Contributor
Contributor
Jump to solution

Am I starting the VC or ESX host? Thanks. Restrating VC did not resolve this.

0 Kudos
hicksj
Virtuoso
Virtuoso
Jump to solution

The service referenced above is on the ESX host.

0 Kudos
johnswbvm
Contributor
Contributor
Jump to solution

\

  1. service mgmt-vmware restart

doing this worked for me

0 Kudos
bister
Expert
Expert
Jump to solution

For me too \*sic*. But I'd like to add that VM operation is \_not_ disturbed by this procedure.

0 Kudos
admin
Immortal
Immortal
Jump to solution

restarting the mamagement agents on the esx hosts worked for me as well !!

0 Kudos
eliot
Enthusiast
Enthusiast
Jump to solution

Just had this issue on a few servers after installing patch 2 for VirtualCenter - fixed it perfect.

0 Kudos
larjona
Enthusiast
Enthusiast
Jump to solution

I have this problem and this solution works fine for me. But all virtual machines in the ESX servers has rebooted after the execution of this command.

This is normal?

0 Kudos
squirrelking
Enthusiast
Enthusiast
Jump to solution

\

  1. service mgmt-vmware restart

This worked for me as well, however I had to also do:

\# /etc/init.d/vmware-vpxa start

as that service was stopped and it wouldn't be added to VirtualCenter without it...

---- VCP3 VCP4 VTSP VSP VMware Solution Provider Premier Partner VMware Authorized Consultant [http://blog.lewan.com]
0 Kudos
naiksidd
Enthusiast
Enthusiast
Jump to solution

hi,

i know its relatively old post but the method is still not working for me after trying all the above said its still gives the same error..

can you help me out with the work around.

regards,

Siddharth.

0 Kudos
EchoVM
Contributor
Contributor
Jump to solution

I also had the same issue. The only thing that seemed to work was killing multiple sessions from the VIC for the same user. Once that was done my Host was successfuly added back to my cluster.

0 Kudos