Comments (1)
Error not anymore reported by creating a symbolic link of repmgr.conf in the postgresql home directory /var/lib/pgsql:
postgres@slave1 ~ > pwd
/var/lib/pgsql
postgres@slave1 ~ > ln -s repmgr/repmgr.conf ./repmgr.conf
postgres@slave1 ~ > repmgr -D /var/lib/pgsql/9.4/data -d repmgr -p 5432 -U repmgr -R postgres --verbose standby clone master.example.com
[2015-04-02 01:47:11] [NOTICE] destination directory '/var/lib/pgsql/9.4/data' provided
[2015-04-02 01:47:11] [INFO] connecting to upstream node
[2015-04-02 01:47:11] [INFO] connected to upstream node, checking its state
[2015-04-02 01:47:11] [INFO] Successfully connected to upstream node. Current installation size is 5389 MB
[2015-04-02 01:47:11] [NOTICE] starting backup...
[2015-04-02 01:47:11] [INFO] checking and correcting permissions on existing directory /var/lib/pgsql/9.4/data ...
[2015-04-02 01:47:11] [INFO] executing: '/usr/pgsql-9.4/bin/pg_basebackup -l "repmgr base backup" -h master.example.com -p 5432 -U repmgr -D /var/lib/pgsql/9.4/data '
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
[2015-04-02 01:47:57] [NOTICE] standby clone (using pg_basebackup) complete
[2015-04-02 01:47:57] [NOTICE] HINT: you can now start your PostgreSQL server
[2015-04-02 01:47:57] [NOTICE] for example : pg_ctl -D /var/lib/pgsql/9.4/data start
from repmgr.
Related Issues (20)
- Any plan for the new release to support PG16? HOT 2
- repmgr replication with multislaves failover is failing HOT 1
- Repmgr: an older version of the extension is installed but it's not true HOT 1
- **High Priority** repmgr with multi slaves replication solution is not working in k8s environment
- node_rejoin event
- CRITICAL (node "foo" (ID: 2) is not attached to expected upstream node "bar" (ID: 1) repmgr-16
- LOG: could not receive data from client: Connection reset by peer HOT 3
- Slot in the catchup state
- repmgr - failed: fe_sendauth: no password supplied
- Issue encountered while adding script for split-brain prevention HOT 1
- Self-node check method not changed. HOT 1
- node "node_master" (ID: 1) is registered as primary but running as standby HOT 4
- Promote secondary to new master
- master node fails to automatically rejoin the cluster after recovery from failure HOT 1
- repmgrd autofailover not working if PR is down with File system hang HOT 6
- repmgr cluster crosscheck does not work with custom PostgreSQL location
- single HTML page documentation link is broken HOT 1
- repmgr daemon status showing repmgrd as 'not running' HOT 1
- Repmgr cannot perform failover in a cluster that is not in a healthy state.
- PostgreSQL 17 support
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 repmgr.