[Samba] samba service halted -- locked files?

Colleen Nagle colleen at sdo.net
Sat Jan 10 00:18:54 GMT 2004


My Samba fileserver stopped during a move of files from a pc called 
Thuderbird. Here is what I found in the log for this machine:

[2004/01/07 17:05:37, 0] smbd/oplock.c:request_oplock_break(981)
  request_oplock_break: no response received to oplock break request to 
pid 23159 on port 32937 for dev = 309, inode = 2113551, file_id = 985
[2004/01/07 17:05:37, 0] smbd/open.c:open_mode_check(551)
  open_mode_check: exlusive oplock left by process 23159 after break ! 
For file ITunes/Varios/Las Clasicas de la Cumbia/Los Virtuosos de la 
Salsa - El.mp3, dev = 309, inode = 2113551. Deleting it to continue...
[2004/01/07 17:05:37, 0] smbd/open.c:open_mode_check(555)
  open_mode_check: Existent process 23159 left active oplock.
[2004/01/07 17:05:37, 0] lib/util_sock.c:read_data(436)
  read_data: read failure for 16248. Error = Interrupted system call
[2004/01/07 17:05:37, 0] tdb/tdbutil.c:tdb_log(475)
  tdb(/var/cache/samba/locking.tdb): tdb_lock failed on list 12 ltype=1 
(Resource deadlock avoided)
[2004/01/07 17:05:37, 0] tdb/tdbutil.c:tdb_log(475)
  tdb(/var/cache/samba/locking.tdb): tdb_lock failed on list 12 ltype=0 
(Resource deadlock avoided)
[2004/01/07 17:05:37, 0] 
  Invalid file descriptor 23 in kernel oplock break!

I stopped and restarted samba, and it is says it is currently up and 
running. However, I am unable to connect through smbclient -L localhost 
(I get a connection refused message) and unable to connect any machines 
to the fileserver.

Here are my global settings in smb.conf:

        smb passwd file = /etc/samba/smbpasswd
        passwd program = /usr/bin/passwd %u
        pam password change = yes
        printing = lprng
        dns proxy = no
        encrypt passwords = yes
        socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
        printcap name = /etc/printcap
        max log size = 0
        obey pam restrictions = yes
        passwd chat = *New*password* %n\n *Retype*new*password* %n\n 
        security = user
        unix password sync = Yes
        server string = Samba Server
        workgroup = SDO
        netbios name = lo
        log file = /var/log/samba/%m.log
        load printers = yes
        socket address =

Please let me know if you have any ideas as to how to reconnect to samba!


More information about the samba mailing list