<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">This error is already after changing the permissions to 666.<div class=""><br class=""><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=""><div><blockquote type="cite" class=""><div class="">On Mar 29, 2016, at 12:28 AM, Serkan Çoban &lt;<a href="mailto:cobanserkan@gmail.com" class="">cobanserkan@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">I think you should give write permission for your user to<br class="">/var/log/glusterfs directory. The error says it cannot write there..<br class=""><br class="">On Tue, Mar 29, 2016 at 10:21 AM, Gmail &lt;<a href="mailto:b.s.mikhael@gmail.com" class="">b.s.mikhael@gmail.com</a>&gt; wrote:<br class=""><blockquote type="cite" class="">I’ve been trying to setup geo-replication using Gluster 3.7.3 on OEL 6.5<br class="">It keeps giving me faulty session.<br class="">I’ve tried to use root user instead, it works fine!<br class=""><br class="">I’ve followed literally the documentation but no luck getting the<br class="">unprivileged user working.<br class=""><br class="">I’ve tried running /usr/libexec/glusterfs/gsyncd on the slave node using the<br class="">unprivileged user, and that’s what I get.<br class=""><br class="">/usr/libexec/glusterfs/gsyncd &nbsp;--session-owner<br class="">ef9ccae5-0def-4a47-9a96-881a1896755c -N --listen --timeout 120<br class=""><a href="gluster://localhost:vol01dr" class="">gluster://localhost:vol01dr</a><br class="">[2016-03-29 00:52:49.058244] I [cli.c:720:main] 0-cli: Started running<br class="">/usr/sbin/gluster with version 3.7.3<br class="">[2016-03-29 00:52:49.058297] I [cli.c:608:cli_rpc_init] 0-cli: Connecting to<br class="">remote glusterd at localhost<br class="">[2016-03-29 00:52:49.174686] I [MSGID: 101190]<br class="">[event-epoll.c:632:event_dispatch_epoll_worker] 0-epoll: Started thread with<br class="">index 1<br class="">[2016-03-29 00:52:49.174768] I [socket.c:2409:socket_event_handler]<br class="">0-transport: disconnecting now<br class="">[2016-03-29 00:52:49.177482] I [cli-rpc-ops.c:6230:gf_cli_getwd_cbk] 0-cli:<br class="">Received resp to getwd<br class="">[2016-03-29 00:52:49.177545] I [input.c:36:cli_batch] 0-: Exiting with: 0<br class="">ERROR:root:FAIL:<br class="">Traceback (most recent call last):<br class=""> &nbsp;File "/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py", line 165, in<br class="">main<br class=""> &nbsp;&nbsp;&nbsp;main_i()<br class=""> &nbsp;File "/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py", line 638, in<br class="">main_i<br class=""> &nbsp;&nbsp;&nbsp;startup(go_daemon=go_daemon, log_file=log_file, label=label)<br class=""> &nbsp;File "/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py", line 144, in<br class="">startup<br class=""> &nbsp;&nbsp;&nbsp;GLogger._gsyncd_loginit(**kw)<br class=""> &nbsp;File "/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py", line 107, in<br class="">_gsyncd_loginit<br class=""> &nbsp;&nbsp;&nbsp;cls.setup(label=kw.get('label'), **lkw)<br class=""> &nbsp;File "/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py", line 79, in<br class="">setup<br class=""> &nbsp;&nbsp;&nbsp;logging_handler = handlers.WatchedFileHandler(lprm['filename'])<br class=""> &nbsp;File "/usr/lib64/python2.6/logging/handlers.py", line 377, in __init__<br class=""> &nbsp;&nbsp;&nbsp;logging.FileHandler.__init__(self, filename, mode, encoding, delay)<br class=""> &nbsp;File "/usr/lib64/python2.6/logging/__init__.py", line 835, in __init__<br class=""> &nbsp;&nbsp;&nbsp;StreamHandler.__init__(self, self._open())<br class=""> &nbsp;File "/usr/lib64/python2.6/logging/__init__.py", line 854, in _open<br class=""> &nbsp;&nbsp;&nbsp;stream = open(self.baseFilename, self.mode)<br class="">IOError: [Errno 13] Permission denied:<br class="">'/var/log/glusterfs/geo-replication-slaves/mbr/ef9ccae5-0def-4a47-9a96-881a1896755c:gluster%3A%2F%2F127.0.0.1%3Avol01dr.log'<br class="">failed with IOError.<br class=""><br class=""><br class="">— Bishoy<br class=""><br class=""><br class="">_______________________________________________<br class="">Gluster-users mailing list<br class="">Gluster-users@gluster.org<br class="">http://www.gluster.org/mailman/listinfo/gluster-users<br class=""></blockquote></div></div></blockquote></div><br class=""></div></body></html>