<div dir="ltr"><div><div><div><div>I couldn&#39;t able to follow up the issue as I was working on other things. Soon I was about to take the samba related task.<br><br>The <b>smb</b> service was unable to start as it failed to create /run/samba/ncalrpc file.<br></div><br></div>There was no /run/samba directory. We created /run/samba directory and started<b> </b>the <b>smb</b> service. It got started. Some other priorities came up and I got busy with them.<br><br></div><div>It was not an upgrade of older samba version. <br>And the samba-4.1.11-2.el6.x86_64 and its related rpm&#39;s were taken from gluster repository.<br><br></div><div>I have also attached the log.smbd and strace output of the smbd.<br><br>I request to provide some more knowledge on why this happened ?<br></div><div><br></div>Regards,<br></div>Omkar MN<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 20, 2015 at 2:58 AM, Ira Cooper <span dir="ltr">&lt;<a href="mailto:icooper@redhat.com" target="_blank">icooper@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Was this ever solved?<br>
<span class="HOEnZb"><font color="#888888"><br>
-Ira<br>
</font></span><span class="im HOEnZb"><br>
----- Original Message -----<br>
&gt; Hi,<br>
&gt;<br>
&gt; Can you post the output of #strace smbd and the logs(log.smbd)<br>
&gt; Was it an upgrade from older samba version? If yes, try clearing the<br>
&gt; /var/lib/samba/*.tdb files.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Poornima<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</span><div class="HOEnZb"><div class="h5">&gt; From: &quot;Omkar Sharma&quot; &lt;<a href="mailto:omkar@fractalio.com">omkar@fractalio.com</a>&gt;<br>
&gt; To: <a href="mailto:gluster-devel@gluster.org">gluster-devel@gluster.org</a><br>
&gt; Sent: Thursday, December 25, 2014 3:17:44 PM<br>
&gt; Subject: [Gluster-devel] Unable to start samba service (smb) - due to<br>
&gt; /run/samba/ncalrpc - No such file or directory<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; I have installed samba-4.1.11-2.el6.x86_64.rpm and its dependencies taken<br>
&gt; from the below link:<br>
&gt;<br>
&gt; <a href="http://download.gluster.org/pub/gluster/glusterfs/samba/CentOS/epel-6.5/x86_64/" target="_blank">http://download.gluster.org/pub/gluster/glusterfs/samba/CentOS/epel-6.5/x86_64/</a><br>
&gt;<br>
&gt; The samba package got installed but unable to start the smb service. And I<br>
&gt; have smb file inside /etc/init.d/ directory.<br>
&gt;<br>
&gt; $ sudo service smb status ...not showing any output<br>
&gt; $ sudo service smb start ...not showing any output<br>
&gt;<br>
&gt; $ sudo /etc/init.d/smb status ...not showing any output<br>
&gt; $ sudo /etc/init.d/smb start ...not showing any output<br>
&gt;<br>
&gt; And I went to see the log files inside /var/log/samba/.<br>
&gt;<br>
&gt; $ vi /var/log/samba/log.smbd<br>
&gt;<br>
&gt; smbd version 4.1.11 started.<br>
&gt; Copyright Andrew Tridgell and the Samba Team 1992-2013<br>
&gt; [2014/12/24 06:36:44.225371, 0] ../source3/smbd/server.c:1289(main)<br>
&gt; standard input is not a socket, assuming -D option<br>
&gt; [2014/12/24 06:36:44.472002, 0]<br>
&gt; ../lib/util/util.c:216(directory_create_or_exist)<br>
&gt; mkdir failed on directory /run/samba/ncalrpc: No such file or directory<br>
&gt; [2014/12/24 06:36:44.472317, 0] ../source3/smbd/server.c:1471(main)<br>
&gt; Failed to create pipe directory /run/samba/ncalrpc - No such file or<br>
&gt; directory<br>
&gt;<br>
&gt; Why the samba rpm is not creating /run/samba directory and place the file<br>
&gt; ncalrpc ?<br>
&gt;<br>
&gt;<br>
&gt; With Regards,<br>
&gt; Omkar MN<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Gluster-devel mailing list<br>
&gt; <a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-devel" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-devel</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Gluster-devel mailing list<br>
&gt; <a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-devel" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-devel</a><br>
&gt;<br>
</div></div></blockquote></div><br></div>