Re: Streaming replication issue

From: Luca Ferrari <fluca1978(at)gmail(dot)com>
To: mallikarjun t <mallit333(at)gmail(dot)com>
Cc: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Streaming replication issue
Date: 2019-09-05 09:55:26
Message-ID: CAKoxK+6egeUv-zzMBXfHuFAZtr=X5ZgRZsvnhk_O821ndsrv+A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, Sep 5, 2019 at 11:39 AM mallikarjun t <mallit333(at)gmail(dot)com> wrote:
> ERROR: psql.bin: FATAL: role "postgres" is not permitted to log in

I don't know about EDB, but sounds like role postgres has not the
login privilege, that is they use another administrator?

> ./psql -p 5432
>
> psql.bin: could not connect to server: No such file or directory
>
> Is the server running locally and accepting connections on unix domain socket.
>
> "/tmp/.s.PGSQL.5432"?

Without the -h localhost option psql tries to connect to unix socket,
not TCP/IP, and it could be your server is not listening on unix
socket.

Luca

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message mallikarjun t 2019-09-05 10:03:24 Re: Streaming replication issue
Previous Message mallikarjun t 2019-09-05 09:34:31 Streaming replication issue