Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repmgr cluster crosscheck does not work with custom PostgreSQL location #852

Open
JP95Git opened this issue Apr 23, 2024 · 0 comments
Open

Comments

@JP95Git
Copy link

JP95Git commented Apr 23, 2024

I had to install PostgreSQL and repmgr to a custom location: /path/to/postgresql/.

This works fine:

/path/to/postgresql/repmgr --config-file=/path/to/repmgr.conf cluster matrix --pg_bindir=/path/to/postgresql/
INFO: connecting to database
 Name                      | ID | 1 | 2 | 3
---------------------------+----+---+---+---
XXXXXXXXXXXXX-Node-1       | 1  | * | * | *
XXXXXXXXXXXXX-Node-2       | 2  | * | * | *
XXXXXXXXXXXXX-Witness-Node | 3  | * | * | *

But this one does not work:
-> The error is: bash: Zeile 1: repmgr: Kommando nicht gefunden.

/path/to/postgresql/repmgr --config-file=/path/to/repmgr.conf cluster crosscheck --pg_bindir=/path/to/postgresql/
INFO: connecting to database
bash: Zeile 1: repmgr: Kommando nicht gefunden.
 Name                      | ID | 1 | 2 | 3
---------------------------+----+---+---+---
XXXXXXXXXXXXX-Node-1       | 1  | * | * | *
XXXXXXXXXXXXX-Node-2       | 2  | * | * | *
XXXXXXXXXXXXX-Witness-Node | 3  | * | * | *
/path/to/postgresql/repmgr --version
repmgr 5.4.1
/path/to/postgresql/postgres --version
postgres (PostgreSQL) 16.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant