[Samba] error: tdb_rec_read bad magic

Ryan Novosielski novosirj at umdnj.edu
Wed Jan 21 20:28:19 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sam Liu wrote:
> I am running Samba version 3.0.30 on AIX 5.3 and I got the following output
> when using smbstatus:
> 
> tdb(/var/samba/locks/connections.tdb): tdb_rec_read bad magic 0x25a5b1e4 at
> offset=278920
> 
> tdb(/var/samba/locks/locking.tdb): tdb_rec_read bad magic 0x0 at
> offset=2547712
> locked file list truncated
> 
> I am wondering what causes this and how to fix it. Thanks.

What causes it, I don't know. What normally fixes it is deleting the
affected file. I normally do this with Samba stopped, but I'm not
certain it's necessary. Of course, this only really applies to the
volatile TDB files.

- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkl3hWMACgkQmb+gadEcsb6jLQCeJX6zlLq6ORranu7EljVNiMen
oYgAoIQKztFk5UWBPZz8wYF1PxPo0Lqh
=8Slx
-----END PGP SIGNATURE-----


More information about the samba mailing list