<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">&lt;<a href="mailto:sunkumar@redhat.com" target="_blank">sunkumar@redhat.com</a>&gt;</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 &lt;<a href="mailto:kverma@cadence.com">kverma@cadence.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Sunny,<br>
&gt;<br>
&gt; I did the mentioned changes given in patch and restart the session for geo-replication. But again same errors in the logs.<br>
&gt;<br>
&gt; I have attaching the config files and logs here.<br>
&gt;<br>
&gt;<br>
&gt; [root@gluster-poc-noida ~]# gluster volume geo-replication glusterep gluster-poc-sj::glusterep stop<br>
&gt; Stopping geo-replication session between glusterep &amp; gluster-poc-sj::glusterep has been successful<br>
&gt; [root@gluster-poc-noida ~]# gluster volume geo-replication glusterep gluster-poc-sj::glusterep delete<br>
&gt; Deleting geo-replication session between glusterep &amp; gluster-poc-sj::glusterep has been successful<br>
&gt; [root@gluster-poc-noida ~]# gluster volume geo-replication glusterep gluster-poc-sj::glusterep create push-pem force<br>
&gt; Creating geo-replication session between glusterep &amp; gluster-poc-sj::glusterep has been successful<br>
&gt; [root@gluster-poc-noida ~]# gluster volume geo-replication glusterep gluster-poc-sj::glusterep start<br>
&gt; geo-replication start failed for glusterep gluster-poc-sj::glusterep<br>
&gt; geo-replication command failed<br>
&gt; [root@gluster-poc-noida ~]# gluster volume geo-replication glusterep gluster-poc-sj::glusterep start<br>
&gt; geo-replication start failed for glusterep gluster-poc-sj::glusterep<br>
&gt; geo-replication command failed<br>
&gt; [root@gluster-poc-noida ~]# vim /usr/libexec/glusterfs/python/<wbr>syncdaemon/repce.py<br>
&gt; [root@gluster-poc-noida ~]# systemctl restart glusterd<br>
&gt; [root@gluster-poc-noida ~]# gluster volume geo-replication glusterep gluster-poc-sj::glusterep start<br>
&gt; Starting geo-replication session between glusterep &amp; gluster-poc-sj::glusterep has been successful<br>
&gt; [root@gluster-poc-noida ~]# gluster volume geo-replication glusterep gluster-poc-sj::glusterep status<br>
&gt;<br>
&gt; MASTER NODE          MASTER VOL    MASTER BRICK         SLAVE USER    SLAVE                        SLAVE NODE    STATUS    CRAWL STATUS    LAST_SYNCED<br>
&gt; ------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>-----------------------------<br>
&gt; gluster-poc-noida    glusterep     /data/gluster/gv0    root          gluster-poc-sj::glusterep    N/A           Faulty    N/A             N/A<br>
&gt; noi-poc-gluster      glusterep     /data/gluster/gv0    root          gluster-poc-sj::glusterep    N/A           Faulty    N/A             N/A<br>
&gt; [root@gluster-poc-noida ~]#<br>
&gt;<br>
&gt;<br>
&gt; /Krishna.<br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: Sunny Kumar &lt;<a href="mailto:sunkumar@redhat.com">sunkumar@redhat.com</a>&gt;<br>
&gt; Sent: Tuesday, August 28, 2018 3:17 PM<br>
&gt; To: Krishna Verma &lt;<a href="mailto:kverma@cadence.com">kverma@cadence.com</a>&gt;<br>
&gt; Cc: <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
&gt; Subject: Re: [Gluster-users] Upgrade to 4.1.2 geo-replication does not work<br>
&gt;<br>
&gt; EXTERNAL MAIL<br>
&gt;<br>
&gt;<br>
&gt; With same log message ?<br>
&gt;<br>
&gt; Can you please verify that<br>
&gt; <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__review.gluster.org_-23_c_glusterfs_-2B_20207_&amp;d=DwIBaQ&amp;c=aUq983L2pue2FqKFoP6PGHMJQyoJ7kl3s3GZ-_haXqY&amp;r=0E5nRoxLsT2ZXgCpJM_6ZItAWQ2jH8rVLG6tiXhoLFE&amp;m=F0ExtFUfa_YCktOGvy82x3IAxvi2GrbPR72jZ8beuYk&amp;s=fGtkmezHJj5YoLN3dUeVUCcYFnREHyOSk36mRjbTTEQ&amp;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_&amp;d=DwIBaQ&amp;c=<wbr>aUq983L2pue2FqKFoP6PGHMJQyoJ7k<wbr>l3s3GZ-_haXqY&amp;r=<wbr>0E5nRoxLsT2ZXgCpJM_<wbr>6ZItAWQ2jH8rVLG6tiXhoLFE&amp;m=<wbr>F0ExtFUfa_<wbr>YCktOGvy82x3IAxvi2GrbPR72jZ8be<wbr>uYk&amp;s=<wbr>fGtkmezHJj5YoLN3dUeVUCcYFnREHy<wbr>OSk36mRjbTTEQ&amp;e=</a> patch is present if not can you please apply that.<br>
&gt; and try with symlinking ln -s /usr/lib64/libgfchangelog.so.0 /usr/lib64/libgfchangelog.so.<br>
&gt;<br>
&gt; Please share the log also.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Sunny<br>
&gt; On Tue, Aug 28, 2018 at 3:02 PM Krishna Verma &lt;<a href="mailto:kverma@cadence.com">kverma@cadence.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; Hi Sunny,<br>
&gt; &gt;<br>
&gt; &gt; Thanks for your response, I tried both, but still I am getting the same error.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; [root@noi-poc-gluster ~]# ldconfig /usr/lib [root@noi-poc-gluster ~]#<br>
&gt; &gt;<br>
&gt; &gt; [root@noi-poc-gluster ~]# ln -s /usr/lib64/libgfchangelog.so.1<br>
&gt; &gt; /usr/lib64/libgfchangelog.so [root@noi-poc-gluster ~]# ls -l<br>
&gt; &gt; /usr/lib64/libgfchangelog.so lrwxrwxrwx. 1 root root 30 Aug 28 14:59<br>
&gt; &gt; /usr/lib64/libgfchangelog.so -&gt; /usr/lib64/libgfchangelog.so.1<br>
&gt; &gt;<br>
&gt; &gt; /Krishna<br>
&gt; &gt;<br>
&gt; &gt; -----Original Message-----<br>
&gt; &gt; From: Sunny Kumar &lt;<a href="mailto:sunkumar@redhat.com">sunkumar@redhat.com</a>&gt;<br>
&gt; &gt; Sent: Tuesday, August 28, 2018 2:55 PM<br>
&gt; &gt; To: Krishna Verma &lt;<a href="mailto:kverma@cadence.com">kverma@cadence.com</a>&gt;<br>
&gt; &gt; Cc: <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
&gt; &gt; Subject: Re: [Gluster-users] Upgrade to 4.1.2 geo-replication does not<br>
&gt; &gt; work<br>
&gt; &gt;<br>
&gt; &gt; EXTERNAL MAIL<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Hi Krish,<br>
&gt; &gt;<br>
&gt; &gt; You can run -<br>
&gt; &gt; #ldconfig /usr/lib<br>
&gt; &gt;<br>
&gt; &gt; If that still does not solves your problem you can do manual symlink<br>
&gt; &gt; like - ln -s /usr/lib64/libgfchangelog.so.1<br>
&gt; &gt; /usr/lib64/libgfchangelog.so<br>
&gt; &gt;<br>
&gt; &gt; Thanks,<br>
&gt; &gt; Sunny Kumar<br>
&gt; &gt; On Tue, Aug 28, 2018 at 1:47 PM Krishna Verma &lt;<a href="mailto:kverma@cadence.com">kverma@cadence.com</a>&gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Hi<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I am getting below error in gsyncd.log<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; OSError: libgfchangelog.so: cannot open shared object file: No such<br>
&gt; &gt; &gt; file or directory<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; [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>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; [2018-08-28 07:19:41.447041] E [syncdutils(worker /data/gluster/gv0):330:log_<wbr>raise_exception] &lt;top&gt;: FAIL:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Traceback (most recent call last):<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;   File &quot;/usr/libexec/glusterfs/<wbr>python/syncdaemon/gsyncd.py&quot;, line<br>
&gt; &gt; &gt; 311, in main<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;     func(args)<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;   File &quot;/usr/libexec/glusterfs/<wbr>python/syncdaemon/subcmds.py&quot;, line<br>
&gt; &gt; &gt; 72, in subcmd_worker<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;     local.service_loop(remote)<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;   File &quot;/usr/libexec/glusterfs/<wbr>python/syncdaemon/resource.py&quot;<wbr>, line<br>
&gt; &gt; &gt; 1236, in service_loop<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;     changelog_agent.init()<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;   File &quot;/usr/libexec/glusterfs/<wbr>python/syncdaemon/repce.py&quot;, line<br>
&gt; &gt; &gt; 216, in __call__<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;     return self.ins(self.meth, *a)<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;   File &quot;/usr/libexec/glusterfs/<wbr>python/syncdaemon/repce.py&quot;, line<br>
&gt; &gt; &gt; 198, in __call__<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;     raise res<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; OSError: libgfchangelog.so: cannot open shared object file: No such<br>
&gt; &gt; &gt; file or directory<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; [2018-08-28 07:19:41.457555] I [repce(agent /data/gluster/gv0):80:service_<wbr>loop] RepceServer: terminating on reaching EOF.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; [2018-08-28 07:19:42.440184] I [monitor(monitor):272:monitor] Monitor:<br>
&gt; &gt; &gt; worker died in startup phase  brick=/data/gluster/gv0<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Below is my file location:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; /usr/lib64/libgfchangelog.so.0<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; /usr/lib64/libgfchangelog.so.<wbr>0.0.1<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; What I can do to fix it ?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; /Krish<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; ______________________________<wbr>_________________<br>
&gt; &gt; &gt; Gluster-users mailing list<br>
&gt; &gt; &gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; &gt; &gt; <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>
&gt; &gt; &gt; rg<br>
&gt; &gt; &gt; _mailman_listinfo_gluster-<wbr>2Dusers&amp;d=DwIBaQ&amp;c=<wbr>aUq983L2pue2FqKFoP6PGHM<br>
&gt; &gt; &gt; JQ<br>
&gt; &gt; &gt; yoJ7kl3s3GZ-_haXqY&amp;r=<wbr>0E5nRoxLsT2ZXgCpJM_<wbr>6ZItAWQ2jH8rVLG6tiXhoLFE&amp;m=_<br>
&gt; &gt; &gt; u6<br>
&gt; &gt; &gt; vGRjlVsype7Z8hXDgCONilqVe4sIWk<wbr>XNqqz2n3IQ&amp;s=<wbr>i0EUwtUHurhJHyw9UPpepCdLB<br>
&gt; &gt; &gt; 70<br>
&gt; &gt; &gt; 1mkxoNZWYvU7XXug&amp;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>