Peeler, Wade M.
2006-Jun-23 21:41 UTC
[Samba] NT_STATUS_SHARING_VIOLATION when trying to delete files
I searched the archives already and couldn't find an answer to this. I'm running an automated process via a cron job on a SUSE Linux Enterprise Server 9 box. The cron runs a Perl script, which uses the SmbClientParser module. The Perl script grabs files from clients running Windows 2000. The files on the client computers are created by in-house MFC applications on those computers. Occasionally, when the Perl script tries to delete files from the client computers, it gets an NT_STATUS_SHARING_VIOLATION and is unable to delete the file. I sometimes even get this error long after the software on the client that created the file has exited. However, sometimes everything works just fine and the Perl script is able to delete the files without problems. Does anybody know what causes this, or at least can point me in the right direction towards solving this problem? Wade
Peeler, Wade M.
2006-Jun-26 16:37 UTC
[Samba] NT_STATUS_SHARING_VIOLATION when trying to delete files
No help for me? My samba version is 3.0.4-SUSE -----Original Message----- From: samba-bounces+wade.peeler=ngc.com@lists.samba.org [mailto:samba-bounces+wade.peeler=ngc.com@lists.samba.org] On Behalf Of Peeler, Wade M. Sent: Friday, June 23, 2006 3:26 PM To: samba@lists.samba.org Subject: [Samba] NT_STATUS_SHARING_VIOLATION when trying to delete files I searched the archives already and couldn't find an answer to this. I'm running an automated process via a cron job on a SUSE Linux Enterprise Server 9 box. The cron runs a Perl script, which uses the SmbClientParser module. The Perl script grabs files from clients running Windows 2000. The files on the client computers are created by in-house MFC applications on those computers. Occasionally, when the Perl script tries to delete files from the client computers, it gets an NT_STATUS_SHARING_VIOLATION and is unable to delete the file. I sometimes even get this error long after the software on the client that created the file has exited. However, sometimes everything works just fine and the Perl script is able to delete the files without problems. Does anybody know what causes this, or at least can point me in the right direction towards solving this problem? Wade -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Jeremy Allison
2006-Jun-26 16:47 UTC
[Samba] NT_STATUS_SHARING_VIOLATION when trying to delete files
On Mon, Jun 26, 2006 at 10:36:57AM -0600, Peeler, Wade M. wrote:> No help for me? > > My samba version is 3.0.4-SUSEIt might help if you upgrade to a later version, or help us try out 3.0.23RC3 Jeremy.
Jeremy Allison
2006-Jul-01 00:33 UTC
[Samba] NT_STATUS_SHARING_VIOLATION when trying to delete files
On Fri, Jun 23, 2006 at 03:25:37PM -0600, Peeler, Wade M. wrote:> I searched the archives already and couldn't find an answer to this. > > I'm running an automated process via a cron job on a SUSE Linux > Enterprise Server 9 box. The cron runs a Perl script, which uses the > SmbClientParser module. The Perl script grabs files from clients > running Windows 2000. The files on the client computers are created by > in-house MFC applications on those computers. > > Occasionally, when the Perl script tries to delete files from the client > computers, it gets an NT_STATUS_SHARING_VIOLATION and is unable to > delete the file. I sometimes even get this error long after the > software on the client that created the file has exited. However, > sometimes everything works just fine and the Perl script is able to > delete the files without problems. > > Does anybody know what causes this, or at least can point me in the > right direction towards solving this problem?Something on the Windows box still has the file open. You need to track it down on the Windows side I think. Jeremy.
Maybe Matching Threads
- smbclient sending output to stdout
- afx.h... configure: error: Could not find the MFC includes
- NT_STATUS_SHARING_VIOLATION
- 4.12.2 breaks with win clients NT_STATUS_SHARING_VIOLATION
- Share inaccessible intermittently and often - restarting smb cures for short time