[Solved] VMware Tools installed, but according to ESXi they're not...

Started by Mr. Happy, August 11, 2020, 09:02:54 PM

Previous topic - Next topic
I installed OS-VMware plugin and it installs fine, according to OPNsense, but in ESXi it says VMware Tools are not installed.
How can I find out what went wrong?
ps -ef gives but a few processes, not what I expected....
`
/usr/local/opnsense/version/vmware
/usr/local/share/open-vm-tools/scripts/vmware
/usr/local/share/vmware-tools/scripts/vmware
`
are the only files/folders I found with vmware in the name, the first has a version in it (1.5) the second is an empty folder and the third has a network folder in it with a script...
Running that script does nothing, as far as I can tell...

I'm seeing version 2147483647 (Guest Managed) in vSphere and ps aux | grep vm gives:

root    ...  0:00.00 [vmdaemon]
root    ... 10:58.48 /usr/local/bin/vmtoolsd -c /usr/local/share/vmware-tools/tools.conf -p /usr/local/lib/open-vm-tools/plugins/vmsvc

Bart...

Quote from: Mr. Happy on August 11, 2020, 09:02:54 PM
I installed OS-VMware plugin and it installs fine, according to OPNsense, but in ESXi it says VMware Tools are not installed.
How can I find out what went wrong?
ps -ef gives but a few processes, not what I expected....
`
/usr/local/opnsense/version/vmware
/usr/local/share/open-vm-tools/scripts/vmware
/usr/local/share/vmware-tools/scripts/vmware
`
are the only files/folders I found with vmware in the name, the first has a version in it (1.5) the second is an empty folder and the third has a network folder in it with a script...
Running that script does nothing, as far as I can tell...

I had this on initial plugin install but had to reboot for it to startup.

# pkg info -l open-vm-tools-nox11
open-vm-tools-nox11-11.1.0,2:
   /etc/vmware-tools/tools.conf.example
   /usr/local/bin/vm-support
   /usr/local/bin/vmhgfs-fuse
   /usr/local/bin/vmtoolsd
   /usr/local/bin/vmware-checkvm
   /usr/local/bin/vmware-hgfsclient
   /usr/local/bin/vmware-namespace-cmd
   /usr/local/bin/vmware-rpctool
   /usr/local/bin/vmware-toolbox-cmd
   /usr/local/bin/vmware-vmblock-fuse
   /usr/local/bin/vmware-xferlogs
   /usr/local/etc/pam.d/vmtoolsd
   /usr/local/etc/rc.d/vmware-guestd
   /usr/local/etc/rc.d/vmware-kmod
   /usr/local/include/vmGuestLib/includeCheck.h
   /usr/local/include/vmGuestLib/vmGuestLib.h
   /usr/local/include/vmGuestLib/vmSessionId.h
   /usr/local/include/vmGuestLib/vm_basic_types.h
   /usr/local/lib/libguestlib.a
   /usr/local/lib/libguestlib.so
   /usr/local/lib/libguestlib.so.0
   /usr/local/lib/libguestlib.so.0.0.0
   /usr/local/lib/libhgfs.a
   /usr/local/lib/libhgfs.so
   /usr/local/lib/libhgfs.so.0
   /usr/local/lib/libhgfs.so.0.0.0
   /usr/local/lib/libvmtools.a
   /usr/local/lib/libvmtools.so
   /usr/local/lib/libvmtools.so.0
   /usr/local/lib/libvmtools.so.0.0.0
   /usr/local/lib/open-vm-tools/plugins/common/libhgfsServer.so
   /usr/local/lib/open-vm-tools/plugins/common/libvix.so
   /usr/local/lib/open-vm-tools/plugins/vmsvc/libguestInfo.so
   /usr/local/lib/open-vm-tools/plugins/vmsvc/libpowerOps.so
   /usr/local/lib/open-vm-tools/plugins/vmsvc/libtimeSync.so
   /usr/local/lib/open-vm-tools/plugins/vmsvc/libvmbackup.so
   /usr/local/lib/vmware-tools/modules/drivers/vmblock.ko
   /usr/local/lib/vmware-tools/modules/drivers/vmmemctl.ko
   /usr/local/libdata/pkgconfig/vmguestlib.pc
   /usr/local/sbin/mount_vmblock
   /usr/local/share/licenses/open-vm-tools-nox11-11.1.0,2/LGPL21
   /usr/local/share/licenses/open-vm-tools-nox11-11.1.0,2/LICENSE
   /usr/local/share/licenses/open-vm-tools-nox11-11.1.0,2/catalog.mk
   /usr/local/share/open-vm-tools/messages/de/toolboxcmd.vmsg
   /usr/local/share/open-vm-tools/messages/de/vmtoolsd.vmsg
   /usr/local/share/open-vm-tools/messages/en/toolboxcmd.vmsg
   /usr/local/share/open-vm-tools/messages/en/vmtoolsd.vmsg
   /usr/local/share/open-vm-tools/messages/es/toolboxcmd.vmsg
   /usr/local/share/open-vm-tools/messages/es/vmtoolsd.vmsg
   /usr/local/share/open-vm-tools/messages/fr/toolboxcmd.vmsg
   /usr/local/share/open-vm-tools/messages/fr/vmtoolsd.vmsg
   /usr/local/share/open-vm-tools/messages/it/toolboxcmd.vmsg
   /usr/local/share/open-vm-tools/messages/it/vmtoolsd.vmsg
   /usr/local/share/open-vm-tools/messages/ja/toolboxcmd.vmsg
   /usr/local/share/open-vm-tools/messages/ja/vmtoolsd.vmsg
   /usr/local/share/open-vm-tools/messages/ko/toolboxcmd.vmsg
   /usr/local/share/open-vm-tools/messages/ko/vmtoolsd.vmsg
   /usr/local/share/open-vm-tools/messages/zh_CN/toolboxcmd.vmsg
   /usr/local/share/open-vm-tools/messages/zh_CN/vmtoolsd.vmsg
   /usr/local/share/open-vm-tools/messages/zh_TW/toolboxcmd.vmsg
   /usr/local/share/open-vm-tools/messages/zh_TW/vmtoolsd.vmsg
   /usr/local/share/vmware-tools/poweroff-vm-default
   /usr/local/share/vmware-tools/poweron-vm-default
   /usr/local/share/vmware-tools/resume-vm-default
   /usr/local/share/vmware-tools/scripts/vmware/network
   /usr/local/share/vmware-tools/statechange.subr
   /usr/local/share/vmware-tools/suspend-vm-default

Package looks ok to me. Drivers may not load until rebooted, maybe that changed in 20.7 with 12.1 OS change?


Cheers,
Franco

Reinstalled the driver and rebooted...
This time it worked...
Apparently a reboot is needed...

Thanks!