GithubHelp home page GithubHelp logo

Comments (2)

meiyifei avatar meiyifei commented on May 17, 2024

[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.

DimCitus avatar DimCitus commented on May 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.