Avatar of free5945
free5945
Flag for United States of America asked on

vCenter 4.1 service failed to start

Experts,
After reboot server, my vCenter service is unable to start.  Windows error log event id: 1000 source VMware VirtualCenter Server cannot be found.

Below is what I have:
Windows server 2008 R2.
vCenter 4.1
SQL server 2008 R2 for vCenter database on same server.

Please see my vpxd log below:

Section for VMware VirtualCenter, pid=4128, version=4.1.0, build=build-491557, option=Release
[2013-03-24 19:49:56.608 04276 info 'App'] Current working directory: C:\Windows\system32
[2013-03-24 19:49:56.612 04276 info 'App'] Log path: C:\ProgramData\VMware\VMware VirtualCenter\Logs
[2013-03-24 19:49:56.613 04276 info 'App'] Initializing SSL
[2013-03-24 19:49:56.613 04276 info 'Libs'] Using system libcrypto, version 9080EF
[2013-03-24 19:49:57.635 04276 info 'App'] Vmacore::InitSSL: doVersionCheck = true, handshakeTimeoutUs = 120000000
[2013-03-24 19:49:57.642 04276 info 'App'] Starting VMware VirtualCenter 4.1.0 build-491557
[2013-03-24 19:49:57.642 04276 info 'App'] Log directory: C:\Windows\system32\config\systemprofile\AppData\Local\VMwarevpx.
[2013-03-24 19:49:57.643 04276 info 'App'] Account name: SYSTEM
[2013-03-24 19:49:57.643 04276 info 'App'] Total virtual memory available for the process 8589934464 KB
[2013-03-24 19:49:57.643 04276 info 'App'] [VpxOsLayer] Enabled low-frag process heap.

[2013-03-24 19:49:57.643 04276 info 'App'] [VpxOsLayer] Enabled low-frag crt heap.

[2013-03-24 19:49:57.643 04276 info 'App'] [Vpxd::ServerApp::Init:863] Calling: InfoDeclSchema(gDB)
[2013-03-24 19:49:57.643 04276 info 'App'] [Vpxd::ServerApp::Init:865] Calling: VpxCallbackDesc::Init(MakeFunctor(this, &ServerApp::RequestShutdown))
[2013-03-24 19:49:57.643 04276 info 'App'] [Vpxd::ServerApp::Init:866] Calling: VpxCryptInit()
[2013-03-24 19:49:57.643 04276 info 'App'] [Vpxd::ServerApp::Init:867] Calling: VpxLRO::Init()
[2013-03-24 19:49:57.643 04276 info 'App'] [Vpxd::ServerApp::Init:868] Calling: VpxLroList::Init(ltud)
[2013-03-24 19:49:57.643 04276 info 'App'] [VpxLRO] 512 max LROs
[2013-03-24 19:49:57.643 04276 info 'App'] [VpxLRO] 12 reserved internal LROs
[2013-03-24 19:49:57.643 04276 info 'App'] [VpxLRO] 12 reserved blocker LROs
[2013-03-24 19:49:57.643 04276 info 'App'] [VpxLRO] 12 reserved short LROs
[2013-03-24 19:49:57.643 04276 info 'App'] [VpxLRO] 8 reserved long LROs
[2013-03-24 19:49:57.643 04276 info 'App'] [VpxLRO] 600-second task lifetime
[2013-03-24 19:49:57.644 04276 info 'App'] [Vpxd::ServerApp::Init:869] Calling: VpxdCharacterizeThreadpool(ltud)
[2013-03-24 19:49:57.644 04276 info 'App'] [Vpxd::ServerApp::Init:870] Calling: VpxdCertificate_Load(gDB, CERTIFICATE_VMDBPATH )
[2013-03-24 19:49:57.644 04276 info 'App'] [Vpxd::ServerApp::Init:871] Calling: VpxdVdb::Init(VpxdVdb::GetVdb(), false, false)
[2013-03-24 19:49:57.687 04276 error 'App'] Vdb::Connection::TestConnection SQLExecute failed: 42S02:208
[2013-03-24 19:49:57.687 04276 error 'App'] [Vdb::LockRepositoryHelper] Missing table vpx_dual
[2013-03-24 19:49:57.689 04276 error 'App'] A database error occurred: Repository has not been created
[2013-03-24 19:49:57.689 04276 error 'App'] [Vpxd::ServerApp::Init] Init failed: VpxdVdb::Init(VpxdVdb::GetVdb(), false, false)
[2013-03-24 19:49:57.689 04276 error 'App'] Failed to intialize VMware VirtualCenter. Shutting down...
[2013-03-24 19:49:57.689 04276 info 'App'] Forcing shutdown of VMware VirtualCenter now
end of log------------------

VMware VirtualCenter Server Service is set to log on as Local System (always been working untill now).  Start up type is Automatic (Delayed Start).  I have tried add DependsOnService property with MSSQLSERVER, SQLSERVERAGENT, MSSQL$SQLEXP_VIM with no affect.

Please help.  Thank you in advance.
VMwareMicrosoft SQL Server

Avatar of undefined
Last Comment
free5945

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Danny McDaniel

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
free5945

ASKER
Check the db and volume space.  Everything seems to be normal.  Finally, with no other option, decided to uninstall and re-install vCenter using existing database and the exact same setting, and then,  vcenter start running again.  I am guessing database connection related issue since the database is still working.  Not sure what the cause was.  Anyhow, re-install vcenter works for me.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck