Comments (2)
[resolve]:
$sudo localectl set-locale LANG=en_US.utf8
reboot
[postgres@test1 ~]$ echo $LANG
en_US.utf8
[postgres@test1 ~]$ pg_autoctl create monitor --pgdata ./pgdata
11:40:37 INFO Initialising a PostgreSQL cluster at "./pgdata"
11:40:37 INFO Now using absolute pgdata value "/home/postgres/pgdata" in the configuration
11:40:37 INFO /usr/pgsql-11/bin/pg_ctl --pgdata ./pgdata --options "-p 5432" --options "-h *" --wait start
11:40:38 INFO Granting connection privileges on 192.168.0.0/22
11:40:38 INFO Your pg_auto_failover monitor instance is now ready on port 5432.
11:40:38 INFO pg_auto_failover monitor is ready at postgres://autoctl_node@test1:5432/pg_auto_failover
11:40:38 INFO Monitor has been succesfully initialized.
from pg_auto_failover.
Hi @meiyifei !
So it seems that the problem is with ERROR Failed to parse pg_controldata output
then. We should probably force the LANG environment to be set to C when we parse the output of the PostgreSQL commands run internally in pg_autoctl
.
Thanks for your feedback. Marking this issue as a bug and assigning it to the next release, I think we should be able to have a fix that soon!
from pg_auto_failover.
Related Issues (20)
- Primary lost connection to secondary and no replication but monitor from third site still have connection to both allowing read access to secondary. HOT 2
- Any Kubernetes Statefulset YAML ready for a cluster with pg_auto_failover ? HOT 1
- Initialize an already existing primary server
- memory leak in version 2.0 HOT 4
- Deadlocks during pg_auto_failover operations HOT 1
- PostgreSQL 16 support HOT 13
- Error when building image using docs/citus/Dockerfile HOT 1
- ERROR candidate-priority value 10 is not valid. Valid values are integers from 0 to 100 🧐 HOT 1
- Switchover and failover get stuck in the report_lst status in certain configurations HOT 5
- Release 2.1 HOT 5
- Upgrade to 2.1 fails: extension "pgautofailover" has no update path from version "2.0" to version "2.1" HOT 4
- Citus formation upgrade path
- Error when creating Citus worker to a formation HOT 2
- When a secondary node is dropped, the FSM is promoted from secondary to single.
- Configuration parameter in pg_autoctl.cfg for the ability to clear PGDATA before running pg_basebackup HOT 1
- Possible FAILURE STATE in State Machine HOT 1
- How can I configure the maximum number of WAL segments a standby can lag behind the primary in pg_auto_failover?
- Hung (unclosed) old connections in idle status on the monitor from datanodes HOT 7
- How to install v2.0 with CentOS7 using yum? HOT 1
- If you modify the PGDATA directory, an error is reported when creating a Seondary Node. And the same operation is normal when creating Primary Node.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pg_auto_failover.