On several systems running Redhat 6.3 today we noticed that we missed vmware-tools inside /etc/init.d and when executing chkconfig –list | grep vmware.
Searching for a solution i came across a post explaining this:
Running Vsphere 5.x and have installed the VMWare tools on a Redhat 6.X / CentOS 6.x x64 system.
As of version 8.6.11.20852 (build-1015158) the vmware tools install script vmware-install.pl does not create the start script in /etc/init.d that is necessary to startup vmware tools on reboot.
So, how to Fix this:
Create a new init script from the services.sh script located in the /etc/vmware-tools directory
On the command line:
[root@tmprh6]# cp /etc/vmware-tools/services.sh /etc/init.d/vmware-tools [root@tmprh6]# vim /etc/init.d/vmware-tools
1 – Paste the following code snippet just below the line ##VMWARE_INIT_INFO##
# Basic support for IRIX style chkconfig # chkconfig: 235 03 99 # description: Manages the services needed to run VMware software
2 – Delete => ##VMWARE_INIT_INFO##
3 – SAVE /etc/init.d/vmware-tools
Add the vmware-tools into chkconfig:
[root@tmprh6]# chkconfig --add vmware-tools (two dashes) [root@tmprh6]# chkconfig vmware-tools on [root@tmprh6]# chkconfig –list | grep vmware
Verify that it works:
[root@tmprh6]# services vmware-tools restart
File vmware-tools:
#!/bin/sh # # Copyright (C) 1998-2010 VMware, Inc. All Rights Reserved. # # This script manages the services needed to run VMware software # Basic support for IRIX style chkconfig # chkconfig: 235 03 99 # description: Manages the services needed to run VMware software # BEGINNING_OF_UTIL_DOT_SH #!/bin/sh # # Copyright 2005-2011 VMware, Inc. All rights reserved. # # A few utility functions used by our shell scripts. Some expect the settings # database to already be loaded and evaluated. .. Data truncated ..