GithubHelp home page GithubHelp logo

Document pg_bindir about repmgr HOT 6 CLOSED

enterprisedb avatar enterprisedb commented on August 12, 2024
Document pg_bindir

from repmgr.

Comments (6)

SOLDIERz avatar SOLDIERz commented on August 12, 2024 1

Okay get it! You need to add it in repmgr.conf like:

#for centos

pg_bindir='/usr/pgsql-9.3/bin'

from repmgr.

martinmarques avatar martinmarques commented on August 12, 2024

How did your repmgr installation upgrade? Are you using yum or apt?
If that's the case, where does the packaging system get repmgr from?
Logs would be nice (yum.log or apt/history.log).

from repmgr.

agentgt avatar agentgt commented on August 12, 2024

I think because of the whole xen and shellshock security issues rackspace did some auto upgrading. I took a look at the logs and for some reason I don't see an apt (ubuntu) update.

Regardless it should probably still be put in the documentation as I had to go look in the code to make sure what pg_bindir was. Or maybe there is doc for that configuration and I missed it?

from repmgr.

mverwijs avatar mverwijs commented on August 12, 2024

+1 For me.

  postgres@testdb01:~$ export pg_bindir=/usr/bin
  postgres@testdb01:~$ repmgr -f /etc/repmgr.conf master register
  [2014-11-12 21:30:13] [ERROR] pg_bindir config value not found. Check the configuration file.

/me looks at the release notes. Ah.

  • New config option: pg_bindir

After adding "pg_bindir='/usr/bin'" it works.

from repmgr.

SOLDIERz avatar SOLDIERz commented on August 12, 2024

Where you add "pg_bindir='/usr/bin'" ?

from repmgr.

ibarwick avatar ibarwick commented on August 12, 2024

FYI this issue has been resolved in repmgr 3.0, and repmgr will use the default path if pg_bindir isn't provided. There's also a repmgr command line -b/--pg_bindir to provide an explicit path if needed.

from repmgr.

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.