Hi all.
In short, my ESXi5 setup now seems fine, but I'm unable to create a VM at present, as the create a new virtual machine wizard seems to stick on loading (see image attached).
I get the same thing from a number of machines with the vSphere client on there and wondered if anyone had any ideas?
It seems like a problem with hostd. Try to restart the management agents with DCUI or Via command line the proceedure is given below:-
This one is very simple to fix, as it is usually caused by the host agent service (mgmt-vmware) failing due to a dead process.
First, try and restart the mgmt-vmware service:
# service mgmt-vmware restart
If you find this is hanging when trying to restart the host agent, then you’ll need to kill off the process causing the issue. Open another console session and do the following:
# ps -ef | grep hostd
This will output a list of processes using hostd similar to the following:
root 23955 1 0 10:42 pts/1 00:00:00 /bin/sh /usr/bin/vmware-watchdog -s hostd -u 60 -q 5 -c /usr/sbin/vmware-hostd-support /usr/sbin/vmware-hostd -u
root 23961 23955 4 10:42 ? 00:00:15 /usr/lib/vmware/hostd/vmware-hostd /etc/vmware/hostd/config.xml -u
root 24211 23422 0 10:48 pts/1 00:00:00 grep hostd
If you look at the output carefully you’ll see that the first process is using the vmware-watchdog, this is fine, but the second line is using hostd (config.xml -u). This is the culprit, so lets kill the process. By the way, your virtual machines will continue to run so don’t worry about that.
# kill -9 23961
What OS is the vSphere client installed on? Do you see anything in the Event viewer inside windows?
Jeff
RanjnaAggarwal wrote
First, try and restart the mgmt-vmware service:
# service mgmt-vmware restart
Above menioned command will work only on ESX.
To restart management agent on ESXi refer KB or you could connect to the host using SSH and run /sbin/services.sh
Check this to restart it in esxi
http://vm-help.com/esx/esx3i/ESXi_restart_agents.php
he is having ESXi5.0, its not having service console, so service -mgmt vmware restart and other SC commands will not work for you.
Do, one thing can you just reboot the host and check, Is this was your first time creating VM
Hi Bechkam,
Please read my another reply also i posted the another link to do this in esxi