Gluster: Geo-replication Fixes — #1

Ayush Ujjwal
1 min readMar 1, 2021

Issue

On running gluster volume geo-replication <main vol> <secondary-host>::<secondary volume> start you get

geo-replication start failed for <primary vol> <secondary host>::<secondary volume>
geo-replication command failed

Error📓

OSError: libgfchangelog.so.0: cannot open shared object file: No such file or directory.

Log File 📁

/var/log/glusterfs/geo-replication/<main vol>_<secondary host>_<secondary_vol>/gsyncd.log

You can cat the above file and find the following error mentioned above.

Fix 🔧

  1. Try rebooting glusterd service glusterd restartand check.
  2. If it doesn’t work. Follow the following procedure:
root@user# cd /etc/ld.so.conf.d/root@user /etc/ld.so.conf.d# vi myconfig.conf
  • Press I or Insert to start writing.
  • Add the following lines:
  • Press Esc
  • Type :wq and press Enter
  • Run the following command
root@user /etc/ld.so.conf.d# ldconfig
  • You can also check the files:
root@user /etc/ld.so.conf.d# ldconfig -v | less
  • If it shows the files, then you are done. 😄
  • Restart glusterd service
root@user # service glusterd restart
  • Now run the geo-replication volume start command
root@user # gluster volume geo-rep <primary vol> <secondary host>::<secondary volume> start [force]
Starting geo-replication session between <primary vol> & <secondary host>::<secondary volume> has been successful
  • Done 👍

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Ayush Ujjwal
Ayush Ujjwal

Written by Ayush Ujjwal

Flutter | Google Actions | Gluster

No responses yet

Write a response