Closed dannylu006 closed 1 year ago
Hi @dannylu006 ; you edited the logs to the extend that it's impossible to reason about them. Please share the actual command you've been using and the actual logs if you want help. Specifically, I can't understand what would have been hostname
and servername
in your edited logs.
10:29:46 4569 INFO /servername/pg/PostgreSQL-14.2/bin/pg_autoctl do service postgres --pgdata /hostname/pg/monitor/data -v
10:29:46 4552 INFO Started pg_autoctl listener service with pid 4570
10:29:46 4575 INFO /hostname/pg/PostgreSQL-14.2/bin/postgres -D /servername/pg/monitor/data -p 5000 -h *
Here we have two different PGDATA entries in two different lines. That's not how pg_autoctl works.
Closing for triage; please consider opening again if that's still a current issue for you, but this time with actual commands and output.
QUESTION: It looks like the postgresql instance was created since we see all the required files are present in the PGDATA directory. However, it appears nothing related to pg_auto_failover objects are created since it has permission connecting to the instance as referenced by the error above.
Any feedback is greatly appreciated.