<div dir="ltr"><div><div><div><div>I couldn'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'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"><<a href="mailto:icooper@redhat.com" target="_blank">icooper@redhat.com</a>></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>
> Hi,<br>
><br>
> Can you post the output of #strace smbd and the logs(log.smbd)<br>
> Was it an upgrade from older samba version? If yes, try clearing the<br>
> /var/lib/samba/*.tdb files.<br>
><br>
> Regards,<br>
> Poornima<br>
><br>
><br>
><br>
><br>
</span><div class="HOEnZb"><div class="h5">> From: "Omkar Sharma" <<a href="mailto:omkar@fractalio.com">omkar@fractalio.com</a>><br>
> To: <a href="mailto:gluster-devel@gluster.org">gluster-devel@gluster.org</a><br>
> Sent: Thursday, December 25, 2014 3:17:44 PM<br>
> Subject: [Gluster-devel] Unable to start samba service (smb) - due to<br>
> /run/samba/ncalrpc - No such file or directory<br>
><br>
> Hi,<br>
><br>
> I have installed samba-4.1.11-2.el6.x86_64.rpm and its dependencies taken<br>
> from the below link:<br>
><br>
> <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>
><br>
> The samba package got installed but unable to start the smb service. And I<br>
> have smb file inside /etc/init.d/ directory.<br>
><br>
> $ sudo service smb status ...not showing any output<br>
> $ sudo service smb start ...not showing any output<br>
><br>
> $ sudo /etc/init.d/smb status ...not showing any output<br>
> $ sudo /etc/init.d/smb start ...not showing any output<br>
><br>
> And I went to see the log files inside /var/log/samba/.<br>
><br>
> $ vi /var/log/samba/log.smbd<br>
><br>
> smbd version 4.1.11 started.<br>
> Copyright Andrew Tridgell and the Samba Team 1992-2013<br>
> [2014/12/24 06:36:44.225371, 0] ../source3/smbd/server.c:1289(main)<br>
> standard input is not a socket, assuming -D option<br>
> [2014/12/24 06:36:44.472002, 0]<br>
> ../lib/util/util.c:216(directory_create_or_exist)<br>
> mkdir failed on directory /run/samba/ncalrpc: No such file or directory<br>
> [2014/12/24 06:36:44.472317, 0] ../source3/smbd/server.c:1471(main)<br>
> Failed to create pipe directory /run/samba/ncalrpc - No such file or<br>
> directory<br>
><br>
> Why the samba rpm is not creating /run/samba directory and place the file<br>
> ncalrpc ?<br>
><br>
><br>
> With Regards,<br>
> Omkar MN<br>
><br>
> _______________________________________________<br>
> Gluster-devel mailing list<br>
> <a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
> <a href="http://www.gluster.org/mailman/listinfo/gluster-devel" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-devel</a><br>
><br>
><br>
> _______________________________________________<br>
> Gluster-devel mailing list<br>
> <a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
> <a href="http://www.gluster.org/mailman/listinfo/gluster-devel" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-devel</a><br>
><br>
</div></div></blockquote></div><br></div>