<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 '/usr/sbin/sshd -D -p 2222'<br></div><div dir="ltr"><br><div><div>[2019-03-24 11:33:25.855839] E [syncdutils(monitor):332:log_raise_exception] <top>: FAIL:</div><div>Traceback (most recent call last):</div><div> File "/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py", line 311, in main</div><div> func(args)</div><div> File "/usr/libexec/glusterfs/python/syncdaemon/subcmds.py", line 50, in subcmd_monitor</div><div> return monitor.monitor(local, remote)</div><div> File "/usr/libexec/glusterfs/python/syncdaemon/monitor.py", line 427, in monitor</div><div> return Monitor().multiplex(*distribute(local, remote))</div><div> File "/usr/libexec/glusterfs/python/syncdaemon/monitor.py", line 386, in distribute</div><div> svol = Volinfo(slave.volume, "localhost", prelude)</div><div> File "/usr/libexec/glusterfs/python/syncdaemon/syncdutils.py", line 860, in __init__</div><div> vi = XET.fromstring(vix)</div><div> File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1300, in XML</div><div> parser.feed(text)</div><div> File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1642, in feed</div><div> self._raiseerror(v)</div><div> File "/usr/lib64/python2.7/xml/etree/ElementTree.py", 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 <<a href="mailto:mauryam@gmail.com">mauryam@gmail.com</a>> 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 '/usr/sbin/sshd -D -p 2222' , </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 <<a href="mailto:andrevolodin@gmail.com" target="_blank">andrevolodin@gmail.com</a>> 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,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",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 <<a href="mailto:mauryam@gmail.com" target="_blank">mauryam@gmail.com</a>> 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 'ssh -p 2222' , 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>