The Problem
On vSphere 5.x with VMware Tools installed on a CentOS 6.x x64 guest, VMware Tools doesn’t start automatically after an OS update that requires a reboot.
Starting with version 8.6.11.20852 (build-1015158), the installer script vmware-install.pl no longer creates a start script in /etc/init.d because it now uses Upstart. On top of that, the option to automatically build and install kernel modules at boot was not enabled during installation, so a new kernel leaves the tools without matching modules.
Three Ways to Fix It
Option 1: Re-run /usr/bin/vmware-config-tools.pl after every OS update that changes the kernel.
Option 2: Run /usr/bin/vmware-config-tools.pl and enable automatic building and installation of kernel modules at boot. You’ll need to remember to enable this again on future VMware Tools upgrades.
Option 3: Create your own init script from the services.sh script in /etc/vmware-tools:
cp /etc/vmware-tools/services.sh /etc/init.d/vmware-tools
vim /etc/init.d/vmware-tools
Paste this line just below ##VMWARE_INIT_INFO## and save:
# chkconfig: 235 03 99
Register the service and enable it at boot:
chkconfig --add vmware-tools
chkconfig vmware-tools on
Verify that it works:
service vmware-tools restart
