[Samba] Samba 4.12 update - panic/core dump

Eben Victor eben.victor at gmail.com
Wed Apr 22 13:53:00 UTC 2020


Hi All,

I need so assistance please.

Env.
RHEL 7
# samba-tool -V
4.12.1-SerNet-RedHat-10.el7
bind-9.11.4-16.P2.el7_8.2.x86_64

I recently updated out Samba DC's from 4.11.7 -> 4.12.1.
I then also ran
# samba-tool domain schemaupgrade

Updates went well without any issues, except for 1 DC it seems like.

I have multiple core.* files that are created at /
[root at DC3 /]# ll core.*
-rw------- 1 root root 181469184 Apr 22 15:44 core.3331
-rw------- 1 root root 161107968 Apr 22 15:46 core.3504
-rw------- 1 root root 180953088 Apr 22 15:45 core.3551
-rw------- 1 root root 162238464 Apr 22 15:44 core.3663
-rw------- 1 root root 181321728 Apr 22 15:45 core.3694
-rw------- 1 root root 181460992 Apr 22 15:45 core.4368
-rw------- 1 root root 181374976 Apr 22 15:45 core.4470

I also had to manually change the panic action in my smb.conf file

Faulty/Panic server
# testparm -vs | grep panic
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Server role: ROLE_ACTIVE_DIRECTORY_DC

panic action = /usr/share/samba/scripts/panic-action %d

Other servers:
# testparm -vs | grep panic
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Server role: ROLE_ACTIVE_DIRECTORY_DC

panic action = /usr/share/samba/panic-action %d

log.samba is returning
2020/04/22 15:51:09.956134,  0]
../../source4/lib/cmdline/popt_common.c:74(popt_s4_talloc_log_fn)
  Bad talloc magic value - unknown value
[2020/04/22 15:51:09.956355,  0]
../../lib/util/fault.c:132(smb_panic_default)
  smb_panic_default: PANIC (pid 5907): Bad talloc magic value - unknown
value
[2020/04/22 15:51:09.958022,  0] ../../lib/util/fault.c:265(log_stack_trace)
  BACKTRACE: 64 stack frames:
   #0 /usr/lib64/samba/libsamba-util.so.0(log_stack_trace+0x2d)
[0x7f1ceef2677b]
   #1 /usr/lib64/samba/libsamba-util.so.0(smb_panic+0xa2) [0x7f1ceef268ea]
   #2 /usr/lib64/samba/libtalloc.so.2(+0x3b01) [0x7f1cefe2ab01]
   #3 /usr/lib64/samba/libtalloc.so.2(+0x3b28) [0x7f1cefe2ab28]
   #4 /usr/lib64/samba/libtalloc.so.2(talloc_check_name+0x55)
[0x7f1cefe2aeae]
   #5 /usr/lib64/samba/ldb/partition.so(+0x5bef) [0x7f1cd176ebef]
   #6 /usr/lib64/samba/libldb.so.2(ldb_next_request+0x3da) [0x7f1cefc02238]
   #7 /usr/lib64/samba/ldb/show_deleted.so(+0x126e) [0x7f1ccee9426e]
   #8 /usr/lib64/samba/libldb.so.2(ldb_next_request+0x3da) [0x7f1cefc02238]
   #9 /usr/lib64/samba/ldb/extended_dn_out.so(+0x2a83) [0x7f1cd4602a83]
   #10 /usr/lib64/samba/libldb.so.2(ldb_next_request+0x3da) [0x7f1cefc02238]
   #11 /usr/lib64/samba/ldb/operational.so(+0x5bb4) [0x7f1cd1d86bb4]
   #12 /usr/lib64/samba/libldb.so.2(ldb_next_request+0x3da) [0x7f1cefc02238]
   #13 /usr/lib64/samba/ldb/encrypted_secrets.so(+0x2c5b) [0x7f1cd4a0cc5b]
   #14 /usr/lib64/samba/libldb.so.2(ldb_next_request+0x3da) [0x7f1cefc02238]
   #15 /usr/lib64/samba/ldb/rdn_name.so(+0x15f1) [0x7f1cd0d0c5f1]
   #16 /usr/lib64/samba/libldb.so.2(ldb_next_request+0x3da) [0x7f1cefc02238]
   #17 /usr/lib64/samba/ldb/aclread.so(+0x23e5) [0x7f1cd5c493e5]
   #18 /usr/lib64/samba/libldb.so.2(ldb_next_request+0x3da) [0x7f1cefc02238]
   #19 /usr/lib64/samba/ldb/acl.so(+0x63ad) [0x7f1cd5e533ad]
   #20 /usr/lib64/samba/libldb.so.2(ldb_next_request+0x3da) [0x7f1cefc02238]
   #21 /usr/lib64/samba/ldb/descriptor.so(+0x4d76) [0x7f1cd522dd76]
   #22 /usr/lib64/samba/libldb.so.2(ldb_next_request+0x3da) [0x7f1cefc02238]
   #23 /usr/lib64/samba/ldb/extended_dn_in.so(+0x1fe5) [0x7f1cd4806fe5]
   #24 /usr/lib64/samba/libldb.so.2(ldb_module_done+0x144) [0x7f1cefc01e55]
   #25 /usr/lib64/samba/ldb/acl.so(+0x6ed6) [0x7f1cd5e53ed6]
   #26 /usr/lib64/samba/libldb.so.2(ldb_module_done+0x144) [0x7f1cefc01e55]
   #27 /usr/lib64/samba/ldb/encrypted_secrets.so(+0x38cb) [0x7f1cd4a0d8cb]
   #28 /usr/lib64/samba/libldb.so.2(ldb_module_done+0x144) [0x7f1cefc01e55]
   #29 /usr/lib64/samba/ldb/operational.so(+0x333e) [0x7f1cd1d8433e]
   #30 /usr/lib64/samba/libldb.so.2(ldb_module_done+0x144) [0x7f1cefc01e55]
   #31 /usr/lib64/samba/ldb/extended_dn_out.so(+0x1caa) [0x7f1cd4601caa]
   #32 /usr/lib64/samba/libldb.so.2(ldb_module_done+0x144) [0x7f1cefc01e55]
   #33 /usr/lib64/samba/libdsdb-module-samba4.so(dsdb_next_callback+0x50)
