I was having trouble creating database on vpostgres when tried to create VCAC database.
When logged in as postgres user I typed psql at the prompt and was getting the following error:
-bash: psql: command not found
Usually this means that psql isn’t in the PATH of the user.
Locate where psql is installed and export that path:
find / -name psql to determine psql location
For VCAC psql is located in /opt/vmware/vpostgres/current/bin/psql
“export PATH=/opt/vmware/vpostgres/current/bin/:$PATH” resolved this issue.
Make sure to add this path to .bash_profile if you wish to make it permanent.

Recent Comments