<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Geo-replication command should be run as privileged user itself.<br>
<br>
gluster volume geo-replication <MASTERVOL>
<SLAVEUSER>@<SLAVEHOST> start<br>
<br>
and then check the status, if it shows Faulty then please share the
log files present in
/var/log/glusterfs/geo-replication/<MASTERVOL>/*.log<br>
<br>
<pre class="moz-signature" cols="72">regards
Aravinda</pre>
<div class="moz-cite-prefix">On 03/29/2016 12:51 PM, Gmail wrote:<br>
</div>
<blockquote
cite="mid:387A76C3-2569-47BD-8105-5FF136EAFCD6@gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
I’ve been trying to setup geo-replication using Gluster 3.7.3 on
OEL 6.5
<div class="">It keeps giving me faulty session.</div>
<div class="">I’ve tried to use root user instead, it works fine!</div>
<div class=""><br class="">
</div>
<div class="">I’ve followed literally the documentation but no
luck getting the unprivileged user working.</div>
<div class=""><br class="">
</div>
<div class="">I’ve tried running <span style="font-family: Menlo;
font-size: 11px;" class="">/usr/libexec/glusterfs/gsyncd </span>on
the slave node using the unprivileged user, and that’s what I
get.</div>
<div class=""><font class="" face="Menlo"><span style="font-size:
11px;" class=""><br class="">
</span></font></div>
<div class="">
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;">/usr/libexec/glusterfs/gsyncd --session-owner
ef9ccae5-0def-4a47-9a96-881a1896755c -N --listen --timeout
120 <a moz-do-not-send="true"
href="gluster://localhost:vol01dr" class="">gluster://localhost:vol01dr</a></div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;">[2016-03-29 00:52:49.058244] I [cli.c:720:main] 0-cli:
Started running /usr/sbin/gluster with version 3.7.3</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;">[2016-03-29 00:52:49.058297] I
[cli.c:608:cli_rpc_init] 0-cli: Connecting to remote glusterd
at localhost</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;">[2016-03-29 00:52:49.174686] I [MSGID: 101190]
[event-epoll.c:632:event_dispatch_epoll_worker] 0-epoll:
Started thread with index 1</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;">[2016-03-29 00:52:49.174768] I
[socket.c:2409:socket_event_handler] 0-transport:
disconnecting now</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;">[2016-03-29 00:52:49.177482] I
[cli-rpc-ops.c:6230:gf_cli_getwd_cbk] 0-cli: Received resp to
getwd</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;">[2016-03-29 00:52:49.177545] I [input.c:36:cli_batch]
0-: Exiting with: 0</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;">ERROR:root:FAIL: </div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;">Traceback (most recent call last):</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;"> File
"/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py", line
165, in main</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;"> main_i()</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;"> File
"/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py", line
638, in main_i</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;"> startup(go_daemon=go_daemon, log_file=log_file,
label=label)</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;"> File
"/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py", line
144, in startup</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;"> GLogger._gsyncd_loginit(**kw)</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;"> File
"/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py", line
107, in _gsyncd_loginit</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;"> cls.setup(label=kw.get('label'), **lkw)</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;"> File
"/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py", line 79,
in setup</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;"> logging_handler =
handlers.WatchedFileHandler(lprm['filename'])</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;"> File "/usr/lib64/python2.6/logging/handlers.py",
line 377, in __init__</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;"> logging.FileHandler.__init__(self, filename, mode,
encoding, delay)</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;"> File "/usr/lib64/python2.6/logging/__init__.py",
line 835, in __init__</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;"> StreamHandler.__init__(self, self._open())</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;"> File "/usr/lib64/python2.6/logging/__init__.py",
line 854, in _open</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;"> stream = open(self.baseFilename, self.mode)</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;">IOError: [Errno 13] Permission denied:
'/var/log/glusterfs/geo-replication-slaves/mbr/ef9ccae5-0def-4a47-9a96-881a1896755c:gluster%3A%2F%2F127.0.0.1%3Avol01dr.log'</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;">failed with IOError.</div>
</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;"><br class="">
</div>
<div class="" style="margin: 0px; font-size: 11px; font-family:
Menlo;"><br class="">
</div>
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap:
break-word; -webkit-nbsp-mode: space; -webkit-line-break:
after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">
<div class=""><b class="">— Bishoy</b></div>
</div>
</div>
</div>
</div>
</div>
<br class="">
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a></pre>
</blockquote>
<br>
</body>
</html>