You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but the PG embedded in this container never start and never connect to master. Here are the logs:
For node with initial type standby you have to setup REPLICATION_UPSTREAM_NODE_ID
>>> Will wait db replication_db on pgstandby:5432, will try 50 times with delay 5 seconds
>>> Will wait db replication_db on localhost:5432, will try 50 times with delay 5 seconds
psql: could not connect to server: Connection refused
Is the server running on host "pgstandby" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
psql: could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
...
Any help would be grealty appreciated.
EDIT:
The docker run for pg2 was wrong. I fix it.
EDIT2:
The first server is running and listening:
$ netstat -an | grep 5432
tcp6 0 0 :::5432 :::* LISTEN
The text was updated successfully, but these errors were encountered:
Hello,
First I would like to thank you for this very usefull Docker clusterisation of Postgresql which is a mess.
I've got a strange behaviour I would like to expose when trying to start containers once by once (and not with Docker compose):
The PG is active and all seams to be OK.
but the PG embedded in this container never start and never connect to master. Here are the logs:
Any help would be grealty appreciated.
EDIT:
The docker run for pg2 was wrong. I fix it.
EDIT2:
The first server is running and listening:
$ netstat -an | grep 5432
tcp6 0 0 :::5432 :::* LISTEN
The text was updated successfully, but these errors were encountered: