[Gluster-users] Geo Replication Failure: libgfchangelog.so: cannot open shared object file

Andy Coates andy.coates at gmail.com
Wed Aug 28 03:17:48 UTC 2019


We saw this with 4.1.x RPM on OEL (can't recall which specific version and
haven't checked if its fixed in later, at least up to 4.1.6), but the issue
seemed to be it just wasn't symlinked for some reason, so we symlinked
libgfchangelog.so to /lib64/libgfchangelog.so.0

Not sure if the python code is meant to ask for libgfchangelog.so.0 in the
first place, or if the RPM is meant to symlink it post-install.  In 7.x the
script seems to use a different method for finding it too.

Andy.

On Tue, 27 Aug 2019 at 04:21, ROUVRAIS Cedric ResgBscRscDef <
cedric.rouvrais at socgen.com> wrote:

> Hello,
>
>
>
> Having some slight difficulties with GeoReplication across 2 servers where
> the user is root on both sides: libgfchangelog.so: cannot open shared
> object file: No such file or directory
>
>
>
> I get this error on the master node. I haven’t been able to get around it
> (I’ve deleted and recreated the configuration ex-nihilo a couple of time to
> no avail).
>
>
>
> [2019-08-26 17:43:24.213577] I
> [gsyncdstatus(monitor):248:set_worker_status] GeorepStatus: Worker Status
> Change status=Initializing...
>
> [2019-08-26 17:43:24.213959] I [monitor(monitor):157:monitor] Monitor:
> starting gsyncd worker   brick=/vol/gluster/fr/brick1/gv_master
> slave_node=srv_slave
>
> [2019-08-26 17:43:24.259780] I [gsyncd(agent
> /vol/gluster/fr/brick1/gv_master):309:main] <top>: Using session config
> file
> path=/var/lib/glusterd/geo-replication/gv_master_srv_slave_gv_slave/gsyncd.conf
>
> [2019-08-26 17:43:24.261590] I [changelogagent(agent
> /vol/gluster/fr/brick1/gv_master):72:__init__] ChangelogAgent: Agent
> listining...
>
> [2019-08-26 17:43:24.266072] I [gsyncd(worker
> /vol/gluster/fr/brick1/gv_master):309:main] <top>: Using session config
> file
> path=/var/lib/glusterd/geo-replication/gv_master_srv_slave_gv_slave/gsyncd.conf
>
> [2019-08-26 17:43:24.280029] I [resource(worker
> /vol/gluster/fr/brick1/gv_master):1379:connect_remote] SSH: Initializing
> SSH connection between master and slave...
>
> [2019-08-26 17:43:25.749739] I [resource(worker
> /vol/gluster/fr/brick1/gv_master):1426:connect_remote] SSH: SSH connection
> between master and slave established.       duration=1.4696
>
> [2019-08-26 17:43:25.749941] I [resource(worker
> /vol/gluster/fr/brick1/gv_master):1098:connect] GLUSTER: Mounting gluster
> volume locally...
>
> [2019-08-26 17:43:26.824810] I [resource(worker
> /vol/gluster/fr/brick1/gv_master):1121:connect] GLUSTER: Mounted gluster
> volume        duration=1.0747
>
> [2019-08-26 17:43:26.825088] I [subcmds(worker
> /vol/gluster/fr/brick1/gv_master):80:subcmd_worker] <top>: Worker spawn
> successful. Acknowledging back to monitor
>
> [2019-08-26 17:43:26.888922] E [repce(agent
> /vol/gluster/fr/brick1/gv_master):122:worker] <top>: call failed:
>
> Traceback (most recent call last):
>
>   File "/usr/libexec/glusterfs/python/syncdaemon/repce.py", line 118, in
> worker
>
>     res = getattr(self.obj, rmeth)(*in_data[2:])
>
>   File "/usr/libexec/glusterfs/python/syncdaemon/changelogagent.py", line
> 37, in init
>
>     return Changes.cl_init()
>
>   File "/usr/libexec/glusterfs/python/syncdaemon/changelogagent.py", line
> 21, in __getattr__
>
>     from libgfchangelog import Changes as LChanges
>
>   File "/usr/libexec/glusterfs/python/syncdaemon/libgfchangelog.py", line
> 18, in <module>
>
>     class Changes(object):
>
>  File "/usr/libexec/glusterfs/python/syncdaemon/libgfchangelog.py", line
> 20, in Changes
>
>     use_errno=True)
>
>   File "/usr/lib64/python2.7/ctypes/__init__.py", line 360, in __init__
>
>     self._handle = _dlopen(self._name, mode)
>
> OSError: libgfchangelog.so: cannot open shared object file: No such file
> or directory
>
>
>
>
>
> Thank you for any insight,
>
>
>
> Cédric
>
>
>
> =========================================================
>
> Ce message et toutes les pieces jointes (ci-apres le "message")
> sont confidentiels et susceptibles de contenir des informations
> couvertes par le secret professionnel. Ce message est etabli
> a l'intention exclusive de ses destinataires. Toute utilisation
> ou diffusion non autorisee interdite.
> Tout message electronique est susceptible d'alteration. La SOCIETE GENERALE
> et ses filiales declinent toute responsabilite au titre de ce message
> s'il a ete altere, deforme falsifie.
>
> =========================================================
>
> This message and any attachments (the "message") are confidential,
> intended solely for the addresses, and may contain legally privileged
> information. Any unauthorized use or dissemination is prohibited.
> E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any
> of its subsidiaries or affiliates shall be liable for the message
> if altered, changed or falsified.
>
> =========================================================
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> https://lists.gluster.org/mailman/listinfo/gluster-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20190828/caae1827/attachment.html>


More information about the Gluster-users mailing list