VMware Cloud Community
LukeS2
Contributor
Contributor

Problems upgrading from 5.0 to 5.0 U1b

Hi,

We are trying to upgrade our VMware vCenter from version 5.0 to version 5.0 Update 1B and are hitting an error. The error message that we are getting is "Error 25004.Setup failed to create the vCenter Server repository".

We are using MS SQL Server 2008 with windows authentication only on a Windows 2008 R2 server (64bit).

Here are the relevant lines from the installation log file (full log files attached):

VMware VirtualCenter-build-804277: 10/23/12 11:03:31 --- CA exec: VMUpdateDbVersion
VMware VirtualCenter-build-804277: 10/23/12 11:03:34 ERROR: Failed to connect to DSN: -1
VMware VirtualCenter-build-804277: 10/23/12 11:03:34 ODBC Error: [Microsoft][SQL Server Native Client 10.0][SQL Server]Login failed for user 'AGBNMRNZ\Administrator'.
VMware VirtualCenter-build-804277: 10/23/12 11:03:34 Error connecting to database
VMware VirtualCenter-build-804277: 10/23/12 11:03:34 Posting error message 25004
VMware VirtualCenter-build-804277: 10/23/12 11:03:43 MsiProcessMessage returned: 1
VMware VirtualCenter-build-804277: 10/23/12 11:03:43 End Logging
VMware VirtualCenter-build-804277: 10/23/12 11:03:44 Begin Logging

And from running an ODBC trace:

MsiExec         1a10-1cac    EXIT  SQLConnectW  with return code -1 (SQL_ERROR)
        HDBC                0x00000000007BF0B0
        WCHAR *             0x00000000007B7740 [      -3] "VMware vCenter\ 0"
        SWORD                       -3
        WCHAR *             0x000007FEF4A88F08 [      -3] "******\ 0"
        SWORD                       -3
        WCHAR *             0x000007FEF4A88F08 [      -3] "******\ 0"
        SWORD                       -3

        DIAG [28000] [Microsoft][SQL Server Native Client 10.0][SQL Server]Login failed for user 'AGBNMRNZ\Administrator'. (18456)

        DIAG [42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]Cannot open database "VIM_VCDB" requested by the login. The login failed. (4060)

The strange thing is that earlier on in the installation it manages to authenticate without any problems:

MsiExec         1adc-1cd0    EXIT  SQLConnectW  with return code 1 (SQL_SUCCESS_WITH_INFO)
        HDBC                0x000000000051B8F0
        WCHAR *             0x0000000000517A20 [      -3] "VMware vCenter\ 0"
        SWORD                       -3
        WCHAR *             0x000007FEF4A88F08 [      -3] "******\ 0"
        SWORD                       -3
        WCHAR *             0x000007FEF4A88F08 [      -3] "******\ 0"
        SWORD                       -3

        DIAG [01000] [Microsoft][SQL Server Native Client 10.0][SQL Server]Changed database context to 'VIM_VCDB'. (5701)

        DIAG [01000] [Microsoft][SQL Server Native Client 10.0][SQL Server]Changed language setting to us_english. (5703)

Steps that I have tried:

  • Creating the 32bit ODBC settings for the DSN string "VMware vCenter" under System DSN, all settings identical to what is currently being used for 64bit ODBC applications. ODBC connectivity test succeeds.
  • Trying local and domain admin user accounts. Both of these users can successfully connect to the DB using SQL Management studio with windows auth.

It definitely seems like an authentication issue but I'm unsure as what to try next. Any help would be greatly appreciated.

Regards,

Luke

Tags (2)
0 Kudos
1 Reply
vmroyale
Immortal
Immortal

Hello and welcome to the communities.

Note: Discussion successfully moved from VMware vCenter™ Server to vSphere Upgrade & Install

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
0 Kudos