03-16-2021 03:11 PM
hello
After upgradit fmc 6.3 to 6.7, cannot start vmware tools. On system/configuration/VMware tools, after trying enable VMware tools, i got Error - Failed to enable VMware Tools. ESXi is supported version 6.7
so i tried to log-in into cli, and when trying to get tools status i got those errors:
root@vmfmc:/etc/vmware-tools/init# ./vmware-tools-services
./vmware-tools-services: line 17: /usr/lib/vmware-tools/moduleScripts/services/vmware-db.pl: No such file or directory
./vmware-tools-services: line 40: /usr/lib/vmware-tools/moduleScripts/services/vmware-db.pl: No such file or directory
./vmware-tools-services: line 41: /usr/lib/vmware-tools/moduleScripts/services/vmware-db.pl: No such file or directory
Usage: vmware-tools-services {start|stop|status|restart|force-reload}
so i checked /usr/lib (and just to be sure also /usr/lib64) and can't find directory vmware-tools
any ideas?
so i checked
Solved! Go to Solution.
03-24-2021 03:31 PM - edited 03-24-2021 03:34 PM
Hello,
Please open a TAC case so an engineer can help you with the following workaround:
== Workaround to resolve vmware tools issue:
1. From expert, elevate to root user with sudo su and enter your password
root@firepower:/# updatedb
root@firepower:/# locate vmware | grep -vw sf
2. This will help you determine if VMWare has been previously installed. If it was installed you will see one or more of the following:
/usr/lib/vmware-tools
/etc/vmware-tools
/etc/init/vmware-tools.conf
/etc/ld.so.conf.d/vmware-tools-libraries.conf
/etc/modprobe.d/vmware-tools.conf
/etc/selinux/targeted/modules/active/modules/vmware.pp
/etc/dracut.conf.d/vmware-tools.conf
/usr/bin/vmware-*
/usr/sbin/vmware-*
/usr/share/doc/vmware-*
3. Verify if VMWare tools are currently installed:
root@firepower:/# rpm -qa --last | grep vmware | awk '{print $1}' | xargs rpm -e
4. Next, run the following:
root@firepower:/# rm -rf /usr/lib/vmware-tools
root@firepower:/# rm -rf /etc/vmware-tools
5. And run the previous command again to see if the files are still there:
root@firepower:/# updatedb
root@firepower:/# locate vmware | grep -vw sf
6. Finally, try to re-enable VMWare tools
03-24-2021 03:31 PM - edited 03-24-2021 03:34 PM
Hello,
Please open a TAC case so an engineer can help you with the following workaround:
== Workaround to resolve vmware tools issue:
1. From expert, elevate to root user with sudo su and enter your password
root@firepower:/# updatedb
root@firepower:/# locate vmware | grep -vw sf
2. This will help you determine if VMWare has been previously installed. If it was installed you will see one or more of the following:
/usr/lib/vmware-tools
/etc/vmware-tools
/etc/init/vmware-tools.conf
/etc/ld.so.conf.d/vmware-tools-libraries.conf
/etc/modprobe.d/vmware-tools.conf
/etc/selinux/targeted/modules/active/modules/vmware.pp
/etc/dracut.conf.d/vmware-tools.conf
/usr/bin/vmware-*
/usr/sbin/vmware-*
/usr/share/doc/vmware-*
3. Verify if VMWare tools are currently installed:
root@firepower:/# rpm -qa --last | grep vmware | awk '{print $1}' | xargs rpm -e
4. Next, run the following:
root@firepower:/# rm -rf /usr/lib/vmware-tools
root@firepower:/# rm -rf /etc/vmware-tools
5. And run the previous command again to see if the files are still there:
root@firepower:/# updatedb
root@firepower:/# locate vmware | grep -vw sf
6. Finally, try to re-enable VMWare tools
05-04-2021 05:02 PM
This worked for me also.
05-17-2021 12:25 PM
This just worked for me in 6.7.0.2. Re-enable VMware Tools in the FMC by going to System>Configuration>VMware Tools.
08-18-2021 04:35 AM
worked for me also
but the locate seems not working anymore
this command: rpm -qa --last | grep vmware | awk '{print $1}' | xargs rpm -e
was giving me this: rpm: no packages given for erase
so assume was not installed
run these
rm -rf /usr/lib/vmware-tools
rm -rf /etc/vmware-tools
then updatedb
and was able to enable the tools from the configuration page
12-11-2021 12:19 PM
This just worked for me as well under 7.0.1 the /usr/lib/vmware-tools directory did not exist on my system and the locate returned this error locate: Old-format locate database '/var/locatedb' is too short to be valid.
However I was able to enable vmwater-tools now.
01-12-2022 12:27 AM
Everything else besides these:
rm -rf /usr/lib/vmware-tools rm -rf /etc/vmware-tools
is just for verification and not strictly required.
Can confirm this works as a workaround for 7.0.1
01-27-2022 05:57 AM
This worked for me with 7.0.1 as well.
08-20-2021 03:25 AM
Hi
that works for me
Thx
Yordan
03-27-2021 11:01 AM
These steps worked perfectly for me.
03-31-2021 03:01 AM
Can confirm, it is working
thanks for help
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide