vCenter services fail to start due to vpxd error: "Failed to initialize authorizeManager"
search cancel

vCenter services fail to start due to vpxd error: "Failed to initialize authorizeManager"

book

Article ID: 322294

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

The following is received when trying to start services

Service-control failed. Error: failed to start services in profile ALL. RC=2, stderr=Failed to start vpxd, hvc, vpxd-svcs services. Error: Service crashed while starting

Messages in /var/log/vmware/vpxd/vpxd.log

yyyy-mm-ddTxx:xx:xx.xxxZ info vpxd[04453] [Originator@6876 sub=SsoClient] Successfully acquired token: SamlToken [subject={Name: vpxd-########-####-####-####-############; Domain:example.com}, groups=[{Name: Users; Domain:example.com}, {Name: SolutionUsers; Domain:example.com}, {Name: SystemConfiguration.Administrators; Domain:example.com}, {Name: ComponentManager.Administrators; Domain:example.com}, {Name: LicenseService.Administrators; Domain:example.com}, {Name: ActAsUsers
; Domain:example.com}, {Name: Everyone; Domain:example.com}], delegationChain=[], startTime=yyyy-mm-ddTxx:xx:xx.xxxZ, expirationTime=yyyy-mm-ddTxx:xx:xx.xxxZ, renewable=false, delegable=false, isSolution=true,confirmationType=1]
yyyy-mm-ddTxx:xx:xx.xxxZ warning vpxd[04618] [Originator@6876 sub=IO.Connection] Failed to connect; <io_obj p:0x00007f3aec4bd5f8, h:37, <TCP '127.0.0.1 : 34412'>, <TCP '127.0.0.1 : 10080'>>, e: 111(Connection refused), duration: 0msec
...
yyyy-mm-ddTxx:xx:xx.xxxZ warning vpxd[04618] [Originator@6876 sub=HttpConnectionPool-000011] Failed to get pooled connection; <cs p:00007f3aec462090, TCP:localhost:10080>, (null), duration: 0msec, N7Vmacore15SystemExceptionE(Connection refused: The remote service is not running, OR is overloaded, OR a firewall is rejecting connections.)
--> [context]zKq7AVECAQAAAFqJHgEPdnB4ZAAA2uc3bGlidm1hY29yZS5zbwAA64gsAHN7LQBB+DIAV9wjAPb3IwCDCCQAuQwkAKYUJAATuSMAl1ojAD+wIwCYczcBh38AbGlicHRocmVhZC5zby4wAALvNQ9saWJjLnNvLjYA[/context]
yyyy-mm-ddTxx:xx:xx.xxxZ info vpxd[04618] [Originator@6876 sub=IO.Http] Set user agent error; state: 1, (null), N7Vmacore15SystemExceptionE(Connection refused: The remote service is not running, OR is overloaded, OR a firewall is rejecting connections.)
--> [context]zKq7AVECAQAAAFqJHgEPdnB4ZAAA2uc3bGlidm1hY29yZS5zbwAA64gsAHN7LQBB+DIAV9wjAPb3IwCDCCQAuQwkAKYUJAATuSMAl1ojAD+wIwCYczcBh38AbGlicHRocmVhZC5zby4wAALvNQ9saWJjLnNvLjYA[/context]
...
--> [context]zKq7AVECAQAAAFqJHgEVdnB4ZAAA2uc3bGlidm1hY29yZS5zbwAA64gsAHN7LQBB+DIBedlvdnB4ZAABzRuCgTzAYQEBMCuCARBG1wFwPtcBYurVAhwsAWxpYmF1dGh6Y2xpZW50LnNvAALjOAECaeABAifVAQGA2NUBL/1vAQtucAGNxW8DhysCbGliYy5zby42AAFxu28=[/context]
yyyy-mm-ddTxx:xx:xx.xxxZ error vpxd[04453] [Originator@6876 sub=AuthzStorageProvider] [AuthzStorageProvider::CreateAuthzMgr] Failed to connect to Authz service: <N5Vmomi5Fault17HostCommunication9ExceptionE(Fault cause: vmodl.fault.HostCommunication
...
yyyy-mm-ddTxx:xx:xx.xxxZ error vpxd[04453] [Originator@6876 sub=AuthzStorageProvider] [AuthzStorageProvider::CreateAuthzMgr] Failed to connect to Authz service: <N5Vmomi5Fault17HostCommunication9ExceptionE(Fault cause: vmodl.fault.HostCommunication
--> )
--> [context]zKq7AVECAQAAAFqJHgEVdnB4ZAAA2uc3bGlidm1hY29yZS5zbwAA64gsAHN7LQBB+DIBedlvdnB4ZAAB9Zd4AbOYeAGsLYIBEEbXAXA+1wFi6tUCHCwBbGliYXV0aHpjbGllbnQuc28AAuM4AQJp4AECJ9UBAYDY1QEv/W8BC25wAY3FbwOHKwJsaWJjLnNvLjYAAXG7bw==[/context]>
yyyy-mm-ddTxx:xx:xx.xxxZ error vpxd[04453] [Originator@6876 sub=Default] Failed to instantiate AuthzStorageProvider: N5Vmomi5Fault17HostCommunication9ExceptionE(Fault cause: vmodl.fault.HostCommunication
--> )
--> [context]zKq7AVECAQAAAFqJHgEVdnB4ZAAA2uc3bGlidm1hY29yZS5zbwAA64gsAHN7LQBB+DIBedlvdnB4ZAAB9Zd4AbOYeAGsLYIBEEbXAXA+1wFi6tUCHCwBbGliYXV0aHpjbGllbnQuc28AAuM4AQJp4AECJ9UBAYDY1QEv/W8BC25wAY3FbwOHKwJsaWJjLnNvLjYAAXG7bw==[/context]
yyyy-mm-ddTxx:xx:xx.xxxZ error vpxd[04453] [Originator@6876 sub=Authorize] Failed to initialize authorizeManager
yyyy-mm-ddTxx:xx:xx.xxxZ warning vpxd[04453] [Originator@6876 sub=VpxProfiler] Start [VpxdAuthorize::Start()] took 184821 ms
yyyy-mm-ddTxx:xx:xx.xxxZwarning vpxd[04453] [Originator@6876 sub=VpxProfiler] ServerApp::Start [TotalTime] took 185347 ms
yyyy-mm-ddTxx:xx:xx.xxxZ error vpxd[04453] [Originator@6876 sub=Default] Failed to start VMware VirtualCenter. Shutting down
yyyy-mm-ddTxx:xx:xx.xxxZ info vpxd[04453] [Originator@6876 sub=SupportMgr] Wrote uptime information
yyyy-mm-ddTxx:xx:xx.xxxZ info vpxd[04710] [Originator@6876 sub=Health] Wrote vpxd health XML to file /var/run/vpxd/vmware-vpxd-health-status.xml. Status: START_PENDING. Expiration: 370
yyyy-mm-ddTxx:xx:xx.xxxZ info vpxd[04846] [Originator@6876 sub=Health] Wrote vpxd health XML to file /var/run/vpxd/vmware-vpxd-health-status.xml. Status: START_PENDING. Expiration: 400
yyyy-mm-ddTxx:xx:xx.xxxZ info vpxd[04453] [Originator@6876 sub=Default] Forcing shutdown of VMware VirtualCenter now

Resolution

Use lsdoctor with the --trustfix option  to resolve this issue.