CpServiceSPb .
2016-Mar-14 20:15 UTC
[Samba] 'Smb' server service is reason of panic of Samba 436 smbd daemon.
Yes, exactly. Also, bind9 is used. Such behavior I saw at 436 at Ubuntu 14.04 x64. There was not so with 434 at Ubuntu 14.04 x32. Unfortunatelly, I didn' t understand what you said in 2nd part of phrase. I understand that if remove either some services or all from the line, it will turn it off. But I suppose, that 'smb' additionally tries to turn on smb which has been already on and as a result second start smb causes socket error because the socket are already in use.> Do you mean you have 'server services = smb, ...........' or something > like this, if so remove 'smb', there is no 'smb' option that I am aware > of and unless you are using bind9, you will not have a 'server services' > line in smb.conf as standard and adding one without giving all the > options will turn off any you don't add.2016-03-14 22:39 GMT+03:00 CpServiceSPb . <cpservicespb at gmail.com>:> I simply added 'smb' to 'server service' and got: > [2016/03/13 18:05:15.524842, 5, pid=27511, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:146(dbwrap_lock_order_state_destructor) > release lock order 2 for /usr/local/samba/var/lock/serverid.tdb > [2016/03/13 18:05:15.524866, 10, pid=27511, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:133(debug_lock_order) > lock order: 1:<none> 2:<none> 3:<none> > [2016/03/13 18:05:15.525284, 0, pid=27511, effective(0, 0), real(0, 0)] ../source3/lib/util.c:789(smb_panic_s3) > PANIC (pid 27511): open_sockets_smbd() failed > [2016/03/13 18:05:15.526215, 0, pid=27511, effective(0, 0), real(0, 0)] ../source3/lib/util.c:900(log_stack_trace) > BACKTRACE: 9 stack frames: > #0 /usr/local/samba/lib/libsmbconf.so.0(log_stack_trace+0x1f) [0x7f51474c3298] > #1 /usr/local/samba/lib/libsmbconf.so.0(smb_panic_s3+0x6f) [0x7f51474c30e3] > #2 /usr/local/samba/lib/libsamba-util.so.0(smb_panic+0x28) [0x7f5149b623a1] > #3 /usr/local/samba/lib/private/libsmbd-base-samba4.so(+0x1b6925) [0x7f514971e925] > #4 /usr/local/samba/lib/private/libsmbd-base-samba4.so(smbd_exit_server_cleanly+0) [0x7f514971e9dc] > #5 /usr/local/samba/lib/private/libsmbd-shim-samba4.so(exit_server+0x28) [0x7f5146e81c03] > #6 /usr/local/samba/sbin/smbd(main+0x1670) [0x562b9a0190aa] > #7 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f5145da7ec5] > #8 /usr/local/samba/sbin/smbd(+0x6249) [0x562b9a014249] > [2016/03/13 18:05:15.526531, 0, pid=27511, effective(0, 0), real(0, 0)] ../source3/lib/util.c:801(smb_panic_s3) > smb_panic(): calling panic action [/bin/sleep 999999999] > > > > It does sound like you are doing something wrong, please answer my reply to your first post. > > > >
Rowland penny
2016-Mar-14 20:33 UTC
[Samba] 'Smb' server service is reason of panic of Samba 436 smbd daemon.
On 14/03/16 20:15, CpServiceSPb . wrote:> Yes, exactly. > Also, bind9 is used. > Such behavior I saw at 436 at Ubuntu 14.04 x64. > There was not so with 434 at Ubuntu 14.04 x32. > > Unfortunatelly, I didn' t understand what you said in 2nd part of phrase. > > I understand that if remove either some services or all from the line, it > will turn it off. > But I suppose, that 'smb' additionally tries to turn on smb which has been > already on and as a result second start smb causes socket error because the > socket are already in use.OOPS :-[ You can use the 'smb' option, but because I never use it, I forgot all about it, also your line in smb.conf should be something like this: server services = smb, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate You will now find that you are using the ntvfs backend, which isn't as feature rich as the s3fs backend and isn't really maintained and there was some recent talk about removing the ntvfs backend. Please stop using the 'smb' option and then see if you have any problems with your DC. Also if you want to run Samba 4 as a standalone server, see here: https://wiki.samba.org/index.php/Standalone_server Rowland
CpServiceSpb
2016-Mar-14 21:47 UTC
[Samba] 'Smb' server service is reason of panic of Samba 436 smbd daemon.
I saw at the link, I tried simple conf posted at link, but didn' t get working result. By the way, I use passdb backend = samba_dsdb Which backend should I use withion standalone server ? After deleting all content of private folder (after provision as standalone server) I got 'smbd' error: "pdb_samba_dsdb_init_secrets failed!"> Also if you want to run Samba 4 as a standalone server, see here:> https://wiki.samba.org/index.php/Standalone_server <https://wiki.samba.org/index.php/Standalone_server>
Maybe Matching Threads
- 'Smb' server service is reason of panic of Samba 436 smbd daemon.
- 'Smb' server service is reason of panic of Samba 436 smbd daemon.
- 'Smb' server service is reason of panic of Samba 436 smbd daemon.
- 'Smb' server service is reason of panic of Samba 436 smbd daemon.
- 'Smb' server service is reason of panic of Samba 436 smbd daemon.