VMware
 

Knowledge Base

Search the Knowledge Base:

Products:
Search In:
 

VMware VirtualCenter service does not start automatically after reboot

Symptoms

  • VirtualCenter service does not start after reboot
  • VMware Infrastructure (VI) Client cannot connect to VirtualCenter
  • You are using Microsoft SQL Server or SQL Express
  • VirtualCenter Server service can be started manually with no problems

Purpose

In some cases a race condition can occur and VirtualCenter starts before the SQL database it depends on.
 
This article provides steps to prevent the race condition from occurring.

Resolution

This issue may occur if the VirtualCenter Server service starts before one of the services it depends on. The VirtualCenter Server service is dependent on the following services:
  • SQL Services
  • ADAM Services (when using linked mode in vCenter Server 4.0)
To resolve this issue, add a dependency to the VirtualCenter service so that it only starts after the necessary services have started.

Note: This solution assumes that the database server and the SQL server reside on the same machine. If the SQL server is on a different physical machine, you must ensure that the SQL server is functioning before attempting to start the VirtualCenter service.
 
To create a service dependency:
  1. Click Start > Run.
  2. Type services.msc and press Enter.
  3. Locate any services that VirtualCenter requires. For example, SQLEXP_VIM or ADAM_VCMSDS.
  4. Open the service properties and note the Service Name. For example, MSSQL$SQLEXP_VIM .
  5. In the Run dialog, type Regedit.exe and press Enter. Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vpxd.
  6. Double-click the DependOnService key and add the Service name using the name identified in step 4.
  7. Close Regedit.
  8. Go back to the Services window and open the service properties for the service identified in step 3.
  9. On the Dependencies tab, verify the VMware VirtualCenter service is listed as depending on the service.
  10. Repeat steps 3 to 9 for any services that VirtualCenter requires.

Additional Information

For more information on the DependOnService key, see the Microsoft article http://support.microsoft.com/kb/193888.
Note: The preceding link was correct as of December 8, 2009. If you find the link is broken, provide feedback and a VMware employee will update the link.

Feedback

Rate this article:
(19 Ratings)

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
Email address (optional)
Submit
Rate this article:
(19 Ratings)
Actions