Andreas Oster
2019-Sep-20 11:12 UTC
[Samba] DNS crashing when accessing with MS DNS tool on Samba with BIND9 backend
Hi all, I am currently having some problems managing DNS on our Samba servers with bind9 backend. Whenever I try to access the AD domain zone from the MS DNS tool the DNS part crashes and services need to be restarted. After the crash DNS is not working anymore. I get the following in log.samba: [2019/09/20 09:39:10.681745,? 0] ../../source4/rpc_server/dnsserver/dcerpc_dnsserver.c:1101(dnsserver_query_zone) ? dnsserver: Invalid zone operation IsSigned==============================================================[2019/09/20 09:39:10.693900,? 0] ../../lib/util/fault.c:80(fault_report) ? INTERNAL ERROR: Signal 11 in pid 6563 (4.10.9-GIT-e3f51924971) ? Please read the Trouble-Shooting section of the Samba HOWTO [2019/09/20 09:39:10.694089,? 0] ../../lib/util/fault.c:82(fault_report) ? ==============================================================[2019/09/20 09:39:10.694168,? 0] ../../lib/util/fault.c:128(smb_panic_default) ? smb_panic_default: PANIC (pid 6563): internal error [2019/09/20 09:39:10.695626,? 0] ../../lib/util/fault.c:261(log_stack_trace) ? BACKTRACE: 49 stack frames: ?? #0 /usr/local/samba/lib/libsamba-util.so.0(log_stack_trace+0x2e) [0x7fdc478da67f] ?? #1 /usr/local/samba/lib/libsamba-util.so.0(+0x22405) [0x7fdc478da405] ?? #2 /usr/local/samba/lib/libsamba-util.so.0(log_stack_trace+0) [0x7fdc478da651] ?? #3 /usr/local/samba/lib/libsamba-util.so.0(+0x22307) [0x7fdc478da307] ?? #4 /usr/local/samba/lib/libsamba-util.so.0(+0x2231c) [0x7fdc478da31c] ?? #5 /lib/x86_64-linux-gnu/libpthread.so.0(+0x12890) [0x7fdc45fcf890] ?? #6 /usr/local/samba/lib/private/libldb.so.1(ldb_msg_find_element+0x5e) [0x7fdc483c57d3] ?? #7 /usr/local/samba/lib/private/libldb.so.1(ldb_msg_find_ldb_val+0x23) [0x7fdc483c68ba] ?? #8 /usr/local/samba/lib/private/libldb.so.1(ldb_msg_find_attr_as_string+0x27) [0x7fdc483c6f80] ?? #9 /usr/local/samba/lib/libdcerpc-server.so.0(dns_name_compare+0x4e) [0x7fdc30b97f22] ?? #10 /usr/local/samba/lib/private/libldb.so.1(ldb_qsort+0x31e) [0x7fdc483d6953] ?? #11 /usr/local/samba/lib/libdcerpc-server.so.0(+0x848dc) [0x7fdc30b918dc] ?? #12 /usr/local/samba/lib/libdcerpc-server.so.0(+0x85df4) [0x7fdc30b92df4] ?? #13 /usr/local/samba/lib/libdcerpc-server.so.0(+0x867b7) [0x7fdc30b937b7] ?? #14 /usr/local/samba/lib/libdcerpc-server.so.0(+0x2ac58) [0x7fdc30b37c58] ?? #15 /usr/local/samba/lib/libdcerpc-server.so.0(+0x2bcda) [0x7fdc30b38cda] ?? #16 /usr/local/samba/lib/libdcerpc-server.so.0(+0x2d6fc) [0x7fdc30b3a6fc] ?? #17 /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_notify_callback+0x6a) [0x7fdc487ff7d2] ?? #18 /usr/local/samba/lib/private/libtevent.so.0(+0x8933) [0x7fdc487ff933] ?? #19 /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_done+0x25) [0x7fdc487ff960] ?? #20 /usr/local/samba/lib/libdcerpc-binding.so.0(+0xea94) [0x7fdc44c12a94] ?? #21 /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_notify_callback+0x6a) [0x7fdc487ff7d2] ?? #22 /usr/local/samba/lib/private/libtevent.so.0(+0x8933) [0x7fdc487ff933] ?? #23 /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_done+0x25) [0x7fdc487ff960] ?? #24 /usr/local/samba/lib/private/libsamba-sockets-samba4.so(+0x72e2) [0x7fdc459b72e2] ?? #25 /usr/local/samba/lib/private/libsamba-sockets-samba4.so(+0x751c) [0x7fdc459b751c] ?? #26 /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_notify_callback+0x6a) [0x7fdc487ff7d2] ?? #27 /usr/local/samba/lib/private/libtevent.so.0(+0x8933) [0x7fdc487ff933] ?? #28 /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_done+0x25) [0x7fdc487ff960] ?? #29 /usr/local/samba/lib/private/libsamba-sockets-samba4.so(+0x6722) [0x7fdc459b6722] ?? #30 /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_notify_callback+0x6a) [0x7fdc487ff7d2] ?? #31 /usr/local/samba/lib/private/libtevent.so.0(+0x8933) [0x7fdc487ff933] ?? #32 /usr/local/samba/lib/private/libtevent.so.0(+0x8a60) [0x7fdc487ffa60] ?? #33 /usr/local/samba/lib/private/libtevent.so.0(tevent_common_invoke_immediate_handler+0x184) [0x7fdc487fe6d5] ?? #34 /usr/local/samba/lib/private/libtevent.so.0(tevent_common_loop_immediate+0x37) [0x7fdc487fe7db] ?? #35 /usr/local/samba/lib/private/libtevent.so.0(+0x11e79) [0x7fdc48808e79] ?? #36 /usr/local/samba/lib/private/libtevent.so.0(+0xe70b) [0x7fdc4880570b] ?? #37 /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0x11e) [0x7fdc487fd17f] ?? #38 /usr/local/samba/lib/private/libtevent.so.0(tevent_common_loop_wait+0x25) [0x7fdc487fd4d1] ?? #39 /usr/local/samba/lib/private/libtevent.so.0(+0xe7ad) [0x7fdc488057ad] ?? #40 /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_wait+0x2b) [0x7fdc487fd574] ?? #41 /usr/local/samba/lib/process_model/standard.so(+0x29fd) [0x7fdc3a9399fd] ?? #42 /usr/local/samba/lib/private/libservice-samba4.so(task_server_startup+0x9b) [0x7fdc481abb11] ?? #43 /usr/local/samba/lib/private/libservice-samba4.so(+0x2b05) [0x7fdc481a9b05] ?? #44 /usr/local/samba/lib/private/libservice-samba4.so(server_service_startup+0x162) [0x7fdc481a9c82] ?? #45 samba: task[dcesrv](+0x613e) [0x5638fd65113e] ?? #46 samba: task[dcesrv](main+0x3f) [0x5638fd651250] ?? #47 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fdc45bedb97] ?? #48 samba: task[dcesrv](_start+0x2a) [0x5638fd64eb0a] [2019/09/20 09:39:11.350740,? 0] ../../source4/smbd/process_standard.c:160(standard_child_pipe_handler) ? standard_child_pipe_handler: Child 6563 (rpc) terminated with signal 6 When I access any other configured non-AD zone on the server the crash does not happen. I have already tried to repair the setup with "samba_upgradedns --dns-backend=BIND9_DLZ" but unfortunately this did not change anything. Does anyone have an idea what could be the cause of the problem and how it can be fixed ? Thank you for your kind help. Best regards Andreas -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20190920/1ecac1d8/signature.sig>
L.P.H. van Belle
2019-Sep-20 11:43 UTC
[Samba] DNS crashing when accessing with MS DNS tool on Samba with BIND9 backend
I would suggest, downgrade to a "release" samba version. Check if it happens again.. 4.10.9-GIT-e3f51924971 < 4.10.9 is not released yet. If is also craches with 4.10.8, then submit a bug in bugzilla. (note: > ? Please read the Trouble-Shooting section of the Samba HOWTO ) ;-) Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Andreas Oster via samba > Verzonden: vrijdag 20 september 2019 13:13 > Aan: samba at lists.samba.org > Onderwerp: [Samba] DNS crashing when accessing with MS DNS > tool on Samba with BIND9 backend > > Hi all, > > I am currently having some problems managing DNS on our Samba servers > with bind9 backend. Whenever I try to access the AD domain > zone from the > MS DNS tool the DNS part crashes and services need to be restarted. > After the crash DNS is not working anymore. > > I get the following in log.samba: > > [2019/09/20 09:39:10.681745,? 0] > ../../source4/rpc_server/dnsserver/dcerpc_dnsserver.c:1101(dns > server_query_zone) > ? dnsserver: Invalid zone operation > IsSigned=====================================================> ========> [2019/09/20 09:39:10.693900,? 0] > ../../lib/util/fault.c:80(fault_report) > ? INTERNAL ERROR: Signal 11 in pid 6563 (4.10.9-GIT-e3f51924971) > ? Please read the Trouble-Shooting section of the Samba HOWTO > [2019/09/20 09:39:10.694089,? 0] > ../../lib/util/fault.c:82(fault_report) > ? ==============================================================> [2019/09/20 09:39:10.694168,? 0] > ../../lib/util/fault.c:128(smb_panic_default) > ? smb_panic_default: PANIC (pid 6563): internal error > [2019/09/20 09:39:10.695626,? 0] > ../../lib/util/fault.c:261(log_stack_trace) > ? BACKTRACE: 49 stack frames: > ?? #0 /usr/local/samba/lib/libsamba-util.so.0(log_stack_trace+0x2e) > [0x7fdc478da67f] > ?? #1 /usr/local/samba/lib/libsamba-util.so.0(+0x22405) > [0x7fdc478da405] > ?? #2 /usr/local/samba/lib/libsamba-util.so.0(log_stack_trace+0) > [0x7fdc478da651] > ?? #3 /usr/local/samba/lib/libsamba-util.so.0(+0x22307) > [0x7fdc478da307] > ?? #4 /usr/local/samba/lib/libsamba-util.so.0(+0x2231c) > [0x7fdc478da31c] > ?? #5 /lib/x86_64-linux-gnu/libpthread.so.0(+0x12890) [0x7fdc45fcf890] > ?? #6 > /usr/local/samba/lib/private/libldb.so.1(ldb_msg_find_element+0x5e) > [0x7fdc483c57d3] > ?? #7 > /usr/local/samba/lib/private/libldb.so.1(ldb_msg_find_ldb_val+0x23) > [0x7fdc483c68ba] > ?? #8 > /usr/local/samba/lib/private/libldb.so.1(ldb_msg_find_attr_as_ > string+0x27) > [0x7fdc483c6f80] > ?? #9 > /usr/local/samba/lib/libdcerpc-server.so.0(dns_name_compare+0x4e) > [0x7fdc30b97f22] > ?? #10 /usr/local/samba/lib/private/libldb.so.1(ldb_qsort+0x31e) > [0x7fdc483d6953] > ?? #11 /usr/local/samba/lib/libdcerpc-server.so.0(+0x848dc) > [0x7fdc30b918dc] > ?? #12 /usr/local/samba/lib/libdcerpc-server.so.0(+0x85df4) > [0x7fdc30b92df4] > ?? #13 /usr/local/samba/lib/libdcerpc-server.so.0(+0x867b7) > [0x7fdc30b937b7] > ?? #14 /usr/local/samba/lib/libdcerpc-server.so.0(+0x2ac58) > [0x7fdc30b37c58] > ?? #15 /usr/local/samba/lib/libdcerpc-server.so.0(+0x2bcda) > [0x7fdc30b38cda] > ?? #16 /usr/local/samba/lib/libdcerpc-server.so.0(+0x2d6fc) > [0x7fdc30b3a6fc] > ?? #17 > /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_notify > _callback+0x6a) > [0x7fdc487ff7d2] > ?? #18 /usr/local/samba/lib/private/libtevent.so.0(+0x8933) > [0x7fdc487ff933] > ?? #19 > /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_done+0x25) > [0x7fdc487ff960] > ?? #20 /usr/local/samba/lib/libdcerpc-binding.so.0(+0xea94) > [0x7fdc44c12a94] > ?? #21 > /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_notify > _callback+0x6a) > [0x7fdc487ff7d2] > ?? #22 /usr/local/samba/lib/private/libtevent.so.0(+0x8933) > [0x7fdc487ff933] > ?? #23 > /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_done+0x25) > [0x7fdc487ff960] > ?? #24 > /usr/local/samba/lib/private/libsamba-sockets-samba4.so(+0x72e2) > [0x7fdc459b72e2] > ?? #25 > /usr/local/samba/lib/private/libsamba-sockets-samba4.so(+0x751c) > [0x7fdc459b751c] > ?? #26 > /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_notify > _callback+0x6a) > [0x7fdc487ff7d2] > ?? #27 /usr/local/samba/lib/private/libtevent.so.0(+0x8933) > [0x7fdc487ff933] > ?? #28 > /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_done+0x25) > [0x7fdc487ff960] > ?? #29 > /usr/local/samba/lib/private/libsamba-sockets-samba4.so(+0x6722) > [0x7fdc459b6722] > ?? #30 > /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_notify > _callback+0x6a) > [0x7fdc487ff7d2] > ?? #31 /usr/local/samba/lib/private/libtevent.so.0(+0x8933) > [0x7fdc487ff933] > ?? #32 /usr/local/samba/lib/private/libtevent.so.0(+0x8a60) > [0x7fdc487ffa60] > ?? #33 > /usr/local/samba/lib/private/libtevent.so.0(tevent_common_invo > ke_immediate_handler+0x184) > [0x7fdc487fe6d5] > ?? #34 > /usr/local/samba/lib/private/libtevent.so.0(tevent_common_loop > _immediate+0x37) > [0x7fdc487fe7db] > ?? #35 /usr/local/samba/lib/private/libtevent.so.0(+0x11e79) > [0x7fdc48808e79] > ?? #36 /usr/local/samba/lib/private/libtevent.so.0(+0xe70b) > [0x7fdc4880570b] > ?? #37 > /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0x11e) > [0x7fdc487fd17f] > ?? #38 > /usr/local/samba/lib/private/libtevent.so.0(tevent_common_loop > _wait+0x25) > [0x7fdc487fd4d1] > ?? #39 /usr/local/samba/lib/private/libtevent.so.0(+0xe7ad) > [0x7fdc488057ad] > ?? #40 > /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_wait+0x2b) > [0x7fdc487fd574] > ?? #41 /usr/local/samba/lib/process_model/standard.so(+0x29fd) > [0x7fdc3a9399fd] > ?? #42 > /usr/local/samba/lib/private/libservice-samba4.so(task_server_ > startup+0x9b) > [0x7fdc481abb11] > ?? #43 /usr/local/samba/lib/private/libservice-samba4.so(+0x2b05) > [0x7fdc481a9b05] > ?? #44 > /usr/local/samba/lib/private/libservice-samba4.so(server_servi > ce_startup+0x162) > [0x7fdc481a9c82] > ?? #45 samba: task[dcesrv](+0x613e) [0x5638fd65113e] > ?? #46 samba: task[dcesrv](main+0x3f) [0x5638fd651250] > ?? #47 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) > [0x7fdc45bedb97] > ?? #48 samba: task[dcesrv](_start+0x2a) [0x5638fd64eb0a] > [2019/09/20 09:39:11.350740,? 0] > ../../source4/smbd/process_standard.c:160(standard_child_pipe_handler) > ? standard_child_pipe_handler: Child 6563 (rpc) terminated > with signal 6 > > When I access any other configured non-AD zone on the server the crash > does not happen. > > I have already tried to repair the setup with "samba_upgradedns > --dns-backend=BIND9_DLZ" but unfortunately this did not > change anything. > > Does anyone have an idea what could be the cause of the > problem and how > it can be fixed ? > > Thank you for your kind help. > > Best regards > Andreas > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
Rowland penny
2019-Sep-20 11:55 UTC
[Samba] DNS crashing when accessing with MS DNS tool on Samba with BIND9 backend
On 20/09/2019 12:43, L.P.H. van Belle via samba wrote:> I would suggest, downgrade to a "release" samba version. > Check if it happens again.. > > 4.10.9-GIT-e3f51924971 < 4.10.9 is not released yet. > If is also craches with 4.10.8, then submit a bug in bugzilla. > (note: > ? Please read the Trouble-Shooting section of the Samba HOWTO ) > ;-) >I agree with what Louis says, plus it might help if you tell us what OS this is on and post your Bind9 conf files. Rowland
Possibly Parallel Threads
- DNS crashing when accessing with MS DNS tool on Samba with BIND9 backend
- Winbind crash on Samba 4.7.2
- Bind DNS crashing after upgrade to 4.9.0
- Samba panic when accessing DNS domain entry with RSAT DNS tool
- Samba panic when accessing DNS domain entry with RSAT DNS tool