srinivas reddy wrote:
> psql: could not connect to server: Connection refused
> Is the server running locally and accepting
> connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
>
Are you running the postmaster?
You first need to do something like:
ipc-daemon &
initdb -D /pgd
postmaster -i -D /pgd &
See the readme for more info.
If you already are make sure there is not already such a file and that you have permissions to the tmp directory
- Stuart