zhouu 发表于 2018-6-5 09:07:06

VMware vSphere Client无法连接ESXi虚拟主机解决方法

  
Restarting the Management agents on an ESXi or ESX host (1003490)
  http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003490
  

  1 一般情况下重启services.sh就可以解决(或图形界面下restart management agent)
services.sh restart
2 若重启services.sh报错且仍然无法连接
watchdog-hostd:PID file /var/run/vmware/watchdog-hostd.PID not found
watchdog-hostd:Unable to terminate watchdog:Can't find process
/etc/init.d/hostd:kill:48:(84046924)-No such process
这个报错是由于启动/关闭hostd服务器引起的。说明hostd进程没kill到。(原因运行一下/etc/init.d/hostd start or stop就知道)
ps | grep hostd 你会看到
123456233789789789hostd
456123358789789789hostd
123            789789789hostd
123458985789789789hostd
........
说明有hostd进程
那运行/etc/init.d/hostdstop
再运行
ps | grep hostd
123456233789789789hostd
456123358789789789hostd
123            789789789hostd
123458985789789789hostd
........
说明hostd根本没有kill到
于是手动kill,选择任意一个子进程ID kill就可以
如:kill -9 123458985
然后再运行ps | grep hostd ,发现已经没有输入,说明hostd已经kill掉。
于是再运行/etc/init.d/hostd start 就可以。
页: [1]
查看完整版本: VMware vSphere Client无法连接ESXi虚拟主机解决方法