Re: [Samba] oplock problem - how to fix?

2002-09-27 Thread Joel Hammer

Well, not sure what is causing that problem. Post the appropriate parts of
the samba log file, maybe some guru will see some clues in it.
BTW, if you just want to transfer a few big files, ftp works fine.
Joel

On Fri, Sep 27, 2002 at 09:41:07PM -0700, Sean Noonan wrote:
> Ok, some clarification.  By "same error message" I mean the message box that
> pops up still says "Cannot copy MoldFE:  The specified network name is no
> longer available", same as before.  The /var/log/messages file now doesn't
> show anything, though...
> 
> -- Sean
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Joel Hammer
> > Sent: Friday, September 27, 2002 9:05 PM
> > To: Sean Noonan; [EMAIL PROTECTED]
> > Subject: Re: [Samba] oplock problem - how to fix?
> >
> >
> > How can you get an oplock error when you have turned off oplocks?
> >
> > Getting the same error message is even stranger.
> >
> > Are you are editing the right smb.conf file? If you installed
> > samba from sources on top of a prevous installation, there
> > might be more
> > than one copy of smb.conf on your machine.
> >
> > Joel
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] oplock problem - how to fix?

2002-09-27 Thread Sean Noonan

Ok, some clarification.  By "same error message" I mean the message box that
pops up still says "Cannot copy MoldFE:  The specified network name is no
longer available", same as before.  The /var/log/messages file now doesn't
show anything, though...

-- Sean


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On
> Behalf Of Joel Hammer
> Sent: Friday, September 27, 2002 9:05 PM
> To: Sean Noonan; [EMAIL PROTECTED]
> Subject: Re: [Samba] oplock problem - how to fix?
>
>
> How can you get an oplock error when you have turned off oplocks?
>
> Getting the same error message is even stranger.
>
> Are you are editing the right smb.conf file? If you installed
> samba from sources on top of a prevous installation, there
> might be more
> than one copy of smb.conf on your machine.
>
> Joel

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] oplock problem - how to fix?

2002-09-27 Thread Joel Hammer

How can you get an oplock error when you have turned off oplocks?

Getting the same error message is even stranger.

Are you are editing the right smb.conf file? If you installed
samba from sources on top of a prevous installation, there might be more
than one copy of smb.conf on your machine.

Joel





On Fri, Sep 27, 2002 at 08:54:12PM -0700, Sean Noonan wrote:
> Joel,
> 
> Added oplocks = no to the smb.conf file under [rootpart] service definition.
> Same error message occured.  Ran testparm for the heck of it and it told me
> that I couldn't have oplocks = no and level2 oplocks = yes.  So I changed
> level2 oplocks to no, too.  _Still_ get same error message (yes, I restarted
> daemons after each change).
> 
> Any more ideas?
> 
> -- Sean
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Joel Hammer
> > Sent: Friday, September 27, 2002 7:00 PM
> > To: Sean Noonan; [EMAIL PROTECTED]
> > Subject: Re: [Samba] oplock problem - how to fix?
> >
> >
> > man smb.conf
> > /  oplocks
> >
> > Essentially, turn off oplocks.
> > Joel
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] oplock problem - how to fix?

2002-09-27 Thread Sean Noonan

Joel,

Added oplocks = no to the smb.conf file under [rootpart] service definition.
Same error message occured.  Ran testparm for the heck of it and it told me
that I couldn't have oplocks = no and level2 oplocks = yes.  So I changed
level2 oplocks to no, too.  _Still_ get same error message (yes, I restarted
daemons after each change).

Any more ideas?

-- Sean


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On
> Behalf Of Joel Hammer
> Sent: Friday, September 27, 2002 7:00 PM
> To: Sean Noonan; [EMAIL PROTECTED]
> Subject: Re: [Samba] oplock problem - how to fix?
>
>
> man smb.conf
> /  oplocks
>
> Essentially, turn off oplocks.
> Joel

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] oplock problem - how to fix?

2002-09-27 Thread Joel Hammer

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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] oplock problem - how to fix?

2002-09-27 Thread Sean Noonan

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