Support > Knowledge Base
Knowledge Base

Search the Knowledge Base: |
Search the Knowledge Base: |
Service mgmt-vmware restart may not restart hostd
Symptoms
- You are using the command service mgmt-vmware restart but it does not finish restarting hostd.
- The script gets stuck when stopping the service.
-
The SSH session to the ESX host becomes unresponsive.
-
hostd does not restart
Resolution
You must manually stop the stuck service and restart it.
To stop the service and restart it:
-
Log in as root to the ESX host command-line via the physical console or via KVM connection.
- Navigate to the /var/run/vmware directory:
# cd /var/run/vmware
-
Run the following command to list the files vmware-hostd.PID and watchdog-hostd.PID :
# ls -l vmware-hostd.PID watchdog-hostd.PID - Determine the Process ID (PID) management service. View the contents of the vmware-hostd.PID file:
# cat vmware-hostd.PID
For example:
[root@vmware]# cat vmware-hostd.PID
1191[root@vmware]#
-
Use the resulting PID to kill the process.
Caution: Use the kill -9 command with care. It kills the process of the supplied PID without exception or confirmation.
# kill -9 <PID>
In this example you run kill -9 1191. - Delete the vmware-hostd.PID and watchdog-hostd.PID files:
# rm vmware-hostd.PID watchdog-hostd.PID
- Start the management service.
# service mgmt-vmware start
Feedback
Actions
- KB Article: 1005566
- Updated: Nov 17, 2009
- Products:
VMware ESX - Product Versions:
VMware ESX 3.0.x
VMware ESX 3.5.x

