From: | Csaba Ragasits <ragasits(dot)csaba(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)lists(dot)postgresql(dot)org |
Subject: | pg_basebackup + SSL error: bad length |
Date: | 2018-08-27 09:00:04 |
Message-ID: | CANaXbVhwH83911ZMk_eqnnsuz8ircm1rYwnQV_jPea7pKkExRg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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
pg_basebackup: write-ahead log start point: 2/13000028 on timeline 1
pg_basebackup: directory "/srv/pgdata/tbs_int302" exists but is not empty
pg_basebackup: removing data directory "./main"
In the node1 postgresql.log:
LOG: could not send data to client: Connection reset by peer
ERROR: base backup could not send data, aborting backup
LOG: SSL error: bad length
LOG: SSL error: bad length
FATAL: connection to client lost
When I set off the SSL in the postgresql.conf, i've the folloving error
message when I try use the pg_basebackup command:
LOG: could not send data to client: Broken pipe
FATAL: connection to client lost
Have you got any information, suggestion how can I solve this errors?
My area:
- Updated Debian GNU/Linux 9
- PostgreSQL 10.5 (Debian 10.5-1.pgdg90+1) on x86_64-pc-linux-gnu, compiled
by gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516, 64-bit
Thx,
Csaba
From | Date | Subject | |
---|---|---|---|
Next Message | Tim Clarke | 2018-08-27 10:59:18 | archive items not in correct section order |
Previous Message | Łukasz Jarych | 2018-08-27 08:49:05 | Re: Connection to PostgreSQL from Excel |