REPOST: Meaning of "tdb_free: left read failed at ...?"

Gerald (Jerry) Carter jerry at samba.org
Mon Feb 3 23:20:26 GMT 2003


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

On Sat, 1 Feb 2003, Ralf G. R. Bergs wrote:

> since I upgraded our fileserver running Debian 3.0/i386 with Samba 2.2.7a (a 
> package I created myself) I'm seeing the following messages in syslog:
> 
> Jan 28 14:55:50 Fileserver nmbd[22451]: [2003/01/28 14:55:50, 0] 
> tdb/tdbutil.c:tdb_log(531) 
> Jan 28 14:55:50 Fileserver nmbd[22451]:   tdb(/var/run/samba/unexpected.tdb): 
> tdb_oob len -2320 beyond eof at 16384 
> Jan 28 14:55:50 Fileserver nmbd[22451]: [2003/01/28 14:55:50, 0] 
> tdb/tdbutil.c:tdb_log(531) 
> Jan 28 14:55:50 Fileserver nmbd[22451]:   tdb(/var/run/samba/unexpected.tdb): 
> tdb_free: left read failed at 4294964952 (4096) 


Looks like the tdb went over the 4Gb line.  As a quick work around,
Stop nmbd; rm /var/run/samba/unexpected.tdb; and start nmbd back up.

It looks like an overflow in the tdb read offset.  I don't think tdb's 
support 64-bit file size (of the actual tdb itself) IIRC.  This is by 
design I believe.





cheers, jerry
 ----------------------------------------------------------------------
 Hewlett-Packard            ------------------------- http://www.hp.com
 SAMBA Team                 ---------------------- http://www.samba.org
 GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
 "You can never go home again, Oatman, but I guess you can shop there."  
                            --John Cusack - "Grosse Point Blank" (1997)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+Pvk7IR7qMdg1EfYRAlhZAJ9kxVGcjjrQIBlnEsWVTrdgRbfHiQCg0nKi
mPGFSgQvhge1ztS8p/o/tAY=
=49I4
-----END PGP SIGNATURE-----



More information about the samba-technical mailing list