[Samba] error: tdb_rec_read bad magic
Volker.Lendecke at SerNet.DE
Wed Jan 21 22:13:12 GMT 2009
On Wed, Jan 21, 2009 at 03:28:19PM -0500, Ryan Novosielski 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.
Well, this can happen for smbstatus because it opens
connections.tdb read-only. This implies no locking. So in a
heavily active tdb, you can see this kind of annoying but
harmless error message.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20090121/3f8d2e9b/attachment.bin
More information about the samba