[0x7f1cdef8b842]
   #34 /usr/lib64/samba/libldb.so.2(ldb_module_done+0x144) [0x7f1cefc01e55]
   #35 /usr/lib64/samba/ldb/partition.so(+0x52d7) [0x7f1cd176e2d7]
   #36 /usr/lib64/samba/libldb-key-value-samba4.so(+0x4642) [0x7f1cd31c9642]
   #37 /usr/lib64/samba/libldb-key-value-samba4.so(+0x653f) [0x7f1cd31cb53f]
   #38
/usr/lib64/samba/libtevent.so.0(tevent_common_invoke_timer_handler+0x16f)
[0x7f1cf003fc36]
   #39 /usr/lib64/samba/libtevent.so.0(tevent_common_loop_timer_delay+0xa6)
[0x7f1cf003fd9c]
   #40 /usr/lib64/samba/libtevent.so.0(+0xc1e0) [0x7f1cf00411e0]
   #41 /usr/lib64/samba/libtevent.so.0(+0xa1e7) [0x7f1cf003f1e7]
   #42 /usr/lib64/samba/libtevent.so.0(_tevent_loop_once+0xa3)
[0x7f1cf003a916]
   #43 /usr/lib64/samba/libldb.so.2(ldb_wait+0x143) [0x7f1cefbfe928]
   #44 /usr/lib64/samba/ldb/paged_results.so(+0x18a5) [0x7f1cd1b7d8a5]
   #45 /usr/lib64/samba/ldb/paged_results.so(+0x2251) [0x7f1cd1b7e251]
   #46 /usr/lib64/samba/libldb.so.2(ldb_next_request+0x3da) [0x7f1cefc02238]
   #47 /usr/lib64/samba/ldb/dirsync.so(+0x24ed) [0x7f1cd50234ed]
   #48 /usr/lib64/samba/libldb.so.2(ldb_next_request+0x3da) [0x7f1cefc02238]
   #49 /usr/lib64/samba/ldb/lazy_commit.so(+0xdce) [0x7f1cd3be8dce]
   #50 /usr/lib64/samba/libldb.so.2(ldb_next_request+0x3da) [0x7f1cefc02238]
   #51 /usr/lib64/samba/ldb/dsdb_notification.so(+0x118f) [0x7f1cd4c1218f]
   #52 /usr/lib64/samba/libldb.so.2(ldb_next_request+0x3da) [0x7f1cefc02238]
   #53 /usr/lib64/samba/ldb/rootdse.so(+0x7539) [0x7f1cd06dc539]
   #54 /usr/lib64/samba/libldb.so.2(ldb_next_request+0x3da) [0x7f1cefc02238]
   #55 /usr/lib64/samba/ldb/resolve_oids.so(+0x1dc3) [0x7f1cd08e8dc3]
   #56 /usr/lib64/samba/libldb.so.2(ldb_next_request+0x3da) [0x7f1cefc02238]
   #57 /usr/lib64/samba/libldb.so.2(+0xb963) [0x7f1cefbff963]
   #58 /usr/lib64/samba/libldb.so.2(ldb_request+0x4f8) [0x7f1cefbfeee7]
   #59 /usr/lib64/samba/service/ldap.so(ldapsrv_do_call+0x7f9)
[0x7f1cd6a9b19b]
   #60 /usr/lib64/samba/service/ldap.so(+0x4c6c) [0x7f1cd6a97c6c]
   #61 /usr/lib64/samba/libtevent.so.0(+0x682d) [0x7f1cf003b82d]
   #62
/usr/lib64/samba/libtevent.so.0(tevent_common_invoke_immediate_handler+0x125)
[0x7f1cf003b509]
   #63 /usr/lib64/samba/libtevent.so.0(tevent_common_loop_immediate+0x1c)
[0x7f1cf003b53b]
[2020/04/22 15:51:09.959256,  0]
../../lib/util/fault.c:149(smb_panic_default)
  smb_panic(): calling panic action [/usr/share/samba/panic-action 5907]
sh: /usr/share/samba/panic-action: No such file or directory
[2020/04/22 15:51:09.981017,  0]
../../lib/util/fault.c:157(smb_panic_default)
  smb_panic(): action returned status 127

What have I broken?


-- 
Eben


More information about the samba mailing list