[cvsnt] Cannot rename file error
Bo Berglund
Bo.Berglund at system3r.se
Thu Feb 13 15:51:33 GMT 2003
This indicates a hung cvs.exe process in the server. It locks the file.
Open up Task manager and look there for cvs.exe.
There should normally be none visible because they are very transient in nature.
But if you see one you have to kill it.
Unfortunately this cannot be done from Task Manager, so you have to drop down to
the command prompt and issue the 'kill cvs.exe' command, provided you have access
to the kill command that came with an NT resource pack a while back.
If you don't then SysInternals have a set of tools that includes an improved kill
utility. These tools are free.
I have set up a scheduled task that runs once each night at 4 AM and kills all cvs.exe
that live then. No more problems.
We had a few of those before when we were on 1.10.8, they all vanished with the schedule.
Bo
-----Original Message-----
From: Dwayne Miller [mailto:dmiller at espgroup.net]
Sent: den 13 februari 2003 16:21
To: cvsnt at cvsnt.org
Subject: [cvsnt] Cannot rename file error
We recently migrated our repository from an NT4 server to a Win2k
server. In the process, we upgraded CVSNT to build 68. All of that
might be unrelated, but provided just in case.
For a single file, all users are getting a message when trying to commit
a change:
cvs [server aborted]: cannot rename file
d:/cvs/pmp-docs/,sysTools_Readme.txt, to
d:/cvs/pmp-docs/sysTools_Readme.txt,v: Permission denied
All other operations on other files seem normal.
I believe this started when cvs 'hung' when I was trying to check in
this file. We are all using the WinCVS client, using the ntserver protocol.
I cannot find a file named d:/cvs/pmp-docs/,sysTools_Readme.txt. But
the file d:/cvs/pmp-docs/sysTools_Readme.txt,v does exist. It's
read-only attribute is unset, whereas all other files in that directory
are set to read-only.
I've looked in the WINNT\Temp directory and see several CVS related
directories and a few .tmp files, some of which are owned by me and have
the contents of the file I'm trying to check in. But I'm not sure what
to do with any of them to fix the problem.
On an unrelated note, we are also seeing a new message when updating an
entire directory:
cvs server: cannot open directory . for empty check: No such file or
directory
Any help would be appreciated.
Tks,
Dwayne
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
More information about the cvsnt
mailing list