-
Notifications
You must be signed in to change notification settings - Fork 120
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
Init monitor failed #1053
Comments
helo @wxmeng04, I am getting exactly the same error on Debian bookwork postgresql-17-auto-failover. I downgraded to postgresql-16-auto-failover and it's fine. Did you find a workaround for this error? |
@wxmeng04, I wanted to provide some clarity regarding the compatibility of pg_autoctl with PostgreSQL 17. Here’s the current setup and version details from my environment:
Based on this, it appears that the current version (pg_autoctl 2.1-3.pgdg120+1) is not yet compatible with PostgreSQL 17. Could someone from the development team provide insight into: Whether there are plans to add compatibility for PostgreSQL 17 in an upcoming release? |
I'm struggling with this error as well, but I really do not understand what the problem is. I ran an strace:
and got the following result:
The key lines are:
But oddly enough, when I run that command exactly, it works fine! $ /usr/lib/postgresql/17/bin/pg_ctl.real initdb --silent --pgdata /var/lib/postgresql/data --option '--auth=trust'
$ echo $?
0 I even tried double-quoting the option, just in case that had something to do with it: $ /usr/lib/postgresql/17/bin/pg_ctl.real initdb --silent --pgdata /var/lib/postgresql/data --option "'--auth=trust'" && echo good
good I did see the same issue in the CLI output: $ pg_autoctl --version
pg_autoctl version 2.1-3.pgdg120+1
pg_autoctl extension version 2.1
compiled with PostgreSQL 17rc1 (Debian 17~rc1-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
compatible with Postgres 11, 12, 13, 14, 15, and 16 I'm using the postgresql-17-auto-failover PGDG package:
In Debian bookworm:
|
Platform: Debian bookwork
version: postgresql-17-auto-failover
comand line prompt:
The text was updated successfully, but these errors were encountered: