Chris Kukuchka
2013-Mar-13 20:13 UTC
[Samba] Samba panics frequently after being configured for AD authentication
Hello, I had just completed reconfiguring Samba so it would authenticate against Active Directory. After user side testing seemed successful, I found the log directory on the server was growing quickly and abrtd emails were being sent out. Unfortunately, I have been unable to track down the cause for these panics and I am looking for help. The /var/log/messages files contains entries like this posted every few seconds: [2013/03/13 15:59:02.576390, 0] lib/fault.c:47(fault_report) ==============================================================[2013/03/13 15:59:02.576961, 0] lib/fault.c:48(fault_report) INTERNAL ERROR: Signal 11 in pid 24781 (3.6.9-151.el6) Please read the Trouble-Shooting section of the Samba3-HOWTO [2013/03/13 15:59:02.577486, 0] lib/fault.c:50(fault_report) From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf [2013/03/13 15:59:02.577972, 0] lib/fault.c:51(fault_report) ==============================================================[2013/03/13 15:59:02.578512, 0] lib/util.c:1117(smb_panic) PANIC (pid 24781): internal error [2013/03/13 15:59:02.586398, 0] lib/util.c:1221(log_stack_trace) BACKTRACE: 25 stack frames: #0 smbd(log_stack_trace+0x1a) [0x7f54df3a575a] #1 smbd(smb_panic+0x2b) [0x7f54df3a582b] #2 smbd(+0x41a2b4) [0x7f54df3962b4] #3 /lib64/libc.so.6(+0x34f1632920) [0x7f54dbd17920] #4 smbd(_wkssvc_NetWkstaEnumUsers+0x184) [0x7f54df214844] #5 smbd(+0x2976f7) [0x7f54df2136f7] #6 smbd(+0x31c4b6) [0x7f54df2984b6] #7 smbd(process_complete_pdu+0xe0f) [0x7f54df29972f] #8 smbd(process_incoming_data+0x128) [0x7f54df29aea8] #9 smbd(np_write_send+0x151) [0x7f54df29b341] #10 smbd(+0x10ef79) [0x7f54df08af79] #11 smbd(+0x10f47b) [0x7f54df08b47b] #12 smbd(reply_trans+0x60a) [0x7f54df08c2ea] #13 smbd(+0x178604) [0x7f54df0f4604] #14 smbd(+0x178a1b) [0x7f54df0f4a1b] #15 smbd(+0x178e35) [0x7f54df0f4e35] #16 smbd(run_events_poll+0x377) [0x7f54df3b4ad7] #17 smbd(smbd_process+0x86d) [0x7f54df0f297d] #18 smbd(+0x6998cf) [0x7f54df6158cf] #19 smbd(run_events_poll+0x377) [0x7f54df3b4ad7] #20 smbd(+0x438f8f) [0x7f54df3b4f8f] #21 smbd(_tevent_loop_once+0x90) [0x7f54df3b5310] #22 smbd(main+0xf3b) [0x7f54df616bcb] #23 /lib64/libc.so.6(__libc_start_main+0xfd) [0x7f54dbd03cdd] #24 smbd(+0xf4db9) [0x7f54df070db9] [2013/03/13 15:59:02.591551, 0] lib/fault.c:345(dump_core) Exiting on internal error (core file administratively disabled) [2013/03/13 15:59:06.004427, 0] lib/fault.c:47(fault_report) Samba is running on a RedHat Enterprise Linux Server 6.4: # cat /proc/version Linux version 2.6.32-279.el6.x86_64 (mockbuild at x86-008.build.bos.redhat.com) (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Wed Jun 13 18:24:36 EDT 2012 # smbd -V Version 3.6.9-151.el6 # testparm [global] workgroup = DOMAIN realm = DOMAIN.LOCAL netbios name = MYHOST server string = Samba Server Version %v security = ADS log file = /var/log/samba/log.%m max log size = 500 enable core files = No load printers = No local master = No winbind separator = / winbind enum users = Yes winbind enum groups = Yes winbind use default domain = Yes winbind refresh tickets = Yes idmap config * : range = 16777216-33554431 idmap config * : backend = tdb As you can see above, I have disabled core files. This was done in an effort to stop the flow of core files from filling up the filesystem. Aside from disabling Samba, I have been unable to determine what can be done to stop these panics. Any help would be appreciated. If you need any further information, please feel free to ask. Thanks in advance. Chris Kukuchka Sequoia Group, Inc.
Volker Lendecke
2013-Mar-14 09:57 UTC
[Samba] Samba panics frequently after being configured for AD authentication
On Wed, Mar 13, 2013 at 02:13:47PM -0600, Chris Kukuchka wrote:> Hello, > > I had just completed reconfiguring Samba so it would > authenticate against Active Directory. After user side > testing seemed successful, I found the log directory on > the server was growing quickly and abrtd emails were being > sent out. Unfortunately, I have been unable to track down > the cause for these panics and I am looking for help.If you happen to have one of the core files left, can you get us a full backtrace ("bt full" in gdb) with symbols, so that we can see the line numbers and local variables? You might have to install debuginfo RPMs for Samba. With best regards, Volker Lendecke -- SerNet GmbH, Bahnhofsallee 1b, 37081 G?ttingen phone: +49-551-370000-0, fax: +49-551-370000-9 AG G?ttingen, HRB 2816, GF: Dr. Johannes Loxen http://www.sernet.de, mailto:kontakt at sernet.de