<div dir="ltr"><div><div>Hi Krishna,<br><br></div>As per the output shared, I don't see the file "libgfchangelog.so" which is what is required.</div><div>I only see "libgfchangelog.so.0". Please confirm "libgfchangelog.so" is present in "/usr/lib64/".<br></div><div>If not create a symlink similar to "libgfchangelog.so.0"</div><div><br></div><div>It should be something like below.</div><div><br></div><div>#ls -l /usr/lib64 | grep libgfch<br>-rwxr-xr-x. 1 root root 1078 Aug 28 05:56 <a href="http://libgfchangelog.la">libgfchangelog.la</a><br>lrwxrwxrwx. 1 root root 23 Aug 28 05:56 libgfchangelog.so -> libgfchangelog.so.0.0.1<br>lrwxrwxrwx. 1 root root 23 Aug 28 05:56 libgfchangelog.so.0 -> libgfchangelog.so.0.0.1<br>-rwxr-xr-x. 1 root root 336888 Aug 28 05:56 libgfchangelog.so.0.0.1<br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 28, 2018 at 4:04 PM, Krishna Verma <span dir="ltr"><<a href="mailto:kverma@cadence.com" target="_blank">kverma@cadence.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div class="m_2485368601340272802WordSection1">
<p class="MsoNormal">Hi Kotresh,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks for the response, I did that also but nothing changed.
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">[root@gluster-poc-noida ~]# ldconfig /usr/lib64<u></u><u></u></p>
<p class="MsoNormal">[root@gluster-poc-noida ~]# ldconfig -p | grep libgfchangelog<u></u><u></u></p>
<p class="MsoNormal"> libgfchangelog.so.0 (libc6,x86-64) => /usr/lib64/libgfchangelog.so.0<u></u><u></u></p>
<p class="MsoNormal">[root@gluster-poc-noida ~]#<u></u><u></u></p><span class="">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">[root@gluster-poc-noida ~]# gluster volume geo-replication glusterep gluster-poc-sj::glusterep stop<u></u><u></u></p>
<p class="MsoNormal">Stopping geo-replication session between glusterep & gluster-poc-sj::glusterep has been successful<u></u><u></u></p>
</span><p class="MsoNormal">[root@gluster-poc-noida ~]# gluster volume geo-replication glusterep gluster-poc-sj::glusterep start<u></u><u></u></p><span class="">
<p class="MsoNormal">Starting geo-replication session between glusterep & gluster-poc-sj::glusterep has been successful<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">[root@gluster-poc-noida ~]# gluster volume geo-replication glusterep gluster-poc-sj::glusterep status<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">MASTER NODE MASTER VOL MASTER BRICK SLAVE USER SLAVE SLAVE NODE STATUS CRAWL STATUS LAST_SYNCED<u></u><u></u></p>
<p class="MsoNormal">------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>-----------------------------<u></u><u></u></p>
<p class="MsoNormal">gluster-poc-noida glusterep /data/gluster/gv0 root gluster-poc-sj::glusterep N/A Faulty N/A N/A<u></u><u></u></p>
<p class="MsoNormal">noi-poc-gluster glusterep /data/gluster/gv0 root gluster-poc-sj::<wbr>glusterep N/A Faulty N/A N/A<u></u><u></u></p>
<p class="MsoNormal">[root@gluster-poc-noida ~]#<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">/Krishna<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</span><p class="MsoNormal"><b>From:</b> Kotresh Hiremath Ravishankar <<a href="mailto:khiremat@redhat.com" target="_blank">khiremat@redhat.com</a>>
<br>
<b>Sent:</b> Tuesday, August 28, 2018 4:00 PM<br>
<b>To:</b> Sunny Kumar <<a href="mailto:sunkumar@redhat.com" target="_blank">sunkumar@redhat.com</a>><br>
<b>Cc:</b> Krishna Verma <<a href="mailto:kverma@cadence.com" target="_blank">kverma@cadence.com</a>>; Gluster Users <<a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a>></p><div><div class="h5"><br>
<b>Subject:</b> Re: [Gluster-users] Upgrade to 4.1.2 geo-replication does not work<u></u><u></u></div></div><p></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="color:red">EXTERNAL MAIL</span><u></u><u></u></p>
</div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Krishna,<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Since your libraries are in /usr/lib64, you should be doing<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">#ldconfig /usr/lib64<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Confirm that below command lists the library<u></u><u></u></p>
</div>
<p class="MsoNormal">#ldconfig -p | grep libgfchangelog<u></u><u></u></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Tue, Aug 28, 2018 at 3:52 PM, Sunny Kumar <<a href="mailto:sunkumar@redhat.com" target="_blank">sunkumar@redhat.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<p class="MsoNormal">can you do ldconfig /usr/local/lib and share the output of ldconfig -p<br>
/usr/local/lib | grep libgf<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">On Tue, Aug 28, 2018 at 3:45 PM Krishna Verma <<a href="mailto:kverma@cadence.com" target="_blank">kverma@cadence.com</a>> wrote:<br>
><br>
> Hi Sunny,<br>
><br>
> I did the mentioned changes given in patch and restart the session for geo-replication. But again same errors in the logs.<br>
><br>
> I have attaching the config files and logs here.<br>
><br>
><br>
> [root@gluster-poc-noida ~]# gluster volume geo-replication glusterep gluster-poc-sj::glusterep stop<br>
> Stopping geo-replication session between glusterep & gluster-poc-sj::glusterep has been successful<br>
> [root@gluster-poc-noida ~]# gluster volume geo-replication glusterep gluster-poc-sj::glusterep delete<br>
> Deleting geo-replication session between glusterep & gluster-poc-sj::glusterep has been successful<br>
> [root@gluster-poc-noida ~]# gluster volume geo-replication glusterep gluster-poc-sj::glusterep create push-pem force<br>
> Creating geo-replication session between glusterep & gluster-poc-sj::glusterep has been successful<br>
> [root@gluster-poc-noida ~]# gluster volume geo-replication glusterep gluster-poc-sj::glusterep start<br>
> geo-replication start failed for glusterep gluster-poc-sj::glusterep<br>
> geo-replication command failed<br>
> [root@gluster-poc-noida ~]# gluster volume geo-replication glusterep gluster-poc-sj::glusterep start<br>
> geo-replication start failed for glusterep gluster-poc-sj::glusterep<br>
> geo-replication command failed<br>
> [root@gluster-poc-noida ~]# vim /usr/libexec/glusterfs/python/<wbr>syncdaemon/repce.py<br>
> [root@gluster-poc-noida ~]# systemctl restart glusterd<br>
> [root@gluster-poc-noida ~]# gluster volume geo-replication glusterep gluster-poc-sj::glusterep start<br>
> Starting geo-replication session between glusterep & gluster-poc-sj::glusterep has been successful<br>
> [root@gluster-poc-noida ~]# gluster volume geo-replication glusterep gluster-poc-sj::glusterep status<br>
><br>
> MASTER NODE MASTER VOL MASTER BRICK SLAVE USER SLAVE SLAVE NODE STATUS CRAWL STATUS LAST_SYNCED<br>
> ------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>-----------------------------<br>
> gluster-poc-noida glusterep /data/gluster/gv0 root gluster-poc-sj::glusterep N/A Faulty N/A N/A<br>
> noi-poc-gluster glusterep /data/gluster/gv0 root gluster-poc-sj::glusterep N/A Faulty N/A N/A<br>
> [root@gluster-poc-noida ~]#<br>
><br>
><br>
> /Krishna.<br>
><br>
> -----Original Message-----<br>
> From: Sunny Kumar <<a href="mailto:sunkumar@redhat.com" target="_blank">sunkumar@redhat.com</a>><br>
> Sent: Tuesday, August 28, 2018 3:17 PM<br>
> To: Krishna Verma <<a href="mailto:kverma@cadence.com" target="_blank">kverma@cadence.com</a>><br>
> Cc: <a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a><br>
> Subject: Re: [Gluster-users] Upgrade to 4.1.2 geo-replication does not work<br>
><br>
> EXTERNAL MAIL<br>
><br>
><br>
> With same log message ?<br>
><br>
> Can you please verify that<br>
> <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__review.gluster.org_-23_c_glusterfs_-2B_20207_&d=DwIBaQ&c=aUq983L2pue2FqKFoP6PGHMJQyoJ7kl3s3GZ-_haXqY&r=0E5nRoxLsT2ZXgCpJM_6ZItAWQ2jH8rVLG6tiXhoLFE&m=F0ExtFUfa_YCktOGvy82x3IAxvi2GrbPR72jZ8beuYk&s=fGtkmezHJj5YoLN3dUeVUCcYFnREHyOSk36mRjbTTEQ&e=" target="_blank">
https://urldefense.proofpoint.<wbr>com/v2/url?u=https-3A__review.<wbr>gluster.org_-23_c_glusterfs_-<wbr>2B_20207_&d=DwIBaQ&c=<wbr>aUq983L2pue2FqKFoP6PGHMJQyoJ7k<wbr>l3s3GZ-_haXqY&r=<wbr>0E5nRoxLsT2ZXgCpJM_<wbr>6ZItAWQ2jH8rVLG6tiXhoLFE&m=<wbr>F0ExtFUfa_<wbr>YCktOGvy82x3IAxvi2GrbPR72jZ8be<wbr>uYk&s=<wbr>fGtkmezHJj5YoLN3dUeVUCcYFnREHy<wbr>OSk36mRjbTTEQ&e=</a>
patch is present if not can you please apply that.<br>
> and try with symlinking ln -s /usr/lib64/libgfchangelog.so.0 /usr/lib64/libgfchangelog.so.<br>
><br>
> Please share the log also.<br>
><br>
> Regards,<br>
> Sunny<br>
> On Tue, Aug 28, 2018 at 3:02 PM Krishna Verma <<a href="mailto:kverma@cadence.com" target="_blank">kverma@cadence.com</a>> wrote:<br>
> ><br>
> > Hi Sunny,<br>
> ><br>
> > Thanks for your response, I tried both, but still I am getting the same error.<br>
> ><br>
> ><br>
> > [root@noi-poc-gluster ~]# ldconfig /usr/lib [root@noi-poc-gluster ~]#<br>
> ><br>
> > [root@noi-poc-gluster ~]# ln -s /usr/lib64/libgfchangelog.so.1<br>
> > /usr/lib64/libgfchangelog.so [root@noi-poc-gluster ~]# ls -l<br>
> > /usr/lib64/libgfchangelog.so lrwxrwxrwx. 1 root root 30 Aug 28 14:59<br>
> > /usr/lib64/libgfchangelog.so -> /usr/lib64/libgfchangelog.so.1<br>
> ><br>
> > /Krishna<br>
> ><br>
> > -----Original Message-----<br>
> > From: Sunny Kumar <<a href="mailto:sunkumar@redhat.com" target="_blank">sunkumar@redhat.com</a>><br>
> > Sent: Tuesday, August 28, 2018 2:55 PM<br>
> > To: Krishna Verma <<a href="mailto:kverma@cadence.com" target="_blank">kverma@cadence.com</a>><br>
> > Cc: <a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a><br>
> > Subject: Re: [Gluster-users] Upgrade to 4.1.2 geo-replication does not<br>
> > work<br>
> ><br>
> > EXTERNAL MAIL<br>
> ><br>
> ><br>
> > Hi Krish,<br>
> ><br>
> > You can run -<br>
> > #ldconfig /usr/lib<br>
> ><br>
> > If that still does not solves your problem you can do manual symlink<br>
> > like - ln -s /usr/lib64/libgfchangelog.so.1<br>
> > /usr/lib64/libgfchangelog.so<br>
> ><br>
> > Thanks,<br>
> > Sunny Kumar<br>
> > On Tue, Aug 28, 2018 at 1:47 PM Krishna Verma <<a href="mailto:kverma@cadence.com" target="_blank">kverma@cadence.com</a>> wrote:<br>
> > ><br>
> > > Hi<br>
> > ><br>
> > ><br>
> > ><br>
> > > I am getting below error in gsyncd.log<br>
> > ><br>
> > ><br>
> > ><br>
> > > OSError: libgfchangelog.so: cannot open shared object file: No such<br>
> > > file or directory<br>
> > ><br>
> > > [2018-08-28 07:19:41.446785] E [repce(worker /data/gluster/gv0):197:__call_<wbr>_] RepceClient: call failed call=26469:139794524604224:<wbr>1535440781.44 method=init error=OSError<br>
> > ><br>
> > > [2018-08-28 07:19:41.447041] E [syncdutils(worker /data/gluster/gv0):330:log_<wbr>raise_exception] <top>: FAIL:<br>
> > ><br>
> > > Traceback (most recent call last):<br>
> > ><br>
> > > File "/usr/libexec/glusterfs/<wbr>python/syncdaemon/gsyncd.py", line<br>
> > > 311, in main<br>
> > ><br>
> > > func(args)<br>
> > ><br>
> > > File "/usr/libexec/glusterfs/<wbr>python/syncdaemon/subcmds.py", line<br>
> > > 72, in subcmd_worker<br>
> > ><br>
> > > local.service_loop(remote)<br>
> > ><br>
> > > File "/usr/libexec/glusterfs/<wbr>python/syncdaemon/resource.py"<wbr>, line<br>
> > > 1236, in service_loop<br>
> > ><br>
> > > changelog_agent.init()<br>
> > ><br>
> > > File "/usr/libexec/glusterfs/<wbr>python/syncdaemon/repce.py", line<br>
> > > 216, in __call__<br>
> > ><br>
> > > return self.ins(self.meth, *a)<br>
> > ><br>
> > > File "/usr/libexec/glusterfs/<wbr>python/syncdaemon/repce.py", line<br>
> > > 198, in __call__<br>
> > ><br>
> > > raise res<br>
> > ><br>
> > > OSError: libgfchangelog.so: cannot open shared object file: No such<br>
> > > file or directory<br>
> > ><br>
> > > [2018-08-28 07:19:41.457555] I [repce(agent /data/gluster/gv0):80:service_<wbr>loop] RepceServer: terminating on reaching EOF.<br>
> > ><br>
> > > [2018-08-28 07:19:42.440184] I [monitor(monitor):272:monitor] Monitor:<br>
> > > worker died in startup phase brick=/data/gluster/gv0<br>
> > ><br>
> > ><br>
> > ><br>
> > > Below is my file location:<br>
> > ><br>
> > ><br>
> > ><br>
> > > /usr/lib64/libgfchangelog.so.0<br>
> > ><br>
> > > /usr/lib64/libgfchangelog.so.<wbr>0.0.1<br>
> > ><br>
> > ><br>
> > ><br>
> > > What I can do to fix it ?<br>
> > ><br>
> > ><br>
> > ><br>
> > > /Krish<br>
> > ><br>
> > > ______________________________<wbr>_________________<br>
> > > Gluster-users mailing list<br>
> > > <a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
> > > <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.gluster.o" target="_blank">
https://urldefense.proofpoint.<wbr>com/v2/url?u=https-3A__lists.<wbr>gluster.o</a><br>
> > > rg<br>
> > > _mailman_listinfo_gluster-<wbr>2Dusers&d=DwIBaQ&c=<wbr>aUq983L2pue2FqKFoP6PGHM<br>
> > > JQ<br>
> > > yoJ7kl3s3GZ-_haXqY&r=<wbr>0E5nRoxLsT2ZXgCpJM_<wbr>6ZItAWQ2jH8rVLG6tiXhoLFE&m=_<br>
> > > u6<br>
> > > vGRjlVsype7Z8hXDgCONilqVe4sIWk<wbr>XNqqz2n3IQ&s=<wbr>i0EUwtUHurhJHyw9UPpepCdLB<br>
> > > 70<br>
> > > 1mkxoNZWYvU7XXug&e=<br>
______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.gluster.org_mailman_listinfo_gluster-2Dusers&d=DwMFaQ&c=aUq983L2pue2FqKFoP6PGHMJQyoJ7kl3s3GZ-_haXqY&r=0E5nRoxLsT2ZXgCpJM_6ZItAWQ2jH8rVLG6tiXhoLFE&m=BuUVeXUwqxdQDoP-IWDI_JPFCQGrRFdzV9g0enLn8kM&s=X0eVYgZ1emUQnEwRTg0AGbAWyoIwIyrE_gzmuolgiPE&e=" target="_blank">https://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">Thanks and Regards,<u></u><u></u></p>
</div>
<p class="MsoNormal">Kotresh H R<u></u><u></u></p>
</div>
</div>
</div>
</div></div></div>
</div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Thanks and Regards,<br></div>Kotresh H R<br></div></div>
</div>