<div dir="ltr"><div class="gmail_quote"><br><div dir="ltr"><div>Hi Raghavendra and friends,<br><br></div><span class=""><span><div><br></div></span><div>&gt;&gt; This usually happens when samba , ctdb  are of incompatible versions or are built with</div><div>different configs.<br><div><br></div><div>&gt;&gt; Please provide version details of Samba and ctdb and source you download from.</div><br></div></span><div><i>Below are the versions of ctdb and samba :</i><br>--------------------------------------------------<br>samba-3.6.23-14.el6_6.x86_64<br>ctdb-2.5.1-1.el6.x86_64<br>--------------------------------------------------<br><br></div><div>I just installed the latest version from samba and ctdb.<br></div><div><br></div><div><i>In smb.conf I have mentioned :</i><br>-----------------------------------------------------------------<br></div><div>[global]<br>        clustering = yes<br>        idmap backend = tdb2<br>        private dir = /mnt/datavol/lock<br><br>[share]<br>        comment = Gluster and CTDB based shared volume<br>        path = /mnt/datavol/share<br>        read only = no<br>        guest ok = yes<br>--------------------------------------------------------------------<br></div><span class=""><br><div>&gt;&gt; Also check that /var/lib paths exist for Samba and ctdb.<br><i><br></i></div></span><div><i>Yes, /var/lib paths exists for both Samba and ctdb.</i><br><br></div><div>I would really appreciate your help in this.<br><br></div><div>Thanks<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>Sharad<br></div></font></span><div><div class="h5"><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 4, 2015 at 9:29 PM, Raghavendra Talur <span dir="ltr">&lt;<a href="mailto:raghavendra.talur@gmail.com" target="_blank">raghavendra.talur@gmail.com</a>&gt;</span> wrote:<br><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"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Mon, May 4, 2015 at 9:00 PM, Sharad Shukla <span dir="ltr">&lt;<a href="mailto:sharadshukla19@gmail.com" target="_blank">sharadshukla19@gmail.com</a>&gt;</span> wrote:<br><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><div><div>Hi All,<br><br></div>When I am starting Ctdb, Samba fails to start and thats why the nodes remain unhealthy.<br><br></div>Samba is failing with following error:<br>------------------------------------------------------------------------------------------<br>[2015/05/04 15:18:30,  0] lib/util.c:1117(smb_panic)<br> PANIC (pid 28393): Could not init smbd&#39;s messaging context.<br>-------------------------------------------------------------------------------------------<br><br></div></div></blockquote><div><br></div></span><div>This usually happens when samba , ctdb  are of incompatible versions or are built with</div><div>different configs.</div><div><br></div><div>Please provide version details of Samba and ctdb and source you download from.</div><div>Also check that /var/lib paths exist for Samba and ctdb.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span><div dir="ltr"><div># ctdb status<br>Number of nodes:2<br>pnn:0 192.168.3.131    UNHEALTHY (THIS NODE)<br>pnn:1 192.168.3.132    UNHEALTHY<br>Generation:1298358966<br>Size:2<br>hash:0 lmaster:0<br>hash:1 lmaster:1<br>Recovery mode:NORMAL (0)<br>Recovery master:0<br>--------------------------------------------------------------------------------------------<br><br></div><div>Please help to solve this issue.<br><br></div><div>Thanks<span><font color="#888888"><br></font></span></div><span><font color="#888888"><div>Sharad<br></div><br><br></font></span></div>
<br></span>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><span><font color="#888888"><br></font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><font color="#666666"><b>Raghavendra Talur </b></font><div><br></div></div></div>
</font></span></div></div>
</blockquote></div><br></div></div></div></div>
</div><br></div>