I am starting a postgres-xc server with two datanodes and one coordinator.
I used same parameter for both nodes but from one node I am getting the following error:
LOG: could not bind IPv4 socket: LOG: could not bind IPv4 socket: Address already in use HINT: Is another postmaster already running on port 5660? If not, wait a few seconds and retry. WARNING: could not create listen socket for "localhost" FATAL: could not create any TCP/IP sockets
and the other node gives me the following error
LOG: autovacuum launcher started ERROR: PGXC Node datanode1: object already defined STATEMENT: CREATE NODE datanode1 WITH (TYPE = 'datanode', PORT = 15671) LOG: PGXC node datanode2: Applying default host value: localhost STATEMENT: CREATE NODE datanode2 WITH (TYPE = 'datanode', PORT = 15672)
Kindly share your inputs on this issues.