VMware Cloud Community
hiwaylee
Contributor
Contributor

about install(upgrade) vm-tools problem !

After update ESX host, I must upgrade vm's vm-tools. The process like this:


[root@VM vmware-tools-distrib]# ./vmware-install.pl

A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version 4).

Keeping the tar4 installer database format.

You have a version of VMware Tools installed.  Continuing this install will

first uninstall the currently installed version.  Do you wish to continue?

(yes/no) [yes]

Error: Unable to execute "/usr/bin/vmware-uninstall-tools.pl.

Uninstall failed.  Please correct the failure and re run the install.

Execution aborted.


I had find a KB try to fix this problem, please check this KB

"Installing and Upgrading VMware tools on vCenter Mobile Appliance (2001191)"

when I run the step 7. ./vmware-uninstall-tools.pl

I find the problem :

[root@VM-CentOS-MRTG bin]# ./vmware-uninstall-tools.pl

Uninstalling the tar installation of VMware Tools.

Stopping services for vmware-tools

initctl: Unknown job: vmware-tools

Can't exec "/etc/vmware-caf/pme/install/preuninstall.sh": No such file or directory at ./vmware-uninstall-tools.pl line 4106.

Unable to find the answer CAFVARDIR in the installer database

(/etc/vmware-tools/locations). You may want to re-install VMware Tools.

Execution aborted.

I don't know how to fix the problem, can you give any suggestion ?


Thank you.



0 Replies