<div dir="ltr"><div><div><div><div>Hi Krishna,<br><br></div>Since your libraries are in /usr/lib64, you should be doing<br><br></div>#ldconfig /usr/lib64<br><br></div>Confirm that below command lists the library<br><br></div>#ldconfig -p | grep libgfchangelog<br><div><div><div><div><br><br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 28, 2018 at 3:52 PM, Sunny Kumar <span dir="ltr"><<a href="mailto:sunkumar@redhat.com" target="_blank">sunkumar@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">can you do ldconfig /usr/local/lib and share the output of ldconfig -p<br>
/usr/local/lib | grep libgf<br>
<div><div class="h5">On Tue, Aug 28, 2018 at 3:45 PM Krishna Verma <<a href="mailto:kverma@cadence.com">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">sunkumar@redhat.com</a>><br>
> Sent: Tuesday, August 28, 2018 3:17 PM<br>
> To: Krishna Verma <<a href="mailto:kverma@cadence.com">kverma@cadence.com</a>><br>
> Cc: <a href="mailto:gluster-users@gluster.org">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=" rel="noreferrer" 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">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">sunkumar@redhat.com</a>><br>
> > Sent: Tuesday, August 28, 2018 2:55 PM<br>
> > To: Krishna Verma <<a href="mailto:kverma@cadence.com">kverma@cadence.com</a>><br>
> > Cc: <a href="mailto:gluster-users@gluster.org">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">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">Gluster-users@gluster.org</a><br>
> > > <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.gluster.o" rel="noreferrer" 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">Gluster-users@gluster.org</a><br>
</div></div><a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br>
</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>