<div dir="ltr"><div dir="ltr"><div dir="ltr">not sure where is the syntax error: </div><div dir="ltr"><br></div><div dir="ltr">gluster volume geo-replication vol_041afbc53746053368a1840607636e97 xxx.xx.xxx.xx::vol_a5aee81a873c043c99a938adcb5b5781 config ssh-command &#39;/usr/sbin/sshd -D  -p 2222&#39;<br></div><div dir="ltr"><br><div><div>[2019-03-24 11:33:25.855839] E [syncdutils(monitor):332:log_raise_exception] &lt;top&gt;: FAIL:</div><div>Traceback (most recent call last):</div><div>  File &quot;/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py&quot;, line 311, in main</div><div>    func(args)</div><div>  File &quot;/usr/libexec/glusterfs/python/syncdaemon/subcmds.py&quot;, line 50, in subcmd_monitor</div><div>    return monitor.monitor(local, remote)</div><div>  File &quot;/usr/libexec/glusterfs/python/syncdaemon/monitor.py&quot;, line 427, in monitor</div><div>    return Monitor().multiplex(*distribute(local, remote))</div><div>  File &quot;/usr/libexec/glusterfs/python/syncdaemon/monitor.py&quot;, line 386, in distribute</div><div>    svol = Volinfo(slave.volume, &quot;localhost&quot;, prelude)</div><div>  File &quot;/usr/libexec/glusterfs/python/syncdaemon/syncdutils.py&quot;, line 860, in __init__</div><div>    vi = XET.fromstring(vix)</div><div>  File &quot;/usr/lib64/python2.7/xml/etree/ElementTree.py&quot;, line 1300, in XML</div><div>    parser.feed(text)</div><div>  File &quot;/usr/lib64/python2.7/xml/etree/ElementTree.py&quot;, line 1642, in feed</div><div>    self._raiseerror(v)</div><div>  File &quot;/usr/lib64/python2.7/xml/etree/ElementTree.py&quot;, line 1506, in _raiseerror</div><div>    raise err</div><div>ParseError: syntax error: line 1, column 0</div></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 24, 2019 at 4:58 PM Maurya M &lt;<a href="mailto:mauryam@gmail.com">mauryam@gmail.com</a>&gt; 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 dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Andrey,<div> For some reason the sshd_config Ports pararmeter is not allowing to change when i restart the ssh service.</div><div>so following this <a href="https://stackoverflow.com/questions/27525456/glusterfs-geo-replication-on-non-standard-ssh-port/55303479#55303479" target="_blank">https://stackoverflow.com/questions/27525456/glusterfs-geo-replication-on-non-standard-ssh-port/55303479#55303479</a> tried config options as described.</div><div><br></div><div>i did try you usuggestion  config ssh-command &#39;/usr/sbin/sshd -D  -p 2222&#39; , </div><div>geo-replication command failed<br></div><div><br></div><div>thanks,</div><div>Maurya</div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 24, 2019 at 4:39 PM Andrey Volodin &lt;<a href="mailto:andrevolodin@gmail.com" target="_blank">andrevolodin@gmail.com</a>&gt; 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 dir="ltr"><div dir="ltr">normally you should be able to edit the config file /etc/ssh/sshd_config<div>However, at the page <a href="https://serverfault.com/questions/826893/how-to-temporarily-run-a-secondary-ssh-server-on-a-separate-port" target="_blank">https://serverfault.com/questions/826893/how-to-temporarily-run-a-secondary-ssh-server-on-a-separate-port</a> I can see a one-time run solution as <span style="background-color:rgb(239,240,241);color:rgb(36,39,41);font-family:Consolas,Menlo,Monaco,&quot;Lucida Console&quot;,&quot;Liberation Mono&quot;,&quot;DejaVu Sans Mono&quot;,&quot;Bitstream Vera Sans Mono&quot;,&quot;Courier New&quot;,monospace,sans-serif;font-size:13px;white-space:pre-wrap">/usr/sbin/sshd -D  -p 22200</span></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 24, 2019 at 11:00 AM Maurya M &lt;<a href="mailto:mauryam@gmail.com" target="_blank">mauryam@gmail.com</a>&gt; 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 dir="ltr"><div dir="ltr">Hi All,<div> Have tried config the ssh-command to use -p 2222 using this config option:</div><div><br></div><div>config ssh-command &#39;ssh -p 2222&#39; , but failed, do you know the correct syntax , also where can i check for failed georeplication command logs.<br></div><div><br></div><div>TIA,</div><div>Maurya</div><div><br></div><div><br></div></div></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>
</blockquote></div>
</blockquote></div>