Hi, I'm running 3.0.4 and have had several reports from users both using Office and Lotus where the application tells them that the file is already in use when we know it isn't. (BTW, there's a typo on the man page under "lock spin count". "acquired", not "aquired".) Chris -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ Trinsic Solutions http://www.trinsics.com 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180 If you don't apply what you've learned, you haven't learned anything. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 235 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20040526/3da9cfb1/attachment.bin
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! Chris Garrigues wrote:> Hi, > > I'm running 3.0.4 and have had several reports from users both using Office > and Lotus where the application tells them that the file is already in use > when we know it isn't. >We seem to have similar problems! (see my mail with subject "Share violation on file error" from yesterday) So far I've got no reply from the list. I tried to play a little bit with oplock configurations (disable oplocks for some file pattern, completely disable oplocks for the shares) but it doesn't seem to help... :-( I don't know what's going on. Currently I suspect the virus scanners doing some strange things, but I have no prove for this theory. - - andreas - -- Andreas Haumer | mailto:andreas@xss.co.at *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0 A-1100 Vienna, Austria | Fax: +43-1-6060114-71 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD4DBQFAtKW4xJmyeGcXPhERAv4sAJd366+BTIcEjqpQz1SvwmMW4Ww0AKCereTk P/OOy37fvaEqV9iI8AxMjw==t8MI -----END PGP SIGNATURE-----
On Wed, May 26, 2004 at 08:41:35AM -0500, Chris Garrigues wrote:> Hi, > > I'm running 3.0.4 and have had several reports from users both using Office > and Lotus where the application tells them that the file is already in use > when we know it isn't.Can anyone give me a reproducible test case for this please ? A set of client operations that reliably reproduces it would be best. If not, an ethereal capture trace showing the entire session might help track this down. Thanks, Jeremy.
On Wed, May 26, 2004 at 08:41:35AM -0500, Chris Garrigues wrote:> > (BTW, there's a typo on the man page under "lock spin count". "acquired", not > "aquired".)Fixed, thanks. Jeremy.
Do you, by chance run a virus scanner and Win2000 or WinXP? Windows 2000 and XP have a tendency to examine files in a directory when you open an Explorer window. This triggers the virus scanner, which, in turn, opens the file and keeps it locked until it has finished scanning the file. I have no experience with Linux virus scanners (I still scan on user-side only), but the same problem could apply on the Linux side. I hope this helps. Greetz, kit
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! Kit Gerrits wrote:> Do you, by chance run a virus scanner and Win2000 or WinXP? > >Yes, there is an McAfee virus scanner running on the windows workstation which has WinXP installed.> > Windows 2000 and XP have a tendency to examine files in a directory when you > open an Explorer window. > > > > This triggers the virus scanner, which, in turn, opens the file and keeps it > locked until it has finished scanning the file. > >It indeed currently looks like it has something to do with the way a virus scanner opens the file. Jeremy Allison might have found some traces of it in the network traffic dump files I produced. But as far as I have understood the explanation from Jeremy, there might also be some issue with samba and windows clients opening the same file several times in the same second. I will now proceed as follows: a) Try to reproduce the problem with the virus scanner disabled b) Try to reproduce the problem with samba 3.0.5pre1 (though it might not have a fix for this) c) Wait for a patch from Jeremy with a fix for the "deferred open issue" and try to reproduce the problem with that. I will keep the list informed of any results I can get! - - andreas - -- Andreas Haumer | mailto:andreas@xss.co.at *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0 A-1100 Vienna, Austria | Fax: +43-1-6060114-71 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAuNxcxJmyeGcXPhERArvtAKCJTXiTtvASj8YPP0FZGlVUnEiV0ACgqVtk OZZJ4GZh5UBPN7sduhKwq6U=Be+W -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! Just to keep you updated... Andreas Haumer wrote: [...]> I will now proceed as follows: > > a) Try to reproduce the problem with the virus scanner disabledWe disabled the virus scanner, but the problem still occurs. - - andreas - -- Andreas Haumer | mailto:andreas@xss.co.at *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0 A-1100 Vienna, Austria | Fax: +43-1-6060114-71 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAvxQqxJmyeGcXPhERAiE4AKC+tXmXG+Uh3Ct1t5e6GLsFJEhquwCdGDWf xUbpr066hMuvJE130sTPHWQ=/+kV -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! Jeremy Allison wrote: [...]> > I'd love to know if it fixes the Excel problem.... Fingers > crossed :-). >I'm awfully sorry for this late reply, but I just was not allowed to put the new version on the production server until now. But today we had the chance to test the samba version with the "deferred open" patch included (Samba 3.0.5pre2-SVN-build-1011) and the results show, that this version does _not_ solve the problem: the "File already in use" error messages still occur when users are opening their Excel files :-( But we did another test and we now know it has something to do with the version of MS Office: the error only occurs with (old) Excel from Office97, it does not occur with Excel from Office2003! I can't explain what is going on here, but maybe that's a hint for others having the same problem As the move to the new Office version is planned anyway, the significance of this problem now is much lower and I'm about to close this issue for now (this is not to say that I'm not open to try any new idea on this issue... ;-) Anyway, many thanks for your support! - - andreas PS: I did lots of testing with Samba 3.0.5pre2-SVN-build-1011 on our internal test server and I found not a single problem with this version. I had it running on a Linux-2.4.26 server as PDC with LDAPSAM backend and more than 1000 user accounts, OpenLDAP master/slave replication and failover and even had it running in an active/hot standby cluster configuration with Heartbeat and DRBD storage - all tests passed, I found no problem whatsoever. Good work! - -- Andreas Haumer | mailto:andreas@xss.co.at *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0 A-1100 Vienna, Austria | Fax: +43-1-6060114-71 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFA2HbsxJmyeGcXPhERAhv0AJ90nTPQLexth7GdFXw/aSCoECzQqgCdFPvL U8O5TBX9A5jA/wXChkn6L+I=vpXE -----END PGP SIGNATURE-----