Noel Kelly
2002-Jan-10 07:51 UTC
Successful Backtrace RE: Another RE: 2.2.3pre winbindd crash
Success - Got the backtrace from the last winbind crash. Doesn't mean a whole lot to me but I hope it helps you guys. Something to do with these rid 512 errors I am getting in the winbind log (log below) by the look of it: (gdb) bt #0 0x400d68e9 in __wait4 () from /lib/libc.so.6 #1 0x401351ec in ?? () from /lib/libc.so.6 #2 0x40085cec in __libc_system (line=0x8145990 "/root/panic.sh 17991") at ../sysdeps/posix/system.c:136 #3 0x8072d13 in smb_panic () #4 0x8063569 in fault_report () #5 0x80635af in sig_fault () #6 0x40063c68 in __restore () at ../sysdeps/unix/sysv/linux/i386/sigaction.c:127 #7 0x804eb60 in winbindd_getgrent () #8 0x804b898 in process_request () #9 0x804baaf in process_packet () #10 0x804bf85 in process_loop () #11 0x804c348 in main () #12 0x4005d9cb in __libc_start_main (main=0x804c008 <main>, argc=3, argv=0xbffffac4, init=0x804a434 <_init>, fini=0x80c4c0c <_fini>, rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffffabc) at ../sysdeps/generic/libc-start.c:92 (gdb) [2002/01/10 15:16:01, 0] nsswitch/winbindd_group.c:winbindd_getgrnam_from_group(220) 1647 getgrname_from_group(): could not get domain sid for domain @UK 1648 [2002/01/10 15:16:08, 0] nsswitch/winbindd_group.c:winbindd_getgrnam_from_group(220) 1649 getgrname_from_group(): could not get domain sid for domain @UK 1650 [2002/01/10 15:31:52, 1] nsswitch/winbindd_group.c:fill_grent_mem(87) 1651 fill_grent_mem(): could not lookup membership for group rid 512 in domain UK 1652 [2002/01/10 15:31:52, 0] lib/fault.c:fault_report(38) 1653 ============================================================== 1654 [2002/01/10 15:31:52, 0] lib/fault.c:fault_report(39) 1655 INTERNAL ERROR: Signal 11 in pid 17991 (2.2.3-pre) 1656 Please read the file BUGS.txt in the distribution 1657 [2002/01/10 15:31:52, 0] lib/fault.c:fault_report(41) 1658 ============================================================== 1659 [2002/01/10 15:36:28, 0] lib/util.c:smb_panic(1068) 1660 PANIC: internal error 1661 [2002/01/10 15:36:32, 0] lib/util_str.c:safe_strcpy(863) 1662 ERROR: NULL dest in safe_strcpy 1663 [2002/01/10 15:36:32, 1] lib/debug.c:debug_message(250) 1664 INFO: Debug class all level = 3 (pid 26837 from pid 26837) -----Original Message----- From: Noel Kelly Sent: 10 January 2002 00:56 To: 'Tim Potter'; Noel Kelly Cc: Jeremy Allison; 'samba@lists.samba.org' Subject: RE: Another RE: 2.2.3pre winbindd crash Just had another winbind crash - but the panic action did not trigger. No messages in the logs so it never even attempted the panic shell script. I'll give it another chance and then try the sleep option. Same rid 512 (Domain Admins) is repsonsible. Could this be a problem with the upgrade from 2.2.2 to 2.2.3pre ? The only file I bought across was the winbindd_idmap.tdb. And I rejoined the domain and secret is good. All these "could not get domain sid for domain @UK" worry me as I don;t understand where they are coming from. Winbind functions fine (until it bombs). Noel [2002/01/09 20:09:21, 0] nsswitch/winbindd_group.c:winbindd_getgrnam_from_group(220) getgrname_from_group(): could not get domain sid for domain @UK [2002/01/09 22:10:31, 1] nsswitch/winbindd_group.c:fill_grent_mem(87) fill_grent_mem(): could not lookup membership for group rid 512 in domain UK [2002/01/09 22:10:31, 0] lib/fault.c:fault_report(38) ==============================================================[2002/01/09 22:10:31, 0] lib/fault.c:fault_report(39) INTERNAL ERROR: Signal 11 in pid 12731 (2.2.3-pre) Please read the file BUGS.txt in the distribution [2002/01/09 22:10:31, 0] lib/fault.c:fault_report(41) ==============================================================[2002/01/09 22:10:31, 0] lib/util.c:smb_panic(1068) PANIC: internal error -----Original Message----- From: Tim Potter [mailto:tpot@samba.org] Sent: 09 January 2002 20:27 To: Noel Kelly Cc: Jeremy Allison; 'samba@lists.samba.org' Subject: Re: Another RE: 2.2.3pre winbindd crash On Wed, Jan 09, 2002 at 08:21:08PM -0000, Noel Kelly wrote:> I have ended up concocting this - look OK ? > > smb.conf = panic action = "/root/panic.sh %d" > > /root/panic.sh > > #!/bin/sh > > logger SAMBA PANIC ACTION Starting `date`... > /usr/bin/X11/xterm -display :2.0 -e gdb /usr/local/samba/bin/winbindd $1 > logger SAMBA PANIC ACTION Stopped `date`Looks OK - make sure you can display an xterm from root's shell. I do xhost +localhost and xterm -display localhost:0 Tim.