Federico Sevilla III
2002-Feb-22 04:45 UTC
[Samba] rec_free_read bad magic and tdb corruption with Samba 2.2.3
Hi everyone, Our system is a Debian GNU/Linux box running Linux kernel 2.4.17-xfs and Samba 2.2.3 (from the 2.2.3-5 package from Sid), built using gcc-3.0.3. With Samba 2.2.2 we hit certain tdb errors where make_connection would reject connections arbitrarily. Supposedly this was fixed using 2.2.3 so we upgraded right away (thankfully we do only have Windows 95, 98 and ME clients so we weren't hit by the problem with Windows 2000). Things were going smoothly until today when suddenly workstations started being unable to connect to the server. Running smbstatus and checking various Samba logs (per machine) reported that a problem was hit with tdb again. Here is a sample of the error messages received (there were -LOTS- of these, and nothing particularly interesting happening before they started appearing): [2002/02/22 14:11:45, 1] smbd/service.c:make_connection(615) boss (192.168.0.3) connect to service jomaster as user boss (uid=1001, gid=50) (pid 18353) [2002/02/22 14:23:48, 0] tdb/tdbutil.c:tdb_log(475) tdb(/var/run/samba/connections.tdb): rec_free_read bad magic 0x26011999 at offset=286720 [2002/02/22 14:23:48, 0] smbd/connection.c:claim_connection(187) claim_connection: tdb_store failed with error Corrupt database. [2002/02/22 14:23:48, 1] smbd/service.c:make_connection(505) too many connections - rejected I am rebuilding Samba using the 2.2.3-6 package sources (no Debian package for 2.2.3a yet, it seems), again using gcc-3.0.3. Would anyone have any tips about how I can go about isolating the problem? Up to now I haven't figured out how to reproduce the problem despite the fact it's happened before (perhaps this is the fourth or fifth time including 2.2.2, the first for 2.2.3, and the first time those "bad magic" errors came out). Thank you very much in advance. --> Jijo PS- I am not part of this list and will appreciate if I can be cc'd replies. I will check the archives regularly to check things out, though. -- Federico Sevilla III :: jijo@leathercollection.ph Network Administrator :: The Leather Collection, Inc. GnuPG Key: http://jijo.leathercollection.ph/jijo.gpg
Apparently Analagous Threads
- Suddenly can't print: "rec_read bad magic..."
- oplock_break and Excel data corruption with Samba 2.2.3a
- Samba 2.2.5 under Debian 3.0 i386: Still frequent connections.tdb corruption
- REPOST: Samba 2.2.5 under Debian 3.0 i386: Still frequent connections.tdb corruption
- No subject