Symptoms:
In the vpxd.log file, there are entries similar to:
2016-11-24T15:06:33.141Z info vpxd[7FE6E78537A0] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username VPXADMIN
2016-11-24T15:06:33.170Z info vpxd[7FE6E78537A0] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username VPXADMIN
2016-11-24T15:06:33.198Z error vpxd[7FE6E78537A0] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Failed to connect to database: ODBC error: (08004) - [unixODBC][Oracle][ODBC][Ora]ORA-12154: TNS:could not resolve the connect identifier specified
.
.
.
Services start up shows failure of Inventory Service to start:
Stdout = Starting VMware Inventory Service...
Waiting for VMware Inventory Service.................
WARNING: VMware Inventory Service may have failed to start.
The vpxd.log file is located at:
- Windows installed vCenter Server 6.5: %ALLUSERSPROFILE%\VMWare\vCenterServer\logs\vmware-vpx\
- vCenter Server Appliance: /var/log/vmware/vmware-vpx/
Note: This log excerpt is an example. Date, time, and environmental variables may vary depending on your environment.