VMware Cloud Community
csimwong
Contributor
Contributor

Unable To Complete mgmt-vmware restart

I noticed in Virtual Center that one of my ESX 3.5 hosts was in a disconnected state. On the hosts console, I used the command "service mgmt-vmware restart" and it is has been stuck one of following:

"Stopping VMware ESX Server Management services:

VMware ESX Server Host Agent Services"

The service doesn't appear to be stopping and restarting and has been sitting there like this for a couple of hours now. Has anyone seen this before? I'd like to get this back connected without killing the guests with a host reboot. Any advice/suggestions would be greatly appreciated. Thanks.

0 Kudos
3 Replies
fejf
Expert
Expert

Try the following:

/etc/init.d/mgmt-vmware stop

killall -9 hostd

/etc/init.d/mgmt-vmware start

If the killall command doesn't work then use "ps -ef | grep hostd" to get the process id of the hostd process and use: "kill -9 <PROCESS_ID_HERE>" (e.g. kill -9 3632).

-- There are 10 types of people. Those who understand binary and the rest. And those who understand gray-code.
0 Kudos
IB_IT
Expert
Expert

I had this problem when I recieved a sense key error on one of the drives in the array of the local storage. Check to make sure you are not experiencing a hardware failure somewhere.

0 Kudos
alnreddy
Contributor
Contributor

Hi,

Go to service console through putty.

  1. ps -aux | grep mgmt

  1. kill -9 <PID>

  1. /et/init.d/mgmt-vmware start

Now you are connect to virtual center.

Thanks,

A.L.N.Reddy

0 Kudos