<div dir="ltr">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<div><br></div><div>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.</div><div><br><div>Andy.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 27 Aug 2019 at 04:21, ROUVRAIS Cedric ResgBscRscDef <<a href="mailto:cedric.rouvrais@socgen.com">cedric.rouvrais@socgen.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="FR">
<div class="gmail-m_-504463540146856990WordSection1">
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US">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<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">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).<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[2019-08-26 17:43:24.213577] I [gsyncdstatus(monitor):248:set_worker_status] GeorepStatus: Worker Status Change status=Initializing...<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[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<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[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<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[2019-08-26 17:43:24.261590] I [changelogagent(agent /vol/gluster/fr/brick1/gv_master):72:__init__] ChangelogAgent: Agent listining...<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[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<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[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...<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[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<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[2019-08-26 17:43:25.749941] I [resource(worker /vol/gluster/fr/brick1/gv_master):1098:connect] GLUSTER: Mounting gluster volume locally...<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[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<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[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<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[2019-08-26 17:43:26.888922] E [repce(agent /vol/gluster/fr/brick1/gv_master):122:worker] <top>: call failed:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Traceback (most recent call last):<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/libexec/glusterfs/python/syncdaemon/repce.py", line 118, in worker<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> res = getattr(self.obj, rmeth)(*in_data[2:])<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/libexec/glusterfs/python/syncdaemon/changelogagent.py", line 37, in init<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> return Changes.cl_init()<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/libexec/glusterfs/python/syncdaemon/changelogagent.py", line 21, in __getattr__<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> from libgfchangelog import Changes as LChanges<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/libexec/glusterfs/python/syncdaemon/libgfchangelog.py", line 18, in <module><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> class Changes(object):<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/libexec/glusterfs/python/syncdaemon/libgfchangelog.py", line 20, in Changes<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> use_errno=True)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/lib64/python2.7/ctypes/__init__.py", line 360, in __init__<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> self._handle = _dlopen(self._name, mode)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">OSError: libgfchangelog.so: cannot open shared object file: No such file or directory<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Thank you for any insight,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Cédric<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<p>=========================================================</p>
<p>Ce message et toutes les pieces jointes (ci-apres le "message")<br>
sont confidentiels et susceptibles de contenir des informations<br>
couvertes par le secret professionnel. Ce message est etabli<br>
a l'intention exclusive de ses destinataires. Toute utilisation<br>
ou diffusion non autorisee interdite.<br>
Tout message electronique est susceptible d'alteration. La SOCIETE GENERALE<br>
et ses filiales declinent toute responsabilite au titre de ce message<br>
s'il a ete altere, deforme falsifie.</p>
<p>=========================================================</p>
<p>This message and any attachments (the "message") are confidential,<br>
intended solely for the addresses, and may contain legally privileged<br>
information. Any unauthorized use or dissemination is prohibited.<br>
E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any<br>
of its subsidiaries or affiliates shall be liable for the message<br>
if altered, changed or falsified.</p>
<p>=========================================================</p></div>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a></blockquote></div>