VMware vSphere

 View Only
  • 1.  vpxd log error messages - login failure question

    Posted Jan 17, 2014 07:58 PM

    Services won't start up.   I'm trying to move my database (from localhost/sql express) to a sql server.  I moved the database over and am getting a "Login failure" messages.

    Here is a sample of vpxd-17.log

    2014-01-17T11:51:07.029-08:00 [04136 info 'utilvpxdVdb'] [VpxdVdb::SetDBType] Logging in to DSN: VMware vCenter with username

    2014-01-17T11:51:07.045-08:00 [01020 info 'Default'] Thread attached

    2014-01-17T11:51:07.045-08:00 [01020 info 'ThreadPool'] Thread enlisted

    2014-01-17T11:51:07.045-08:00 [03328 info 'Default'] Thread attached

    2014-01-17T11:51:07.076-08:00 [04136 error 'utilvpxdVdb'] [VpxdVdb::SetDBType]: Login failure - retrying once...

    2014-01-17T11:51:07.076-08:00 [04136 error 'utilvpxdVdb'] [VpxdVdb::SetDBType] Failed to connect to database: .  Retry attempt: 1 ...

    2014-01-17T11:51:17.096-08:00 [04136 info 'utilvpxdVdb'] [VpxdVdb::SetDBType] Logging in to DSN: VMware vCenter with username

    2014-01-17T11:51:17.127-08:00 [04136 error 'utilvpxdVdb'] [VpxdVdb::SetDBType] Encountered login error. Subsequent connection attempt failed: 28000

    2014-01-17T11:51:17.127-08:00 [04136 error 'utilvpxdVdb'] [VpxdVdb::SetDBType] Aborting after 1 retries.

    2014-01-17T11:51:17.127-08:00 [04136 error 'Default'] Error getting configuration info from the database

    2014-01-17T11:51:17.127-08:00 [04136 warning 'VpxProfiler'] Vpxd::ServerApp::Init [VpxdVdb::Init(VpxdVdb::GetVcVdbInstId(), false, false, NULL)] took 10093 ms

    2014-01-17T11:51:17.127-08:00 [04136 error 'vpxdvpxdMain'] [Vpxd::ServerApp::Init] Init failed: VpxdVdb::Init(VpxdVdb::GetVcVdbInstId(), false, false, NULL)

    --> Backtrace:

    --> backtrace[00] rip 000000018018a8ca

    --> backtrace[01] rip 0000000180102f28

    --> backtrace[02] rip 000000018010423e

    --> backtrace[03] rip 000000018008e00b

    --> backtrace[04] rip 00000000003c5c2c

    --> backtrace[05] rip 00000000003e6512

    --> backtrace[06] rip 00000001405fbafc

    --> backtrace[07] rip 00000001405fa51c

    --> backtrace[08] rip 000000014081c92b

    --> backtrace[09] rip 000007feff07a82d

    --> backtrace[10] rip 00000000771e652d

    --> backtrace[11] rip 000000007741c541

    -->

    2014-01-17T11:51:17.159-08:00 [04136 warning 'VpxProfiler'] ServerApp::Init [TotalTime] took 10124 ms

    2014-01-17T11:51:17.159-08:00 [04136 error 'Default'] Failed to intialize VMware VirtualCenter. Shutting down...

    2014-01-17T11:51:17.159-08:00 [04136 info 'vpxdvpxdSupportManager'] Wrote uptime information

    2014-01-17T11:51:17.159-08:00 [04136 error 'Default'] Alert:false@ d:/build/ob/bora-947673/bora/vpx/vpxd/util/vdb.cpp:422

    --> Backtrace:

    --> backtrace[00] rip 000000018018a8ca

    --> backtrace[01] rip 0000000180102f28

    --> backtrace[02] rip 000000018010423e

    --> backtrace[03] rip 000000018009a09a

    --> backtrace[04] rip 000000013fdb5c09

    --> backtrace[05] rip 00000001405f9aa2

    --> backtrace[06] rip 00000001405fa55a

    --> backtrace[07] rip 000000014081c92b

    --> backtrace[08] rip 000007feff07a82d

    --> backtrace[09] rip 00000000771e652d

    --> backtrace[10] rip 000000007741c541

    -->

    2014-01-17T11:51:17.159-08:00 [04136 info 'utilvpxdVdb'] Registry Item DB 5 value is '50'

    2014-01-17T11:51:17.159-08:00 [04136 info 'utilvpxdVdb'] [VpxdVdb::SetDBType] Logging in to DSN: VMware vCenter with username

    2014-01-17T11:51:17.174-08:00 [04136 error 'utilvpxdVdb'] [VpxdVdb::SetDBType]: Login failure - retrying once...

    2014-01-17T11:51:17.174-08:00 [04136 error 'utilvpxdVdb'] [VpxdVdb::SetDBType] Failed to connect to database: .  Retry attempt: 1 ...

    2014-01-17T11:51:19.047-08:00 [04348 warning 'VpxProfiler' opID=SWI-e445818d] VpxUtil_InvokeWithOpId [TotalTime] took 12012 ms

    2014-01-17T11:51:19.047-08:00 [03496 info 'Default'] Thread attached

    2014-01-17T11:51:19.047-08:00 [03496 info 'ThreadPool'] Thread enlisted

    2014-01-17T11:51:27.194-08:00 [04136 info 'utilvpxdVdb'] [VpxdVdb::SetDBType] Logging in to DSN: VMware vCenter with username

    2014-01-17T11:51:27.226-08:00 [04136 error 'utilvpxdVdb'] [VpxdVdb::SetDBType] Encountered login error. Subsequent connection attempt failed: 28000

    2014-01-17T11:51:27.226-08:00 [04136 error 'utilvpxdVdb'] [VpxdVdb::SetDBType] Aborting after 1 retries.

    2014-01-17T11:51:27.226-08:00 [04136 error 'Default'] Error getting configuration info from the database

    2014-01-17T11:51:27.226-08:00 [04136 warning 'vpxdvpxdMain'] Database not initialized. Nothing to unlock

    2014-01-17T11:51:27.226-08:00 [04136 info 'Default'] Forcing shutdown of VMware VirtualCenter now

    I moved the database and updated the DSN.  I'm not sure if I need to move the "RSA" database too?  But the real question is - what login ID is it trying to use?  I used vpxd.exe -p to reset the password, but that did not help.  ALthough I'm not sure what user name it is using and I need to set up?

    Thanks for any assistance!



  • 2.  RE: vpxd log error messages - login failure question

    Posted Jan 17, 2014 10:20 PM

    I followed everything in here:

    http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2015824

    But it still did not work.  I finally changed the virtualcenter service to start with domain\administrator which I was using to connect using odbc (pass through authentication) and this domain user had dbo access to the database.  It then worked.

    My question was - I see some posts that say to change to LocalSystem to fix this problem, but in my cast it was the opposite. 

    When using LocalSystem for the service - why did it not work? 

    I want to understand this process - what credentials would the service use if using LocalSystem? 

    Is LocalSystem unable to pass the windows credentials across to a remote SQL server?

    Thank you for any information.



  • 3.  RE: vpxd log error messages - login failure question

    Posted Jan 20, 2014 09:05 AM

    Is your sql server configured to use mixed mode authentication(sa/<password>) or is it purely windows based auth?

    Regards

    Girish



  • 4.  RE: vpxd log error messages - login failure question

    Posted Sep 19, 2014 01:50 PM

    Was this ever resolved ?

    I am doing a scripted install and find the exact same issue

    I am using windows auth

    I have to change to use admin account and it starts fine , as local system account i get the error above -- this is only during a scripted install , if i install manually or use the bundled DB then it works fine

    Any ideas ?



  • 5.  RE: vpxd log error messages - login failure question

    Posted Feb 11, 2016 02:29 AM

    This resolved the issue for me.

    Sorry about the link I had to have google translate it for me.