[Gluster-devel] Unable to start samba service (smb) - due to /run/samba/ncalrpc - No such file or directory

Poornima Gurusiddaiah pgurusid at redhat.com
Fri Dec 26 05:40:29 UTC 2014


Hi, 

Can you post the output of #strace smbd and the logs(log.smbd) 
Was it an upgrade from older samba version? If yes, try clearing the /var/lib/samba/*.tdb files. 

Regards, 
Poornima 

----- Original Message -----

> From: "Omkar Sharma" <omkar at fractalio.com>
> To: gluster-devel at gluster.org
> Sent: Thursday, December 25, 2014 3:17:44 PM
> Subject: [Gluster-devel] Unable to start samba service (smb) - due to
> /run/samba/ncalrpc - No such file or directory

> Hi,

> I have installed samba-4.1.11-2.el6.x86_64.rpm and its dependencies taken
> from the below link:

> http://download.gluster.org/pub/gluster/glusterfs/samba/CentOS/epel-6.5/x86_64/

> The samba package got installed but unable to start the smb service. And I
> have smb file inside /etc/init.d/ directory.

> $ sudo service smb status ...not showing any output
> $ sudo service smb start ...not showing any output

> $ sudo /etc/init.d/smb status ...not showing any output
> $ sudo /etc/init.d/smb start ...not showing any output

> And I went to see the log files inside /var/log/samba/.

> $ vi /var/log/samba/log.smbd

> smbd version 4.1.11 started.
> Copyright Andrew Tridgell and the Samba Team 1992-2013
> [2014/12/24 06:36:44.225371, 0] ../source3/smbd/server.c:1289(main)
> standard input is not a socket, assuming -D option
> [2014/12/24 06:36:44.472002, 0]
> ../lib/util/util.c:216(directory_create_or_exist)
> mkdir failed on directory /run/samba/ncalrpc: No such file or directory
> [2014/12/24 06:36:44.472317, 0] ../source3/smbd/server.c:1471(main)
> Failed to create pipe directory /run/samba/ncalrpc - No such file or
> directory

> Why the samba rpm is not creating /run/samba directory and place the file
> ncalrpc ?

> With Regards,
> Omkar MN

> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20141226/8b3f81a1/attachment.html>


More information about the Gluster-devel mailing list