设为首页 收藏本站
查看: 726|回复: 0

[经验分享] Cannot open the virtual machine console (749640)

[复制链接]

尚未签到

发表于 2019-1-27 09:47:44 | 显示全部楼层 |阅读模式
Cannot open the virtual machine console (749640)
Details

  • When you try to connect to a virtual machine console from vCenter Server, you see these errors:

    • Error  connecting: Host address lookup for server  failed: The  requested name is valid and was found in the database, but it does not  have the correct associated data being resolved for Do you want to try  again?
    • Error connecting: cannot connect to host  : A connection attempt failed because the connected party  did not properly respond after a period of time, or established  connection failed because connected host has failed to respond. Do you  want to try again?
    • Error connecting: You need execute access in order to connect with the VMware console. Access denied for config file.
    • Unable to connect to MKS: failed to connect to server IP:903.

  • You cannot open a remote console to a virtual machine.
  • Virtual machine console is black (blank).
  • The VMware vSphere Client console tab session may time out or disconnect while in use.
  • Migration of virtual machines using vMotion fails.
  • This  issue may affect a single ESXi/ESX host. If the virtual machines are  moved to another ESXi/ESX host, you may be able to connect to the  console without issues.
  • This issue may occur if you try to  connect to the console using the VMware vSphere Client connected  directly to the ESXi/ESX host or to vCenter Server.
Solution
  This issue may occur if your network contains a firewall between the ESXi/ESX host and the client running the workstation.

  Validate  that each troubleshooting step below is true for your environment. The  steps will provide instructions or a link to a document, for validating  the step and taking corrective action as necessary. The steps are  ordered in the most appropriate sequence to isolate the issue and >  Notes:

  • For more information on restarting the Management agents, see Restarting the Management agents on an ESX or ESXi Server (1003490).
  • For more information on editing configuration files, see Editing configuration files in VMware ESXi and ESX (1017022).
  Follow these troubleshooting steps:

  • Log  into vCenter Server directly through Terminal Services or a Remote KVM  and attempt a connection using the vSphere Client from this system. If  this method works, the firewall may be preventing the console from  working.
  • Configure your firewall to allow communications  between the ESXi/ESX host and the workstation running the vSphere  Client using port 903. For more information, see Testing port connectivity with Telnet (1003487).  If port 903 is not open or cannot be opened in your environment, enable the vmauthd proxy. This forces remote console communication to be sent on port 902 on the Service Console, instead of 903.
      Note:  By enabling this setting there may be degradation in the performance  under heavy usage while communicating to the ESXi/ESX host service  console.
      To enable the proxy:

    • Log into the ESXi/ESX host's service console as root.
    • Open /etc/vmware/config using a text editor.
    • Add this line to the file:  vmauthd.server.alwaysProxy = "TRUE"
        Note: In ESXi 4.x and 5.x, vmauthd.server.alwaysProxy is, by default, set to true.
    • In ESX, run this command to restart xinetd:  service xinetd restart

  • Verify the ESXi/ESX firewall policy:

    • For ESXi 5.0, see About the ESXi 5.0 firewall (2005284).
    • For ESX 3.x to 4.x, see Troubleshooting the firewall policy on an ESX host (1003634).

  • Verify  that the ESXi/ESX host and the workstation running the vSphere Client  are correctly synced to an NTP service. This is required to satisfy SSL  handshaking between the vSphere Client and the ESXi/ESX host. For more  information, see Verifying time synchronization across an ESXi/ESX host environment (1003736).
  • DNS  problems are a common cause of virtual machine console problems. Verify  name resolution in your environment. For more information, see:

    • Identifying issues with and setting up name resolution on ESXi/ESX Server (1003735)
    • Configuring name resolution for VMware vCenter Server (1003713)

  • After verifying DNS, open a command prompt on the vSphere Client machine and run these commands:  ipconfig /flushdns
      ipconfig /registerdns
  • Ensure that the VMware ESXi/ESX host has enough disk space in /var and other required partitions. For more information, see Investigating disk space on an ESX or ESXi host (1003564).
  • Verify that the permissions for the virtual machine's .vmx file are set correctly. To set the permissions, run the command:  chmod 755 full_path_to_virtual_machine.vmx
  • If  your ESX host has more than one service console configured, verify that  they are not on the same network. For more information, see ESX  4.x hosts lose network connectivity when multiple service console  interfaces are configured on subnets that use DHCP IP addresses  (1010828).
  • Check if the Service Console IP is  routing traffic to the workstation running vCenter Server. For more  information on configuring the Service Console Gateway, see Changing the IP address, default gateway, and hostname of the Service Console in ESX (4309499).
  If the issue still exists after trying the steps in this article:

  • Collect the VMware Support information. For more information, see Collecting diagnostic information for VMware products (1008524).File  a support request with VMware Support and note this Knowledge Base  article>
Additional Information:
  For translated versions of this article, see:

  • Español:     No se puede abrir la consola de la máquina virtual   (2032999)
  • Português:     Não é possível abrir o console da máquina virtual   (2032453)


运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-668114-1-1.html 上篇帖子: EXCEL发现二义性的名称:auto_open 下篇帖子: window.open()与window.location()的区别
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表