<html><body><div style="font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000"><div>Hi,<br></div><div><br></div><div>Can you post the output of #strace smbd and the logs(log.smbd)<br></div><div>Was it an upgrade from older samba version? If yes, try clearing the /var/lib/samba/*.tdb files.<br></div><div><br></div><div>Regards,<br></div><div>Poornima<br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Omkar Sharma" &lt;omkar@fractalio.com&gt;<br><b>To: </b>gluster-devel@gluster.org<br><b>Sent: </b>Thursday, December 25, 2014 3:17:44 PM<br><b>Subject: </b>[Gluster-devel] Unable to start samba service (smb) - due to /run/samba/ncalrpc - No such file or directory<br><div><br></div><div dir="ltr"><div>Hi,<br><div><br></div></div><div>I have installed samba-4.1.11-2.el6.x86_64.rpm and its dependencies taken from the below link:<br><div><br></div><a href="http://download.gluster.org/pub/gluster/glusterfs/samba/CentOS/epel-6.5/x86_64/" target="_blank" data-mce-href="http://download.gluster.org/pub/gluster/glusterfs/samba/CentOS/epel-6.5/x86_64/">http://download.gluster.org/pub/gluster/glusterfs/samba/CentOS/epel-6.5/x86_64/</a><br><div><br></div></div><div>The samba package got installed but unable to start the smb service. And I have <b>smb</b> file inside /etc/init.d/ directory.<br><div><br></div></div><div>$ sudo service smb status&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...not showing any output<br></div><div>$ sudo service smb start&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...not showing any output<br><div><br></div></div><div>$ sudo /etc/init.d/smb status&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...not showing any output<br></div><div>$ sudo /etc/init.d/smb start &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...not showing any output<br><div><br></div></div><div>And I went to see the log files inside /var/log/samba/.<br><div><br></div></div><div>$ vi /var/log/samba/log.smbd</div><div><br>&nbsp;smbd version 4.1.11 started.<br>&nbsp; Copyright Andrew Tridgell and the Samba Team 1992-2013<br>[2014/12/24 06:36:44.225371,&nbsp; 0] ../source3/smbd/server.c:1289(main)<br>&nbsp; standard input is not a socket, assuming -D option<br>[2014/12/24 06:36:44.472002,&nbsp; 0] ../lib/util/util.c:216(directory_create_or_exist)<br>&nbsp; mkdir failed on directory /run/samba/ncalrpc: No such file or directory<br>[2014/12/24 06:36:44.472317,&nbsp; 0] ../source3/smbd/server.c:1471(main)<br>&nbsp; Failed to create pipe directory /run/samba/ncalrpc - No such file or directory<br><div><br></div></div><div>Why the samba rpm is not creating /run/samba directory and place the file ncalrpc ?<br><div><br></div></div><div><br></div>With Regards,<br>Omkar MN<br></div><br>_______________________________________________<br>Gluster-devel mailing list<br>Gluster-devel@gluster.org<br>http://www.gluster.org/mailman/listinfo/gluster-devel<br></blockquote><div><br></div></div></body></html>