Error "Verifying database connection properties. failed" installing Data Repository

Document ID : KB000118614
Last Modified Date : 29/10/2018
Show Technical Document Details
Issue:

Errors when running dr_validate.sh stage of Data Repository install:

"Could not enforce prerequisite compliance. Data Repository Prerequisite Compliance Status on host <hostname>"

"vsql: could not connect to server: Connection refused Is the server running on host "<hostname>" and accepting TCP/IP connections on port 5433? Verifying database connection properties. failed " 

Environment:
CA Performance Managment
Cause:
When running dr_validate.sh for the first time before running dr_install.sh, the database is not yet installed and the database connectivity checks will fail.
Resolution:

If you add the -n flag to the set of flags used when running dr_validate.sh, it will skip the database checks.