Cannot install the vCenter Agent Service

Asked By 0 points N/A Posted on -
qa-featured

Hello,

I am getting this error message saying, “Cannot install the vCenter Agent Service. Cannot upload agent”.

I got this whenever I try adding new host to my vCenter which is running ESXi 4.1.

After showing that error message my host is then disconnected. I tried reconnecting it but I get another error saying, “Cannot complete log in due to an incorrect user name or password”.

I have tried some troubleshooting here but I could make it work again.

There has been no problem when I added that new host.

Is it possible that the problem started there?

Did I forget something very basic?

I would really appreciate if you could give me suggestions.

Thanks a lot in advance.

SHARE
Best Answer by Pheonix team
Best Answer
Best Answer
Answered By 5 points N/A #104917

Cannot install the vCenter Agent Service

qa-featured

Aloha Ortiz

Hi,

This error during addition of adding new hosts to ESXi 4.1, could arise due to multiple reasons.

I suggest that you do have a look in the ESX Host the hostd.log, it should be somewhere /var/log/vmware/hostd.log

This log will elaborate the exact reason for this failure. However, we will try to convey some of the common reason and work around.

The most probable reason is that during host addition, the particular port 902 is either blocked by either the firewall, or antivirus etc., OR is in use by another application.

The VCentre requires this port 902 to upload the vpxa (Virtual center agent) to the ESX Host

Try telnet to TCP port 902, and see if you can or not. Refer to this site.

Most probably you will not receive a response from the port. In this case, simply restart the HOST, and the problem will be resolved.

Restarting the host will release the port as well as control the memory issues if any.

PT

Answered By 15 points N/A #104918

Cannot install the vCenter Agent Service

qa-featured

Use the workaround below to solve the problem:

  • First, you will need to disconnect  all iSCSI Storage that you are using.
  • And then you will need to install the ESX-Hosts possibly with ESXi 4.0, and make sure that you use the full-licensed one  to import all old VM's to ESXi.
  • And then you will need to reboot the computer and then downgrade the ESXi License to Trial/Evaluation 60 days (with Full/All options).
  • Thereafter, you will need to connect both ESXi4 with VMware vSphere Client, and then add about  2 Hosts.
  • You will then need to check all consumed memory space, and then you will commit  it to the used RAM for all VM's including 'the dead ones'.
  • After that you will need to reboot ESX-Hosts once, and then start the l VM's to check and test if everything was fine and running.
  • After that you can upgrade the License again to its 'normal ordered License.

-Clair Charles

 

Answered By 0 points N/A #104919

Cannot install the vCenter Agent Service

qa-featured

Thank you Pheonix Team and Clair Charles. Both your solutions really helped. I don't know what to do without you guys.

I used the link given by Pheonix Team and also troubleshooted using Clair Charles solutions.

Many thanks! My VCenter is okay now.

Thanks TechyV!

Related Questions