remyapl(at)cppdnotes(dot)iobnet(dot)co(dot)in writes:
> 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 sure the postmaster is running? I don't see how you could get
a "connection refused" on a Unix socket unless there is nothing
listening for connections.
regards, tom lane