Re: [Samba] Samba 3.0.20a and Winbind crashing (bug?)
On Mon, 2005-10-10 at 08:22 +0100, [EMAIL PROTECTED] wrote: Yeah i forgot to mention that, i had the same problem in 3.0.14a as i do in 3.0.20a :/ Mine doesnt freeze, it actually ends the daemon. whats odd (just noticed this morning) is i checked the server at 7:40am, all is well. checked it at 8.05 am, its crashed! just had a look through logs etc, it looks like it crashes at 8am most days! always 8 am! last night when i checked it was slighly different, it seems that crash was caused due to a log rotate. :/ Any one else got any ideas? To me this sounds like an nsswitch issue. Reason being, if you have to Official RPM install from said vendor, I'll bet that the old library is being used. check in /lib and /lib/security and find out if the libraries are the old ones or not. I do an MD5 on the files for comparison. Just for good measure (since I am not using the official RPMs) I replace /lib/libnss_windbind.so /lib/libnss_wins.so /lib/security/pam_winbind.so I was having huge difficulty, I'd get incomplete responses from the AD controllers, or winbind would crash. So, I just looked around at all the files that are compiled in the samba source dir... I noticed them thar liberaries being stubburn sonuvaguns. I dun copied over 'em with the new ones and dadgummit, things shoor did start dancing. At least for me, that solved the problems I had that were similar. -- greg, [EMAIL PROTECTED] The technology that is Stronger, Better, Faster: Linux Use Debian GNU/Linux, its a bazaar thing. signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.20a and Winbind crashing (bug?)
Den 10. okt 2005 kl. 23:40 skrev Jeremy Allison: On Sun, Oct 09, 2005 at 06:25:56PM +0100, [EMAIL PROTECTED] wrote: Hi all. having major issues on all my servers at the moment. All running RHES 3, all with samba 3.0.20a and all have the winbind crashing problem :/ the main 2 are the filestore and email servers, also get the most usage. in fact from my systems point of view, its definatly a most usage = most frequent winbind crashing issue. Any help from others or the dev team gratefully received. NB i have also set a cron to restart smb at 22:00 every night. Please try this patch : Succes, well sort off This patch works for me as well. I can no longer crash winbindd by running getent passwd However my auth.log file still contains write to socket failed! But just a few seconds later it appears to be working, but it does not work. Oct 11 11:23:20 frodo pam_winbind[6100]: write to socket failed! Oct 11 11:23:20 frodo pam_winbind[6100]: internal module error (retval = 3, user = `dkrbr1') Oct 11 11:23:27 frodo apache2[6100]: (pam_unix) authentication failure; logname= uid=33 euid=33 tty= ruser= rhost=192.168.119.160 Oct 11 11:23:27 frodo pam_winbind[6100]: write to socket failed! Oct 11 11:23:27 frodo pam_winbind[6100]: internal module error (retval = 3, user = `dkrbr1') (someone was connecting here using ssh and a unix account) Oct 11 11:23:34 frodo apache2[6100]: (pam_unix) authentication failure; logname= uid=33 euid=33 tty= ruser= rhost=192.168.119.160 Oct 11 11:23:34 frodo pam_winbind[6100]: write to socket failed! Oct 11 11:23:34 frodo pam_winbind[6100]: internal module error (retval = 3, user = `dkrbr1') Oct 11 11:23:38 frodo sshd[16016]: Accepted publickey for sergtepkom from 82.179.167.71 port 2932 ssh2 Oct 11 11:23:40 frodo apache2[20839]: (pam_unix) authentication failure; logname= uid=33 euid=33 tty= ruser= rhost=192.168.119.160 Oct 11 11:23:40 frodo pam_winbind[20839]: user 'dkrbr1' granted access Oct 11 11:23:40 frodo apache2[20839]: (pam_unix) could not identify user (from getpwnam(dkrbr1)) Oct 11 11:23:40 frodo apache2[6098]: (pam_unix) authentication failure; logname= uid=33 euid=33 tty= ruser= rhost=192.168.119.160 Oct 11 11:23:40 frodo pam_winbind[6098]: user 'dkrbr1' granted access Oct 11 11:23:40 frodo apache2[6098]: (pam_unix) could not identify user (from getpwnam(dkrbr1)) Oct 11 11:23:52 frodo apache2[20061]: (pam_unix) authentication failure; logname= uid=33 euid=33 tty= ruser= rhost=192.168.119.160 Oct 11 11:23:52 frodo pam_winbind[20061]: user 'dkrbr1' granted access Oct 11 11:23:52 frodo apache2[20061]: (pam_unix) could not identify user (from getpwnam(dkrbr1)) Oct 11 11:23:52 frodo apache2[31528]: (pam_unix) authentication failure; logname= uid=33 euid=33 tty= ruser= rhost=192.168.119.160 Oct 11 11:23:52 frodo pam_winbind[31528]: user 'dkrbr1' granted access Oct 11 11:23:52 frodo apache2[31528]: (pam_unix) could not identify user (from getpwnam(dkrbr1)) Oct 11 11:23:52 frodo apache2[22772]: (pam_unix) authentication failure; logname= uid=33 euid=33 tty= ruser= rhost=192.168.119.160 Oct 11 11:23:52 frodo pam_winbind[22772]: user 'dkrbr1' granted access Oct 11 11:23:52 frodo apache2[22772]: (pam_unix) could not identify user (from getpwnam(dkrbr1)) Oct 11 11:23:54 frodo apache2[6096]: (pam_unix) authentication failure; logname= uid=33 euid=33 tty And the user complains that subversion update through apache2 through pam authentication through winbind to win 2003 server does not work. TortoiseSVN does no longer ask for username/password. A restart of winbindd did not help, i had to restart apache2 as well before it would work. After this restart i tried repeating the error by running getent passwdbut i can nolonger get write to socket failed!messages in auth.log. JonB -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.20a and Winbind crashing (bug?)
Yeah i forgot to mention that, i had the same problem in 3.0.14a as i do in 3.0.20a :/ Mine doesnt freeze, it actually ends the daemon. whats odd (just noticed this morning) is i checked the server at 7:40am, all is well. checked it at 8.05 am, its crashed! just had a look through logs etc, it looks like it crashes at 8am most days! always 8 am! last night when i checked it was slighly different, it seems that crash was caused due to a log rotate. :/ Any one else got any ideas? Cheers Ross This sounds like the same problem i had with winbind in both 3.0.14 abd 3.0.20. Mine freezes, and the daemon appears to be still running using ps and top, but it doesnt respond to queries. It seems like i can trigger this event by running getent passwd. It shows the accounts, but then the daemon dies. I run it on debian sarge, and i have another server with different hardware that also runs debian sarge. The other server does not have the problem (havent tested with getent passwd) but it does not see as many auth. attempts as the freezing server does. I use winbindd for pam_winbind. And some times it goes days without crashing other times it freezes several times an hour. I get this following entries in my auth.log: write to socket failed! internal module error (retval = 3 I circumvented it by running wbinfo -p every minute and restarting winbbind if wbinfo failed. JonB -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.20a and Winbind crashing (bug?)
On Sun, Oct 09, 2005 at 06:25:56PM +0100, [EMAIL PROTECTED] wrote: Hi all. having major issues on all my servers at the moment. All running RHES 3, all with samba 3.0.20a and all have the winbind crashing problem :/ the main 2 are the filestore and email servers, also get the most usage. in fact from my systems point of view, its definatly a most usage = most frequent winbind crashing issue. Any help from others or the dev team gratefully received. NB i have also set a cron to restart smb at 22:00 every night. Many thanks There's a crash bug fix Jerry will be posting to the patches page within the next hour or so - this should fix the winbindd crashes you're seeing. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Samba 3.0.20a and Winbind crashing (bug?)
Yay! Many thanks guys, ill apply it some point tonight and report back any issues, or if it works even :) Ross -Original Message- From: Jeremy Allison [mailto:[EMAIL PROTECTED] Sent: 10 October 2005 18:03 To: [EMAIL PROTECTED] Cc: samba@lists.samba.org Subject: Re: [Samba] Samba 3.0.20a and Winbind crashing (bug?) On Sun, Oct 09, 2005 at 06:25:56PM +0100, [EMAIL PROTECTED] wrote: Hi all. having major issues on all my servers at the moment. All running RHES 3, all with samba 3.0.20a and all have the winbind crashing problem :/ the main 2 are the filestore and email servers, also get the most usage. in fact from my systems point of view, its definatly a most usage = most frequent winbind crashing issue. Any help from others or the dev team gratefully received. NB i have also set a cron to restart smb at 22:00 every night. Many thanks There's a crash bug fix Jerry will be posting to the patches page within the next hour or so - this should fix the winbindd crashes you're seeing. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.20a and Winbind crashing (bug?)
On Sun, Oct 09, 2005 at 06:25:56PM +0100, [EMAIL PROTECTED] wrote: Hi all. having major issues on all my servers at the moment. All running RHES 3, all with samba 3.0.20a and all have the winbind crashing problem :/ the main 2 are the filestore and email servers, also get the most usage. in fact from my systems point of view, its definatly a most usage = most frequent winbind crashing issue. Any help from others or the dev team gratefully received. NB i have also set a cron to restart smb at 22:00 every night. Please try this patch : Jeremy. Index: nsswitch/winbindd_misc.c === --- nsswitch/winbindd_misc.c(revision 10687) +++ nsswitch/winbindd_misc.c(revision 10688) @@ -127,7 +127,8 @@ if (num_domains 0) extra_data = talloc_asprintf(state-mem_ctx, %s\\%s\\%s, -names[0], alt_names[0], +names[0], +alt_names[0] ? alt_names[0] : names[0], sid_string_static(sids[0])); for (i=1; inum_domains; i++) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba 3.0.20a and Winbind crashing (bug?)
Hi all. having major issues on all my servers at the moment. All running RHES 3, all with samba 3.0.20a and all have the winbind crashing problem :/ the main 2 are the filestore and email servers, also get the most usage. in fact from my systems point of view, its definatly a most usage = most frequent winbind crashing issue. Any help from others or the dev team gratefully received. NB i have also set a cron to restart smb at 22:00 every night. Many thanks Ross LOG FOLLOWS 0:[2005/10/09 11:40:01, 1] nsswitch/winbindd_group.c:winbindd_getgrnam(255) 74- group enstaff in domain ACADEMIC does not exist 124:[2005/10/09 11:40:02, 1] nsswitch/winbindd_group.c:winbindd_getgrnam(255) 198- group gestaff in domain ACADEMIC does not exist 248:[2005/10/09 11:40:02, 1] nsswitch/winbindd_group.c:winbindd_getgrnam(255) 322- group meweb in domain ACADEMIC does not exist 370:[2005/10/09 11:40:05, 1] nsswitch/winbindd_group.c:winbindd_getgrnam(255) 444- group peweb in domain ACADEMIC does not exist 492:[2005/10/09 11:40:06, 1] nsswitch/winbindd_group.c:winbindd_getgrnam(255) 566- group ssstaff in domain ACADEMIC does not exist 616:[2005/10/09 11:40:07, 1] nsswitch/winbindd_group.c:winbindd_getgrnam(255) 690- group psyweb in domain ACADEMIC does not exist 739:[2005/10/09 11:40:08, 1] nsswitch/winbindd_group.c:winbindd_getgrnam(255) 813- group paweb in domain ACADEMIC does not exist 861:[2005/10/09 11:40:08, 1] nsswitch/winbindd_group.c:winbindd_getgrnam(255) 935- group citizweb in domain ACADEMIC does not exist 986:[2005/10/09 11:40:08, 1] nsswitch/winbindd_group.c:winbindd_getgrnam(255) 1060- group lrcweb in domain ACADEMIC does not exist 1109-[2005/10/09 11:40:11, 0] lib/fault.c:fault_report(36) 1163- === 1229-[2005/10/09 11:40:11, 0] lib/fault.c:fault_report(37) 1283- INTERNAL ERROR: Signal 6 in pid 28787 (3.0.20a) 1333- Please read the Trouble-Shooting section of the Samba3-HOWTO 1396-[2005/10/09 11:40:11, 0] lib/fault.c:fault_report(39) 1450- 1453- From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf 1510-[2005/10/09 11:40:11, 0] lib/fault.c:fault_report(40) 1564- === 1630-[2005/10/09 11:40:11, 0] lib/util.c:smb_panic2(1548) 1683- PANIC: internal error 1707-[2005/10/09 11:40:11, 0] lib/util.c:smb_panic2(1556) 1760- BACKTRACE: 28 stack frames: 1790: #0 /usr/local/samba/sbin/winbindd(smb_panic2+0x1c5) [0xbf5bfa] 1856: #1 /usr/local/samba/sbin/winbindd(smb_panic+0x1d) [0xbf5a30] 1920: #2 /usr/local/samba/sbin/winbindd [0xbe2c4c] 1968: #3 /usr/local/samba/sbin/winbindd [0xbe2ca4] 2016- #4 /lib/tls/libc.so.6 [0x6edeb8] 2052- #5 /lib/tls/libc.so.6(abort+0x1d5) [0x6ef4e5] 2101: #6 /usr/local/samba/sbin/winbindd [0xc17279] 2149: #7 /usr/local/samba/sbin/winbindd [0xc1761f] 2197: #8 /usr/local/samba/sbin/winbindd(cli_krb5_get_ticket+0x1f2) [0xc17972] 2272: #9 /usr/local/samba/sbin/winbindd(spnego_gen_negTokenTarg+0x40) [0xc18579] 2350: #10 /usr/local/samba/sbin/winbindd [0xc9f2e7] 2399: #11 /usr/local/samba/sbin/winbindd [0xc9f5db] 2448: #12 /usr/local/samba/sbin/winbindd(ads_sasl_bind+0x125) [0xc9fbfb] 2518: #13 /usr/local/samba/sbin/winbindd(ads_connect+0x23d) [0xc99dc1] 2586: #14 /usr/local/samba/sbin/winbindd [0xba9ff5] 2635: #15 /usr/local/samba/sbin/winbindd [0xbac0ab] 2684: #16 /usr/local/samba/sbin/winbindd [0xb9cdfd] 2733: #17 /usr/local/samba/sbin/winbindd [0xb9d03c] 2782: #18 /usr/local/samba/sbin/winbindd [0xb9e481] 2831: #19 /usr/local/samba/sbin/winbindd(winbindd_lookup_sid_by_name+0x28) [0xb9ac1e] 2914: #20 /usr/local/samba/sbin/winbindd(winbindd_getgrnam+0x20e) [0xb973f5] 2988: #21 /usr/local/samba/sbin/winbindd [0xb93630] 3037: #22 /usr/local/samba/sbin/winbindd [0xb93d6e] 3086: #23 /usr/local/samba/sbin/winbindd [0xb938df] 3135: #24 /usr/local/samba/sbin/winbindd [0xb942ee] 3184: #25 /usr/local/samba/sbin/winbindd(main+0x52c) [0xb94b15] 3245- #26 /lib/tls/libc.so.6(__libc_start_main+0xda) [0x6db78a] 3306: #27 /usr/local/samba/sbin/winbindd [0xb92ec2] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.20a and Winbind crashing (bug?)
This sounds like the same problem i had with winbind in both 3.0.14 abd 3.0.20. Mine freezes, and the daemon appears to be still running using ps and top, but it doesnt respond to queries. It seems like i can trigger this event by running getent passwd. It shows the accounts, but then the daemon dies. I run it on debian sarge, and i have another server with different hardware that also runs debian sarge. The other server does not have the problem (havent tested with getent passwd) but it does not see as many auth. attempts as the freezing server does. I use winbindd for pam_winbind. And some times it goes days without crashing other times it freezes several times an hour. I get this following entries in my auth.log: write to socket failed! internal module error (retval = 3 I circumvented it by running wbinfo -p every minute and restarting winbbind if wbinfo failed. JonB -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba