Re: Streaming replication issue

From: soumitra bhandary <soumitra(dot)bhandary(at)hotmail(dot)com>
To: mallikarjun t <mallit333(at)gmail(dot)com>
Cc: Luca Ferrari <fluca1978(at)gmail(dot)com>, Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Streaming replication issue
Date: 2019-09-05 10:34:03
Message-ID: BMXPR01MB36398157DAFCFBC93CA89C7DE0BB0@BMXPR01MB3639.INDPRD01.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Create one postgres os user in slave similar in master and then try once

Sent from my iPhone

On 05-Sep-2019, at 3:33 PM, mallikarjun t <mallit333(at)gmail(dot)com<mailto:mallit333(at)gmail(dot)com>> wrote:

I tried different ways it is not connected, but streaming replication is happening. IAM happily connected to master server, not the slave server, what reason I don't know? I think postgres user don't have login permission on Edb advanced server , by default Enterprise db user is there. That's why it's not connected I am thinking. Any one know about this one please clarify the issue.

Regards,
Malli.

On Thu, Sep 5, 2019, 3:26 PM Luca Ferrari <fluca1978(at)gmail(dot)com<mailto:fluca1978(at)gmail(dot)com>> wrote:
On Thu, Sep 5, 2019 at 11:39 AM mallikarjun t <mallit333(at)gmail(dot)com<mailto: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:45:39 Re: Streaming replication issue
Previous Message mallikarjun t 2019-09-05 10:32:46 Backup issue