Searching for a virtual machine using the vCenter Server search option fails with error: Login to the query service failed. The remote name could not be resolved
search cancel

Searching for a virtual machine using the vCenter Server search option fails with error: Login to the query service failed. The remote name could not be resolved

book

Article ID: 308840

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
  • Unable to query the virtual machine details using the vCenter Server search option.
  • Querying the virtual machine details using the vCenter Server search option fails.
  • You see the error:
Login to the query service failed. The remote name could not be resolved.
  • Querying for virtual machines directly within the ESX host works properly.


Environment

VMware vCenter Server 5.1.x
VMware vCenter Server 5.0.x
VMware vCenter Server 4.1.x

Cause

This issue may occur if an incorrect FQDN is referenced in the vCenter Server Advanced Settings. This can be due to DNS issue and FQDN is not able to resolve in the Environment.

Resolution

To resolve the issue if FQDN is incorrect :
  1. Navigate to Administration > vCenter Server Settings... > Advanced Settings .
  2. Update these attributes with the correct FQDN for vCenter Server:

    VirtualCenter.VimApiUrl : https://<vCenter Server FQDN>:443/sdk
    VirtualCenter.VimWebServiceUrl : https://<vCenter ServerFQDN>:8443/vws

  3. Restart the VirtualCenter Management Webservices service. For more information, see Stopping, starting, or restarting vCenter services (1003895).
Note: If your problem still exists after trying the steps in this article, file a support request with VMware Support and note this Knowledge Base article ID (1036541) in the problem description. For more information, see How to Submit a Support Request.
Fix the DNS resolution issues if exists in the environment.

For more information related to Windows XP and Windows 2003 (32bit and 64bit), see the VMware vSphere 5.1 Release Notes.


Additional Information


How to stop, start, or restart vCenter Server services
VMware vCenter Management Webservices features do not function properly
Logging in to the vCenter Server 5.0 Web Client fails with the error: unable to connect to vCenter Inventory Service
vCenter Server 検索オプションを使用した仮想マシンの検索に次のエラーで失敗する: Login to the query service failed.The remote name could not be resolved
使用 vCenter Server 搜索选项搜索虚拟机失败,并出现以下错误“登录查询服务失败。无法解析远程名称”