Jump to content

Hardware Status and vCenter Service Status Not Working

  • PrintPrint

Issue

ESX and vCenter 4.0 Update 1.
When displaying hardware status for ESX hosts and vCenter Service Status, error message:
An error occurred, please try again in another vSphere session.
Things tried:
  1. Disable Internet Explorer Enhanced Security Configuration.
  2. Restart the VMware VirtualCenter Management Webservices and vCenter Server service.
  3. Go through the following website:
    Click here to access the technical article at http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=1000153&sliceId=1&docTypeID=DT_KB_1_1&dialogID=347068064&stateId=1.
  4. Stop service VMware VirtualCenter Management Webservices.
    Delete C:\Program Files (x86)\VMware\Infrastructure\tomcat\webapps\vws\data\VcCache-default-0.XhiveDatabase.
    Start service again.
  5. Add vCenter hostname and IP address to C:\WINDOWS\system32\drivers\etc\hosts.
  6. Apply the procedure explained in the following website:
    Click here to access the technical article at http://kb.vmware.com/kb/1014213.
    NOTE: The above-mentioned URLs will take you to a non-HP Web site. HP does not control and is not responsible for information outside of the HP Web site.
    If the issue is with the vCenter server shortname resolution, specify an IP in the advanced settings of the vCenter server:
    In the vSphere Client, connect to the vCenter Server and select Administration, vCenter Server Settings, Advanced Settings.
    In the VirtualCenter.VimApilurl and VirtualCenter.VimWebServicesUrl fields, replace the short name of the vCenter Server with the IP address of the vCenter.
    For exampl: https://172.16.8.2:8443/vws.
    Click OK.
  7. Open your Internet Explorer security settings and enable the option Allow scripting of Internet Explorer web browser control.
  8. Deactive firewall.
    Ensure TCP port 8443 communication is open from vSphere Client to vCenter Server.
  9. If an issue with SSL certificates:
    • Make a backup copy of rui.crt in the SSL folder on the vCenter.
    • Open rui.crt with a text editor such as notepad, vi or nano.
    • In rui.crt, delete any text above the line:
      -----BEGIN CERTIFICATE-----
    • Restart the VirtualCenter Service and Tomcat Webservices.
    NOTE:Probably the user has to reconnect ESX hosts in vCenter.
  10. Add FQDN of vCenter to Trusted Sites in browser.
    Also add 127.0.0.1 and localhost.
  11. Check C:\Program Files\VMware\Infrastructure\tomcat\conf\server.xml for keystorePass="testpassword"?
    If that was changed, put testpassword back.

Solution

Finally, step 6 solved the problem.
Some unknown host name was found in vCenter.vimWebServicesUrl and VirtualCenter.VimApilurl.
Changing to IP address of vCenter server solves the problem.
Change from:
https://<unknown_hostname>:443/sdk
To:
https://<IP_Address>:443/sdk.
Change from:
https://<unknown_hostname>:8443/vws
To:
https://<IP_Address>:8443/vws.

HP Support forums

Find solutions and collaborate with others on the HP Support Forum