Search Postgresql Archives

Replication error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux