[Samba] oplock problem - how to fix?

Joel Hammer Joel at HammersHome.com
Sat Sep 28 02:01:00 GMT 2002


man smb.conf
/      oplocks

Essentially, turn off oplocks.
Joel
On Fri, Sep 27, 2002 at 06:33:29PM -0700, Sean Noonan wrote:
> Hi everyone,
> 
> Trying to copy a 3.5MB file from a Windows 2000 workstation to a FreeBSD
> 4.6.2 server running samba-2.2.6.p2.  The 3.5MB file is an MS Access file
> called MoldFE.mdb.  After a few seconds of copying the file, a message box
> pops up on the W2K workstation that states "Cannot copy MoldFE:  The
> specified network name is no longer available".  In /var/log/messages, I see
> this:
> 
> Sep 27 17:56:25 mail smbd[10311]: [2002/09/27 17:56:25, 0]
> smbd/oplock.c:request_oplock_break(1008)
> Sep 27 17:56:25 mail smbd[10311]:   request_oplock_break: no response
> received to oplock break request to pid 10048 on port 2192 for dev = 27406,
> inode = 601682, file_id = 101
> Sep 27 17:56:25 mail smbd[10311]: [2002/09/27 17:56:25, 0]
> smbd/open.c:open_mode_check(631)
> Sep 27 17:56:25 mail smbd[10311]:   open_mode_check: exlusive oplock left by
> process 10048 after break ! For file usr/local/www/data/files/MoldFE.mdb,
> dev = 27406, inode = 601682. Deleting it to continue...
> Sep 27 17:56:25 mail smbd[10311]: [2002/09/27 17:56:25, 0]
> smbd/open.c:open_mode_check(635)
> Sep 27 17:56:25 mail smbd[10311]:   open_mode_check: Existent process 10048
> left active oplock.
> 
> Here's the smb.conf file the server is using:
> 
> [global]
>    workgroup = MYWRKGRP
>    server string = Samba Server %v
>    netbios name = SRV1
>    hosts allow = 192.168.100. 127.
>    interfaces = 192.168.100.2/255.255.255.0
>    load printers = yes
>    log file = /var/log/log.%m
>    max log size = 50
>    security = domain
>    password server = *
>    encrypt passwords = yes
>    socket options = TCP_NODELAY
>    os level = 255
>    domain admin group = noonans root @wheel
>    wins support = no
>    dns proxy = no
> [homes]
>    comment = Home Directories
>    browseable = no
>    writeable = yes
> [printers]
>    comment = All Printers
>    path = /var/spool/samba
>    browseable = no
>    guest ok = no
>    writeable = no
>    printable = yes
> [rootpart]
>    comment = Everything!
>    path = /
>    valid users = noonans root @wheel
>    force user = root
>    public = no
>    writeable = yes
>    printable = no
>    create mask = 0765
> 
> How to fix???
> 
> TIA,
> 
> -- Sean Noonan
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list