| From: | Sonam Sharma <sonams1209(at)gmail(dot)com> |
|---|---|
| To: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
| Subject: | Replication error |
| Date: | 2020-06-15 13:21:14 |
| Message-ID: | CAM-M3T=rvqBwuwhU88LUCf_C8vFO=CCSqtbmVoN3rQzefqQCrw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
I"m running postgres DB on docker & database replication have been enabled.
After configuring repmgr not able to switch over/failover operation.DB &
errors details are provided below.
Please help on this.
* ssh -o Batchmode=yes -q -o ConnectTimeout=10 10.0.0.76
/usr/lib/postgresql/9.4/bin/repmgr -f /etc/repmgr.conf --version
2>/dev/null && echo "1" || echo "0"*
*ERROR: unable to execute "repmgr" on "10.0.0.76"*
*HINT: check "pg_bindir" is set to the correct path in "repmgr.conf"; *
*The value is set correctly of binddir. But still getting error. It is
adding psql after bin directory and then repmgr i.e
/usr/pgsql/pgsql9.5/bin/psql/repmgr. But on primary when I am doing which
repmgr it's showing correct path*
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Laurenz Albe | 2020-06-15 13:35:33 | Re: SV: pg_service.conf and client support |
| Previous Message | Laurenz Albe | 2020-06-15 13:19:29 | Re: Something else about Redo Logs disappearing |