[Cvsnt] Repository file lockup problem

Elliot Murphy elliot.murphy at veritas.com
Tue Dec 18 15:18:29 GMT 2001


I think you get access denied if you try to kill the processes using the
task manager because a process must have SE_DEBUG_NAME enabled in order to
terminate a service, and taskmgr.exe does not enable that service itself
(even if you are logged on as an administrator, and have that privilege
available to you).

Stopping/Starting the cvsservice probably wouldn't help, since these are
separate processes and are not contained in a job object. You probably can
kill them using the kill.exe tool, or start taskmgr.exe from a process that
enables the SE_DEBUG_NAME privilege first.

That will prevent you from having to reboot the system to clear those
processes, sorry I don't have any ideas why the problem happens in the first
place.

-elliot

-----Original Message-----
From: bo.berglund at telia.com [mailto:bo.berglund at telia.com]
Sent: Tuesday, December 18, 2001 9:42 AM
To: cvsnt at cvsnt.org
Subject: [Cvsnt] Repository file lockup problem


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?

System:
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).

Problem:
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.

Analysis:
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...

Questions:
- What can be done to fix this except restarting the server?
- Is this a known issue that might have been solved in 1.11.1.2?
- Does it only affect binary files? Both times for me were bin files.

/Bo
_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt



More information about the cvsnt mailing list