[Cvsnt] Repository file lockup problem

Bo Berglund bo.berglund at telia.com
Tue Dec 18 22:38:34 GMT 2001

Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.

For me this has happened only twice, first time I noted it myself and
the second time one of my developers came and complained about WinCvs
not finishing a commit.
I am using ntserver autentication exclusively with NTFS permissions
set. When the problem occurs a restart of the server helps, but I
don't like to do this. I'd rather understand what is happening.
And the locked file is not the temp file it is the original ,v file
holding the history of this exe file.

-----Original Message-----
From: Richard Farthing [mailto:keynet at london.com]
Sent: Tuesday, December 18, 2001 4:43 PM
To: bo.berglund at telia.com
Subject: Re: [Cvsnt] Repository file lockup problem

I had a similar problem, to do with impersonation, ownership and
the system process... the subject of quite a few mails recently.

I am using pserver as I have mostly win9x clients (and a Mac),
and my fix was to have a different CVS username to any existing
account on the NT server box.  If I use the same username for
normal users I get your problem (actually with all files).  I
think you'll find that the "stuck" temp file is owned by the
user if you look at it, but I assume cvs.exe and/or
cvsservice.exe is running as "system" and cannot move it...  or
maybe as you say it's the old file that can't be deleted.

To add some more fog to the issue:

a) I can use my login name as username in CVS, but I'm admin on
my Win2k client and the NT4 server.

b) I'm using build 27, and from what I can glean, I think
something changed in the area of NTserver and pserver between
this version and 10.8 that you have.

Lot's of guesswork from me, sorry Tony - but this is a tricky
problem and seems to be catching many of the people on this
list, so it's worth fixing...  It does work for me and several
disparate users, as described.  Hope this helps,

On Tue, 18 Dec 2001 14:43:34 +0000 (UTC), bo.berglund at telia.com (Bo
Berglund) wrote:

>I have for the second time gotten the same kind of problem and I
>wonder if anyone else has seen it/can advice what is causing it?
>CVS-NT 1.10.8 runnin on a W2K server with repository files and CVSNT
>executables all on the D: partition. D: has no shares on it except D$,
>which is only accessible by me.
>CVSWeb is running on IIS5 from the C: drive.
>Clients are using WinCvs1.2 from mainly W2K Pro machines (one or two
>NT4 machines still remain).
>Developer checks out a module, then makes some changes, compiles and
>tries to commit. Commit never finishes in WinCvs so WinCvs must be
>terminated with TaskManager. If the commit is done without including
>the exe file all is well.
>So all files except the exe are committable just fine, but when the
>exe is committed there is a temp file created in the repository:
>,filename.exe, and it apparently contains the new version ready to be
>renamed to filename.exe,v after the old file is deleted.
>But the old file cannot be deleted! Even from the console when logged
>in as admin is it possible...
>TaskManager shows two processes with image file cvs.exe. None of these
>can be stopped either, permission denied. I guess that one or the
>other of these processes are holding the file locked?
>The user for these cvs processes is SYSTEM
>(BTW: I have now seen TaskManager in W2K Server and it does indeed
>allow switching on a User column..)
>Stopping/starting the cvs service does not help.
>Restarting the server does help...
>- What can be done to fix this except restarting the server?
>- Is this a known issue that might have been solved in
>- Does it only affect binary files? Both times for me were bin files.
>Cvsnt mailing list
>Cvsnt at cvsnt.org
>http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs

Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs

More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook