Huh? Why ‘service vmware-tools status’ no longer works on newer Linux VMs – Tip of the Week

After deploying a CentOS v6.6 VM via vCloud Director today, I was puzzled that I couldn’t confirm whether VMware Tools was running after installing it.

[root@ZenOSS-POC ~]# service vmware-tools status
vmware-tools: unrecognized service

Huh? Surely not!

[root@ZenOSS-POC ~]# ps -ef|grep tools|grep –v grep
root 2409 1 0 21:25 ? 00:00:00 /usr/sbin/vmtoolsd

Weird right? VMware Tools IS running…

The answer lies in the fact that for vSphere 5.x versions of VMWare Tools installed on the latest Linux’s, the upstart mechanism is now used, instead of the old /etc/init.d/script and chkconfig / service mechanisms.

So now:

[root@ZenOSS-POC ~]# status vmware-tools
vmware-tools start/running

So here’s the upstart command set you’ll need to manage this (and other) service(s) on the newer Linux’s:

stop vmware-tools
start vmware-tools
status vmware-tools
restart vmware-tools


About Michael Abboud

Linux / Unix Technical Specialist
This entry was posted in Linux / Unix Tips and tagged , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s