Opened 11 years ago

Closed 9 years ago

#215 closed defect (wontfix)

Samba 3.5.x smbd and nmbd both trash tdb files after some time

Reported by: Herwig Bauernfeind Owned by: Silvan Scherrer
Priority: blocker Milestone: Samba Server for eCS (OS/2) 1.3.x
Component: Samba Server Core Version: Server 3.5.x
Keywords: unkillable broken tdb files Cc:

Description (last modified by Herwig Bauernfeind)

Symptoms: 3.5.19 nmbd stops working after some arbitrary time. For smbd no mor new connection is accepted, while older one still work.

Looking into log.nmbd I see plenty of these:

[2013/03/15 11:40:54.862000,  0] lib/util_tdb.c:385(tdb_log)
  tdb(D:\MPTN\ETC/samba/lock/wins.tdb): tdb_rec_read bad magic 0xd9fee666 at offset=6392
[2013/03/15 11:40:54.888000,  0] lib/util_tdb.c:385(tdb_log)
  tdb(D:\MPTN\ETC/samba/lock/wins.tdb): tdb_rec_read bad magic 0x42424242 at offset=5384
[2013/03/15 11:40:54.925000,  0] lib/util_tdb.c:385(tdb_log)
  tdb(D:\MPTN\ETC/samba/lock/wins.tdb): tdb_oob len 1113543791 beyond eof at 24576
[2013/03/15 11:40:54.925000,  0] lib/util_tdb.c:385(tdb_log)
  tdb(D:\MPTN\ETC/samba/lock/wins.tdb): tdb_rec_read bad magic 0x0 at offset=6704

for smbd.exe log entries look very similar.

Result is: nmbd.exe process is unkillable and smbd does not accept any new connection.

This problem also affects the client.

Attachments (1)

log_nmbd.zip (3.7 KB) - added by Herwig Bauernfeind 11 years ago.
typical log

Download all attachments as: .zip

Change History (8)

Changed 11 years ago by Herwig Bauernfeind

Attachment: log_nmbd.zip added

typical log

comment:1 Changed 11 years ago by Herwig Bauernfeind

It appears this more critical - also smbd.exe is affected.

comment:2 Changed 11 years ago by Herwig Bauernfeind

Description: modified (diff)
Keywords: broken tdb files added; nmbd removed
Priority: minorblocker
Status: newassigned
Summary: nmbd.exe in 3.5.19 stops workingSamba 3.5.x smbd and nmbd both trash tdb files after some time

comment:3 Changed 11 years ago by Silvan Scherrer

try latest private build, as it has an important fix

comment:4 Changed 11 years ago by Herwig Bauernfeind

http://lists.samba.org/archive/samba-technical/2006-October/049911.html

This thread might shed some light on the problem.

comment:5 Changed 11 years ago by Silvan Scherrer

it does not imho, as it does not give the reason and also no solution. imho we still have no clue why it happens and when exactly.

comment:6 Changed 10 years ago by Silvan Scherrer

we are still working on that problem.

comment:7 Changed 9 years ago by Silvan Scherrer

Resolution: wontfix
Status: assignedclosed

as samba 3.5 is considered dead, close this ticket in favor of #208.

Note: See TracTickets for help on using tickets.