vCenter fails to start after DSN changes

I had to change user name and password for vCenter DB DSN entry. After change vCenter service fails to start. In a vCenter logs there was an entry pointing on problems with authentication to vCenter database because old user name and password was used for it, see part of the log below. Of course, like in 99,9 % of Windows application at least part of configuration is kept in Windows registry Smile.

In order to fix it you have to do following:

  • Make changes in Windows registry
  • Update DSN password for vpxd.exe process
Make changes in registry
  • In registry editor go to HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\VMware Virtualcenter\DB
  • modify registry values for user name and for DSN name if needed.
registry editor

registry editor

Update DSN password
  • Execute command vpxd.exe -p as Administrator in the folder where vCenter server is installed.
  • provide new password for vCenter DB

After above actions reboot vCenter server or manually stop and start vCenter processes in below order:

  1. Stop vCenter inventory services
  2. Stop vCenter WEB services
  3. Start vCenter inventory services
  4. Start vCenter services – vCenter Web service will start along

Artur Krzywdzinski

Artur is Consulting Architect at Nutanix. He has been using, designing and deploying VMware based solutions since 2005 and Microsoft since 2012. He specialize in designing and implementing private and hybrid cloud solution based on VMware and Microsoft software stacks, datacenter migrations and transformation, disaster avoidance. Artur holds VMware Certified Design Expert certification (VCDX #077).