Re: Unable to start samba service (smb) - due to /run/samba/ncalrpc - No such file or directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


From: "Omkar Sharma" <omkar@xxxxxxxxxxxxx>
To: gluster-devel@xxxxxxxxxxx
Sent: Thursday, December 25, 2014 3:17:44 PM
Subject: 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@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel

_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux