Re: pg_basebackup + SSL error: bad length

2018-08-28 Thread Adrian Klaver
On 08/28/2018 01:58 AM, Csaba Ragasits wrote: Hello, Only one copy is from the pg_basebackup on the machines. I have only a tablespace only a different location: /srv/pgdata/tbs_int303 I think I solved the problem: When I delete manually the /srv/pgdata/tbs_int303 folder, the pg_basebackup i

Re: pg_basebackup + SSL error: bad length

2018-08-28 Thread Csaba Ragasits
Hello, Only one copy is from the pg_basebackup on the machines. I have only a tablespace only a different location: /srv/pgdata/tbs_int303 I think I solved the problem: When I delete manually the /srv/pgdata/tbs_int303 folder, the pg_basebackup is running fine. Thank you for your help, Csaba

Re: pg_basebackup + SSL error: bad length

2018-08-27 Thread Michael Paquier
On Mon, Aug 27, 2018 at 04:40:34PM -0700, Adrian Klaver wrote: > Is there more then one copy of pg_basebackup on the machines? Or this user has created a tablespace directly in the main data folder, which can cause pg_basebackup to fail because of recursion issues. It is no wonder that a WARNING

Re: pg_basebackup + SSL error: bad length

2018-08-27 Thread Adrian Klaver
On 08/27/2018 07:38 AM, Csaba Ragasits wrote: 2018-08-27 16:08 GMT+02:00 Adrian Klaver >: Can you connect to node1 using psql with and without SSL? Where is node1 relative to the machine you are running pg_basebackup from? Just to be clear b

Re: pg_basebackup + SSL error: bad length

2018-08-27 Thread Csaba Ragasits
2018-08-27 16:08 GMT+02:00 Adrian Klaver : > Can you connect to node1 using psql with and without SSL? > > Where is node1 relative to the machine you are running pg_basebackup from? > > Just to be clear both Postgres instances are running 10.5, correct? > >> >> Every instances are same (10.5) vers

Re: pg_basebackup + SSL error: bad length

2018-08-27 Thread Adrian Klaver
On 08/27/2018 02:00 AM, Csaba Ragasits wrote: Hello, I would like to create a streaming replication, when I'm trying the basebackup from the node1, I've the following errors: pg_basebackup -P -v -D ./main -h node1 -p 5432  -U repmgr pg_basebackup: initiating base backup, waiting for checkpoi

pg_basebackup + SSL error: bad length

2018-08-27 Thread Csaba Ragasits
Hello, I would like to create a streaming replication, when I'm trying the basebackup from the node1, I've the following errors: pg_basebackup -P -v -D ./main -h node1 -p 5432 -U repmgr pg_basebackup: initiating base backup, waiting for checkpoint to complete pg_basebackup: checkpoint completed