Visitors

Unable to create VCAC database

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.

(c) Zbigniew ‘Ziggy’ Misiak

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>