vpxd.log:
===============
2019-06-03T05:51:26.239Z error vpxd[7F9C02B15800] [Originator@6876 sub=AuthorizeManager] Failed to add default permission: permission already exists
2019-06-03T05:51:26.240Z error vpxd[7F9C02B15800] [Originator@6876 sub=AuthorizeManager] Cannot start authorize – system has no access rules
2019-06-03T05:51:26.240Z error vpxd[7F9C02B15800] [Originator@6876 sub=AuthorizeManager] [Auth] Failed to initialize: <N7Vmacore9Authorize13AuthExceptionE(Authorize Exception)
[context]zKq7AVECAAAAAIStcgANdnB4ZAAAeF4rbGlidm1hY29yZS5zbwAAEBcbAM
ppGADt5R8AjkYgAAlIIAEE0QFsaWJhdXRoemNsaWVudC5zbwACxCKhdnB4ZAACN
vNUAmT8VAJqn1MD4AUCbGliYy5zby42AAJ1l1M=[/context]>
2019-06-03T05:51:26.241Z error vpxd[7F9C02B15800] [Originator@6876 sub=Default] Failed to initialize authorizeManager
2019-06-03T05:51:26.241Z warning vpxd[7F9C02B15800] [Originator@6876 sub=VpxProfiler] Start [VpxdAuthorize::Start()] took 1793 ms
2019-06-03T05:51:26.241Z error vpxd[7F9C02B15800] [Originator@6876 sub=Default] Failed to start VMware VirtualCenter. Shutting down
2019-06-03T05:51:26.241Z info vpxd[7F9C02B15800] [Originator@6876 sub=SupportMgr] Wrote uptime information
===============
Caution: This procedure modifies the database. Ensure to take a backup of the database before proceeding.
— Run below command to check the users and respective role_id:
VCDB=# select * from vpx_access;
===============
id | principal | role_id | entity_id | flag | surr_key
—–+—————————–+———–+———–+——+———-
1 | VSPHERE.LOCAL\Administrator | 662696332 | 1 | 1 | 1
803 | VSPHERE.LOCAL\abc | 662696332 | 1 | 1 | 3
(2 rows)
===============
— We see that for that for user VSPHERE.LOCAL\Administrator role_id is set to 662696332. Ideally it should be -1
— Update role_id to -1 with the use of below command:
update vpx_access set role_id='-1' where id=1;
— Start vCenter services