阿牛 发表于 2019-1-27 09:47:44

Cannot open the virtual machine console (749640)

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:

[*]Errorconnecting: Host address lookup for serverfailed: Therequested name is valid and was found in the database, but it does nothave the correct associated data being resolved for Do you want to tryagain?
[*]Error connecting: cannot connect to host: A connection attempt failed because the connected partydid not properly respond after a period of time, or establishedconnection failed because connected host has failed to respond. Do youwant 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.
[*]Thisissue may affect a single ESXi/ESX host. If the virtual machines aremoved to another ESXi/ESX host, you may be able to connect to theconsole without issues.
[*]This issue may occur if you try toconnect to the console using the VMware vSphere Client connecteddirectly 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.

  Validatethat each troubleshooting step below is true for your environment. Thesteps will provide instructions or a link to a document, for validatingthe step and taking corrective action as necessary. The steps areordered 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:

[*]Loginto vCenter Server directly through Terminal Services or a Remote KVMand attempt a connection using the vSphere Client from this system. Ifthis method works, the firewall may be preventing the console fromworking.
[*]Configure your firewall to allow communicationsbetween the ESXi/ESX host and the workstation running the vSphereClient 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 performanceunder heavy usage while communicating to the ESXi/ESX host serviceconsole.
  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).

[*]Verifythat the ESXi/ESX host and the workstation running the vSphere Clientare correctly synced to an NTP service. This is required to satisfy SSLhandshaking between the vSphere Client and the ESXi/ESX host. For moreinformation, see Verifying time synchronization across an ESXi/ESX host environment (1003736).
[*]DNSproblems are a common cause of virtual machine console problems. Verifyname 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
[*]Ifyour ESX host has more than one service console configured, verify thatthey are not on the same network. For more information, see ESX4.x hosts lose network connectivity when multiple service consoleinterfaces are configured on subnets that use DHCP IP addresses(1010828).
[*]Check if the Service Console IP isrouting traffic to the workstation running vCenter Server. For moreinformation 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).Filea support request with VMware Support and note this Knowledge Basearticle>
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]
查看完整版本: Cannot open the virtual machine console (749640)