samba-users May 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: Re: [Samba] Release Version Symbols

Re: [Samba] Release Version Symbols

From: Nagaraj Shyam <Nagaraj_Shyam_at_nospam>
Date: Fri May 07 2010 - 23:28:51 GMT
To: <Volker.Lendecke@SerNet.DE>

Hi Volker, Other Experts on the List.

I am planning to clear all winbindd state in it's tdbs and rebooting. I
am specifically planning to delete the following winbindd files under
/var/lib/samba (after /etc/init.d/winbind stop, /etc/init.d/smb stop):

netsamlogon_cache.tdb
gencache.tdb
messages.tdb
connections.tdb
netsamlogon_cache.tdb
winbindd_cache.tdb
idmap_cache.tdb

This is to try and clear bad state for the now famous:

"winbindd: Exceeding 200 client connections, no idle connection found"

problem. No more windows clients are able to authenticate because all
winbindd processes are hung. This wont fix the root cause of the
problem, but will get the server going again unless it does exact same
steps to make it go into bad state again. I am using samba 3.2.11 by
the way.

Is it a bad idea to delete the above tdb file before reboot?

The stack traces of winbind processes on the problem samba server are:

=============================winbind proc
1==========================================
0x000055555566e0fa in tdb_rec_read () from /proc/23292/exe
0x000055555566a307 in ?? () from /proc/23292/exe
0x000055555566a3f2 in tdb_find_lock_hash () from /proc/23292/exe
0x000055555566a948 in ?? () from /proc/23292/exe
0x000055555566aa1d in tdb_delete () from /proc/23292/exe
0x00005555558795ff in netsamlogon_clear_cached_user () from
/proc/23292/exe
0x00005555555e1d95 in wcache_invalidate_samlogon () from /proc/23292/exe
0x00005555555e7433 in winbindd_dual_pam_auth_crap () from
/proc/23292/exe
0x00005555555ffd1b in ?? () from /proc/23292/exe
0x00005555555d9738 in init_child_connection () from /proc/23292/exe
0x0000555555603250 in winbindd_lookupname_async () from /proc/23292/exe
0x00005555555cf37b in ?? () from /proc/23292/exe
0x00005555555d076b in main () from /proc/23292/exe

=============================winbind proc
2==========================================
#0 0x00002ad9d8a06693 in __select_nocancel () from /lib64/libc.so.6
#1 0x00005555556924d6 in sys_select () from /proc/23321/exe
#2 0x00005555555ff7e1 in ?? () from /proc/23321/exe
#3 0x0000555555602d5b in winbindd_lookupsid_async () from /proc/23321
#4 0x00005555555ebd56 in winbindd_sid_to_gid () from /proc/23321/exe
#5 0x00005555555cf37b in ?? () from /proc/23321/exe
#6 0x00005555555d076b in main () from /proc/23321/exe

=============================winbind proc
3==========================================
#0 0x00002ad9d8a06693 in __select_nocancel () from /lib64/libc.so.6
#1 0x00005555556924d6 in sys_select () from /proc/23322/exe
#2 0x00005555555ff7e1 in ?? () from /proc/23322/exe
#3 0x0000555555608de0 in winbindd_sid2gid_async () from /proc/23322/exe
#4 0x00005555555ec246 in ?? () from /proc/23322/exe
#5 0x0000555555602c2f in ?? () from /proc/23322/exe
#6 0x00005555555d076b in main () from /proc/23322/exe

=============================winbind proc
4==========================================
#0 0x00002ad9d89ff6cf in fcntl () from /lib64/libc.so.6
#1 0x000055555566f706 in tdb_brlock () from /proc/25402/exe
#2 0x000055555566f4a9 in ?? () from /proc/25402/exe
#3 0x000055555566f560 in tdb_lock () from /proc/25402/exe
#4 0x000055555566a3d7 in tdb_find_lock_hash () from /proc/25402/exe
#5 0x000055555566a948 in ?? () from /proc/25402/exe
#6 0x000055555566aa1d in tdb_delete () from /proc/25402/exe
#7 0x00005555558795ff in netsamlogon_clear_cached_user () from
/proc/25402/exe
#8 0x00005555555e1d95 in wcache_invalidate_samlogon () from
/proc/25402/exe
#9 0x00005555555e7433 in winbindd_dual_pam_auth_crap () from
/proc/25402/exe
#10 0x00005555555ffd1b in ?? () from /proc/25402/exe
#11 0x00005555555ff3b2 in ?? () from /proc/25402/exe
#12 0x000055555569974d in run_events () from /proc/25402/exe
#13 0x00005555555d0592 in main () from /proc/25402/exe

Thanks in advance for any comments, pointers.

Regards.
-s
-----Original Message-----
From: Volker Lendecke [mailto:Volker.Lendecke@SerNet.DE]
Sent: Thursday, May 06, 2010 11:14 PM
To: Nagaraj Shyam
Cc: samba@lists.samba.org
Subject: Re: [Samba] Release Version Symbols

On Thu, May 06, 2010 at 10:29:42PM -0700, Nagaraj Shyam wrote:
> I might get fried for posting this question, since it would have been
> asked before (too little time for me to search the archives). How can

> I obtain debug symbols for winbindd (or any smbd or nmbd binary?).
> Specifically I am looking for version 3.2.11-0.1.145.

That depends upon where you got that version from. If it's a distro RPM
for example, there should be a .debuginfo RPM next to the binary RPMs.
3.2.11-0.1.145 looks like a very specific distro RPM.

If you compiled it yourself, you should for example

CFLAGS=-g make

and not use the command strip while installing the binaries.

Hope that helps,

Volker
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba