[Samba] locking db corruption with 2.2.5?

adam at morrison-ind.com adam at morrison-ind.com
Fri Aug 23 04:30:01 GMT 2002


>>We are currently experiencing this problem.  I have taken a copy of the
>>/var/cache/samba/ dir (containing locking.tdb) and a copy of the log of
>>one of the affected terminal servers (all seem to be affected) and a
>>copy of smbstatus.
>I dropped my server back into UP mode (vs. SMP).  No effect on the problem.
>I updated to RH's most recent (Aug 22) kernel RPMs (and rebooted).  Still no
>effect on the problem.

Drooped bay to the RedHat "OEM" samba-2.2.3a-6 RPzms.  Same exact problem.  I'm
becoming a bit frustrated,  and no one else on the list seems to be experiencing
this...

What exact kernel version are you using? version of glibc?
Did you get the problem by *just* upgrading to 2.2.5 or did you up levels on
anything else?

There has to be a common component we have.

[root at sardine root]# ldd /usr/sbin/smbd
        libcups.so.2 => /usr/lib/libcups.so.2 (0x40019000)
        libdl.so.2 => /lib/libdl.so.2 (0x40034000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40037000)
        libpam.so.0 => /lib/libpam.so.0 (0x4004b000)
        libc.so.6 => /lib/libc.so.6 (0x40053000)
        libssl.so.2 => /lib/libssl.so.2 (0x4017a000)
        libcrypto.so.2 => /lib/libcrypto.so.2 (0x401a7000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

If I use lsof I can see all the files it has memory mapped (which should include
all loaded libraries) -
[root at sardine fd]# lsof -p 21908 | grep mem
smbd    21908 root  mem    REG    8,1   85420  44085 /lib/ld-2.2.5.so
smbd    21908 root  mem-r  REG    8,1    8192  38129 /etc/samba/secrets.tdb
smbd    21908 root  mem-r  REG    8,8     696  22552 /var/cache/samba/messages.tdb
smbd    21908 root  mem    REG    8,5    8621 179729
/usr/kerberos/lib/libcom_err.so.3.0
smbd    21908 root  mem-r  REG    8,8    8192  22558 /var/cache/samba/brlock.tdb
smbd    21908 root  mem    REG    8,5  110194  68923 /usr/lib/libcups.so.2
smbd    21908 root  mem    REG    8,1   11728  44104 /lib/libdl-2.2.5.so
smbd    21908 root  mem    REG    8,1   85262  44107 /lib/libnsl-2.2.5.so
smbd    21908 root  mem    REG    8,1   35340  44067 /lib/libpam.so.0.75
smbd    21908 root  mem    REG    8,1 1344152  44101 /lib/libc-2.2.5.so
smbd    21908 root  mem    REG    8,1  211067  44151 /lib/libssl.so.0.9.6b
smbd    21908 root  mem    REG    8,1  936574  44150 /lib/libcrypto.so.0.9.6b
smbd    21908 root  mem-r  REG    8,8   16384  22559 /var/cache/samba/locking.tdb
smbd    21908 root  mem-r  REG    8,8    8192  22560 /var/cache/samba/printing.tdb
smbd    21908 root  mem-r  REG    8,8    8192  22561 /var/cache/samba/ntdrivers.tdb
smbd    21908 root  mem-r  REG    8,8    8192  22562 /var/cache/samba/ntprinters.tdb
smbd    21908 root  mem-r  REG    8,8     696  22563 /var/cache/samba/ntforms.tdb
smbd    21908 root  mem-r  REG    8,8    8192  22564 /var/cache/samba/share_info.tdb
smbd    21908 root  mem    REG    8,5   13600  97928
/usr/lib/sasl/libcrammd5.so.1.0.15
smbd    21908 root  mem-r  REG    8,8    8192  22570 /var/cache/samba/sessionid.tdb
smbd    21908 root  mem    REG    8,1   42897  44032 /lib/libnss_files-2.2.5.so
smbd    21908 root  mem    REG    8,1 1530705  44149 /lib/libnss_ldap-2.2.5.so
smbd    21908 root  mem    REG    8,1   64733  44108 /lib/libresolv-2.2.5.so
smbd    21908 root  mem    REG    8,5    8263  97923
/usr/lib/sasl/libanonymous.so.1.0.15
smbd    21908 root  mem    REG    8,5   33529  97931
/usr/lib/sasl/libdigestmd5.so.0.0.17
smbd    21908 root  mem    REG    8,5   10670  97934 /usr/lib/sasl/liblogin.so.0.0.5
smbd    21908 root  mem    REG    8,5   10260  97937
/usr/lib/sasl/libplain.so.1.0.14
smbd    21908 root  mem    REG    8,1   22645  44102 /lib/libcrypt-2.2.5.so
smbd    21908 root  mem    REG    8,5   15842 101026
/usr/lib/sasl/libgssapiv2.so.1.0.14
smbd    21908 root  mem    REG    8,5   92407 179566
/usr/kerberos/lib/libgssapi_krb5.so.2.2
smbd    21908 root  mem    REG    8,5  427611 179573
/usr/kerberos/lib/libkrb5.so.3.1
smbd    21908 root  mem    REG    8,5   79725 179568
/usr/kerberos/lib/libk5crypto.so.3.0
smbd    21908 root  mem-r  REG    8,8   49152  22553
/var/cache/samba/connections.tdb

Nothing really stands out as a likely candidate. :(



More information about the samba mailing list