<div dir="ltr"><div dir="ltr">I had the same issue a few weeks ago and found this thread which helped me resolve it: <a href="https://lists.gluster.org/pipermail/gluster-users/2018-July/034465.html">https://lists.gluster.org/pipermail/gluster-users/2018-July/034465.html</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 28 August 2018 at 08:50, 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 lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="m_8383738825491484380WordSection1">
<p class="MsoNormal">Hi All,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I need a help in setup geo replication as its getting faulty.
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I did the following : <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<ol style="margin-top:0in" start="1" type="1">
<li class="m_8383738825491484380MsoListParagraph" style="margin-left:0in">Setup 2 node gluster with replicated volume.
<u></u><u></u></li><li class="m_8383738825491484380MsoListParagraph" style="margin-left:0in">Setup single node slave with gluster volume.
<u></u><u></u></li><li class="m_8383738825491484380MsoListParagraph" style="margin-left:0in">Setup geo-replication with master and slave but its status is getting faulty.
<u></u><u></u></li></ol>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have installed “glusterfs 4.1.2” on all the nodes. <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">In logs I was getting below error: <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">2018-08-28 04:39:00.639724] E [syncdutils(worker /data/gluster/gv0):753:logerr] Popen: ssh> failure: execution of "/usr/local/sbin/glusterfs" failed with ENOENT (No such file or directory)<u></u><u></u></p>
<p class="MsoNormal">My gluster binaries are in /use/sbin, So I did :<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">gluster volume geo-replication glusterep gluster-poc-sj::glusterep config gluster_command_dir /usr/sbin/<u></u><u></u></p>
<p class="MsoNormal">gluster volume geo-replication glusterep gluster-poc-sj::glusterep config slave_gluster_command_dir /usr/sbin/<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I also created the links as below : <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">ln -s /usr/sbin/gluster /usr/local/sbin/gluster<u></u><u></u></p>
<p class="MsoNormal">ln -s /usr/sbin/glusterfs /usr/local/sbin/glusterfs<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">But status is still faulty after restarted glusterd and created a session again.
<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::glusterep N/A Faulty N/A N/A<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">And now I am getting errors in logs for libraries. <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">==============================<wbr>============== <u></u><u></u></p>
<p class="MsoNormal">OSError: libgfchangelog.so: cannot open shared object file: No such file or directory<u></u><u></u></p>
<p class="MsoNormal">[2018-08-28 06:46:46.667423] E [repce(worker /data/gluster/gv0):197:__call_<wbr>_] RepceClient: call failed call=19929:140516964480832:<wbr>1535438806.66 method=init error=OSError<u></u><u></u></p>
<p class="MsoNormal">[2018-08-28 06:46:46.667567] E [syncdutils(worker /data/gluster/gv0):330:log_<wbr>raise_exception] <top>: FAIL:<u></u><u></u></p>
<p class="MsoNormal">Traceback (most recent call last):<u></u><u></u></p>
<p class="MsoNormal"> File "/usr/libexec/glusterfs/<wbr>python/syncdaemon/gsyncd.py", line 311, in main<u></u><u></u></p>
<p class="MsoNormal"> func(args)<u></u><u></u></p>
<p class="MsoNormal"> File "/usr/libexec/glusterfs/<wbr>python/syncdaemon/subcmds.py", line 72, in subcmd_worker<u></u><u></u></p>
<p class="MsoNormal"> local.service_loop(remote)<u></u><u></u></p>
<p class="MsoNormal"> File "/usr/libexec/glusterfs/<wbr>python/syncdaemon/resource.py"<wbr>, line 1236, in service_loop<u></u><u></u></p>
<p class="MsoNormal"> changelog_agent.init()<u></u><u></u></p>
<p class="MsoNormal"> File "/usr/libexec/glusterfs/<wbr>python/syncdaemon/repce.py", line 216, in __call__<u></u><u></u></p>
<p class="MsoNormal"> return self.ins(self.meth, *a)<u></u><u></u></p>
<p class="MsoNormal"> File "/usr/libexec/glusterfs/<wbr>python/syncdaemon/repce.py", line 198, in __call__<u></u><u></u></p>
<p class="MsoNormal"> raise res<u></u><u></u></p>
<p class="MsoNormal">OSError: libgfchangelog.so: cannot open shared object file: No such file or directory<u></u><u></u></p>
<p class="MsoNormal">[2018-08-28 06:46:46.678463] I [repce(agent /data/gluster/gv0):80:service_<wbr>loop] RepceServer: terminating on reaching EOF.<u></u><u></u></p>
<div style="border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in">
<p class="MsoNormal" style="border:none;padding:0in">[2018-08-28 06:46:47.662086] I [monitor(monitor):272:monitor] Monitor: worker died in startup phase brick=/data/gluster/gv0<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Any help please.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">/Krish<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<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"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Tiemen Ruiten<br>Systems Engineer<br>R&D Media<br></div></div>
</div>