Could somebody HELP!? oplock_break problem, tdb corruption

Olaf Frączyk olaf at cbk.poznan.pl
Mon Mar 4 06:59:03 GMT 2002


Hi,
As I found on samba, samba-technical groups, I'm not the only one who has 
these problems.

Can somebody give some help?

Some info again:

I have following symptomps:

In sample log (logs for smbd per machine):
2002/03/01 08:10:57, 0] rpc_server/srv_netlog.c:api_net_sam_logon(206)
   api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON.
[2002/03/01 08:10:57, 0] rpc_server/srv_pipe.c:api_rpcTNP(1200)
   api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed.
[2002/03/01 08:20:20, 0] rpc_server/srv_netlog.c:api_net_sam_logon(206)
   api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON.
[2002/03/01 08:20:20, 0] rpc_server/srv_pipe.c:api_rpcTNP(1200)
   api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed.
[2002/03/01 14:40:29, 0] smbd/oplock.c:oplock_break(758)
   oplock_break: receive_smb error (Success)
   oplock_break failed for file 
FakturyRachunki/Faktury_Pneumat/FvPneumat_55_02.xls (dev = 812, inode = 
18234248, file_id = 2441).
[2002/03/01 14:40:30, 0] smbd/oplock.c:oplock_break(843)
   oplock_break: client failure in break - shutting down this smbd.
[2002/03/01 14:40:30, 0] tdb/tdbutil.c:tdb_log(475)
   tdb(/var/lock/samba/connections.tdb): rec_read bad magic 0x42424242 at 
offset=6276
[2002/03/01 14:40:30, 0] smbd/connection.c:yield_connection(62)
   yield_connection: tdb_delete for name navioffice failed with error 
Corrupt database.
[2002/03/01 14:40:30, 0] smbd/connection.c:yield_connection(62)

And similar.

After that smbstatus shows garbages:
Locked files:
Pid    DenyMode   R/W        Oplock           Name
--------------------------------------------------
1162495308  BATCH            *   Mon Oct 11 16:16:15 2021
0      DENY_DOS   RDONLY     NONE             *   Thu Jan  1 01:00:00 1970
29475711  DENY_FCB EXCLUSIVE+BATCH  *   Thu Jan  1 01:00:00 1970
1970565221  DENY_DOS   BATCH               Thu Jan  1 01:00:00 1970
1075357728  DENY_WRITE BATCH               Thu Jan  1 01:00:00 1970
1075357368  DENY_DOS   RDONLY     NONE                Thu Jan  1 01:00:00 
1970
7233906  DENY_WRITE NONE             *   Thu Jan  1 01:00:00 1970
16     NONE                Thu Jan  1 01:00:00 1970
29470851  DENY_DOS   EXCLUSIVE+BATCH  *   Thu Jan  1 01:00:00 1970

Or simply stops in listing connections and tells, that database 
connections.tdb is corrupt.

Afterwards, from time to time, users cannot connect to samba, and it has 
to be restarted.

Regards,

Olaf Fr?czyk






More information about the samba-technical mailing list