[Samba] locked file

stefanke at micodat.com stefanke at micodat.com
Fri Sep 23 10:17:13 GMT 2005


Hi all,

I have a strange locking file problem. I cannot open (read only) a file (alais.dbf) from my windows box but form the linux box it is possible to read the file. I has something to do with samba.


loglevel 10 output nt-client:
-----------------------------
[2005/09/23 11:20:24, 10] locking/locking.c:is_locked(109)
  is_locked: brl start=0 len=512 unlocked for file database.aww.sav/alais.dbf
[2005/09/23 11:20:24, 10] locking/posix.c:is_posix_locked(706)
  is_posix_locked: File database.aww.sav/alais.dbf, offset = 0, count = 512, type = READ
[2005/09/23 11:20:24, 10] locking/posix.c:posix_lock_in_range(642)
  posix_lock_in_range: offset_out = 0, count_out = 512
[2005/09/23 11:20:24, 8] locking/posix.c:posix_fcntl_lock(659)
  posix_fcntl_lock 24 12 0 512 0
[2005/09/23 11:20:24, 8] lib/util.c:fcntl_lock(1815)
  fcntl_lock 24 12 0 512 0
[2005/09/23 11:20:24, 3] lib/util.c:fcntl_lock(1834)
  fcntl_lock: fd 24 is locked by pid 16961
[2005/09/23 11:20:24, 8] locking/posix.c:posix_fcntl_lock(689)
  posix_fcntl_lock: Lock call successful
[2005/09/23 11:20:24, 10] locking/locking.c:is_locked(121)
  is_locked: posix start=0 len=512 locked for file database.aww.sav/alais.dbf
[2005/09/23 11:20:24, 3] smbd/error.c:error_packet(147)
  error packet at smbd/reply.c(2658) cmd=46 (SMBreadX) NT_STATUS_FILE_LOCK_CONFLICT


Any suggestions ?


cheers
Stefan




More information about the samba mailing list