[Pkg-samba-maint] Bug#405198: samba: common tdb corruption in
locking.tdb and connection.tdb
Jamie Thompson
debian-bugs at jamie-thompson.co.uk
Mon Jan 1 18:46:08 CET 2007
Package: samba
Version: 3.0.23d-2+b1
Severity: important
I'm getting regular corruption of the tdbs (and the associated panics)
in my logs. I stop the daemons, clear out /var/run/samba and restart,
but this always happens fairly soon.
Here's a snippet:
[2007/01/01 16:18:03, 0] tdb/tdbutil.c:tdb_log(783)
tdb(/var/run/samba/locking.tdb): remove_from_freelist: not on list at
off=93924
[2007/01/01 16:18:03, 0] tdb/tdbutil.c:tdb_log(783)
tdb(/var/run/samba/locking.tdb): tdb_free: right free failed at
93924
[2007/01/01 16:43:00, 0] tdb/tdbutil.c:tdb_log(783)
tdb(/var/run/samba/locking.tdb): remove_from_freelist: not on list
at off=164496
[2007/01/01 16:43:00, 0] tdb/tdbutil.c:tdb_log(783)
tdb(/var/run/samba/locking.tdb): tdb_free: right free failed at
164496
[2007/01/01 16:49:54, 0] tdb/tdbutil.c:tdb_log(783)
tdb(/var/run/samba/connections.tdb): rec_free_read non-free
magic 0x26011999 at offset=6312 - fixing
[2007/01/01 16:49:54, 0] tdb/tdbutil.c:tdb_log(783)
tdb(/var/run/samba/connections.tdb): remove_from_freelist:
not on list at off=6936
[2007/01/01 16:49:54, 0] tdb/tdbutil.c:tdb_log(783)
tdb(/var/run/samba/connections.tdb): tdb_free: right free
failed at 6936
[2007/01/01 16:50:24, 0] tdb/tdbutil.c:tdb_log(783)
tdb(/var/run/samba/connections.tdb):
remove_from_freelist: not on list at off=19424
...and from one of my other workstation's logs:
[2007/01/01 16:48:01, 0] tdb/tdbutil.c:tdb_log(783)
tdb(/var/run/samba/locking.tdb): rec_read bad magic 0xd9fee666 at
offset=169464
[2007/01/01 16:48:01, 0] tdb/tdbutil.c:tdb_log(783)
tdb(/var/run/samba/locking.tdb): rec_read bad magic 0xd9fee666 at
offset=169464
[2007/01/01 16:48:01, 0] tdb/tdbutil.c:tdb_log(783)
tdb(/var/run/samba/locking.tdb): rec_read bad magic 0xd9fee666 at
offset=169464
[2007/01/01 16:48:01, 0] tdb/tdbutil.c:tdb_log(783)
tdb(/var/run/samba/locking.tdb): rec_read bad magic 0xd9fee666
at offset=169464
[2007/01/01 17:03:47, 0] tdb/tdbutil.c:tdb_log(783)
tdb(/var/run/samba/locking.tdb): remove_from_freelist: not on
list at off=115660
Let me know if you need anything else. I've got nothing fancy in my
smb.conf, so it seems pointless including it.
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (900, 'testing'), (600, 'unstable'), (1, 'experimental')
Architecture: i386 (i486)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-486
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Versions of packages samba depends on:
ii debconf 1.5.11 Debian configuration management sy
ii libacl1 2.2.41-1 Access control list shared library
ii libattr1 2.4.32-1 Extended attribute shared library
ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries
ii libcomer 1.39+1.40-WIP-2006.11.14+dfsg-1 common error description library
ii libcupsy 1.2.7-1 Common UNIX Printing System(tm) -
ii libgnutl 1.4.4-3 the GNU TLS library - runtime libr
ii libkrb53 1.4.4-5 MIT Kerberos runtime libraries
ii libldap2 2.1.30-13+b1 OpenLDAP libraries
ii libpam-m 0.79-4 Pluggable Authentication Modules f
ii libpam-r 0.79-4 Runtime support for the PAM librar
ii libpam0g 0.79-4 Pluggable Authentication Modules l
ii libpopt0 1.10-3 lib for parsing cmdline parameters
ii logrotat 3.7.1-3 Log rotation utility
ii lsb-base 3.1-22 Linux Standard Base 3.1 init scrip
ii netbase 4.27 Basic TCP/IP networking system
ii procps 1:3.2.7-3 /proc file system utilities
ii samba-co 3.0.23d-2+b1 Samba common files used by both th
ii zlib1g 1:1.2.3-13 compression library - runtime
Versions of packages samba recommends:
ii smbldap-tools 0.9.2-3 Scripts to manage Unix and Samba a
-- debconf information:
samba/nmbd_from_inetd:
samba/log_files_moved:
samba/tdbsam: false
* samba/generate_smbpasswd: true
* samba/run_mode: daemons
More information about the Pkg-samba-maint
mailing list