Running samba and smbd processes together

Anoop Singh anoop.singh at celstream.com
Mon Sep 21 06:57:35 UTC 2015


Hi Marc,

I am getting below mentioned output for 'ps axf | grep samba' command:

root at dc1:~# ps axf | grep samba
10619 pts/9    S+     0:00          |                   \_ grep --color=auto samba
10465 ?        Ss     0:00          \_ samba
10466 ?        S      0:00              \_ samba
10467 ?        S      0:00              \_ samba
10468 ?        S      0:00              \_ samba
10469 ?        S      0:00              \_ samba
10470 ?        S      0:00              \_ samba
10471 ?        S      0:00              \_ samba
10472 ?        S      0:00              \_ samba
10473 ?        S      0:00              \_ samba
10474 ?        S      0:00              \_ samba
10475 ?        S      0:00              \_ samba
10476 ?        S      0:00              \_ samba
10477 ?        S      0:00              \_ samba
10478 ?        S      0:00              \_ samba

I did DC configuration using this command:
samba-tool domain provision --use-rfc2307 --use-ntvfs --interactive

This automatically generated the smb.conf file. I added only file share lines.
Here is the Log.samba:
[2015/09/21 11:44:51.361702,  0] ../source4/smbd/server.c:370(binary_smbd_main)
  samba version 4.1.6-Ubuntu started.
  Copyright Andrew Tridgell and the Samba Team 1992-2013
[2015/09/21 11:44:51.562067,  0] ../source4/smbd/server.c:492(binary_smbd_main)
  samba: using 'standard' process model
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.

samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.

Log.smbd is same as " You should start samba instead, it will control starting smbd if required".

One more thing the same I have to implement on my android device later on after making it working on Ubuntu machine. Please let me know the issue.

Thanks & regards,
Anoop.


-----Original Message-----
From: Marc Muehlfeld [mailto:mmuehlfeld at samba.org]
Sent: Monday, September 21, 2015 12:06 PM
To: Anoop Singh; samba-technical at lists.samba.org
Subject: Re: Running samba and smbd processes together

Hello Anoop,

Am 21.09.2015 um 08:21 schrieb Anoop Singh:
> Thanks a lot for the help.
> I did 'ps' for samba. It gives me pid of one parent and 11-12 child processes.
> When I did ps for 'smbd' specifically, I don't get any pid as "smbd" is not running. Looks like samba is not starting smbd. Do I need to configure something?

Doesn't it look like here?
https://cpaste.org/pxzr48gr5/xu0lpp/raw

If you don't have "smbd" child-processes, please let us see the output of "ps axf" on your host.



> server services = rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind,
> ntp_signd, kcc, dnsupdate, dns, smb

Did you modified that line? I see no "s3fs", but an unexpected "smb" here.

Please try the default for DCs (with internal DNS):
server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate, dns


Regards,
Marc

-----------------------------------------------------------------------------------------------------------------------------
DISCLAIMER: This electronic message and any attachments to this electronic message is intended for the exclusive use of the addressee(s) named herein and may contain legally privileged and confidential information. It is the property of Celstream Technologies Private Limited. If you are not the intended recipient, you are hereby strictly notified not to copy, forward, distribute or use this message or any attachments thereto. If you have received this message in error, please delete it and all copies thereof, from your system and notify the sender at Celstream Technologies or administrator at celstream.com immediately.
-----------------------------------------------------------------------------------------------------------------------------



More information about the samba-technical mailing list