Cannot install the vCenter agent

When trying to connect/reconnect a host I get that it cannot install the vCenter server agent on the ESX host. The error says "Unknown installer error". Ssh'ing to the host and trying rpm commands just locks up.

Related tags: VMware

Kill all rpm processes

# killall -9 rpm


Then remove and rebuild the rpm database (Backing up to /tmp just in case):

# cp -R /var/lib/rpm /tmp/
# rm -fr /var/lib/rpm/__db*
# rpm -vv --rebuilddb


Try an rpm command to make sure it returns with information

# rpm -qa | grep vpxa

Rating: 1

Propose a different solution...