[Samba] 'Smb' server service is reason of panic of Samba 436 smbd daemon.

CpServiceSPb . cpservicespb at gmail.com
Mon Mar 14 20:15:39 UTC 2016


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.
>
>
>
>


More information about the samba mailing list