[cvsnt] Cannot rename file error

P. Dwayne Miller dmiller at espgroup.net
Thu Feb 13 16:14:17 GMT 2003


I do in fact have a cvs.exe running.  I'll try to kill it and see if the 
problem goes away.

Tks for the info.

BTW... I believe the sequence of events that caused this were...

I edited a file, tried to commit the change and that failed because 
someone else had commit another change.  I did an update on the file, 
which resulted in it trying to merge two versions.  The merge operation 
never completed.

Tks again.
Dwayne

Keith D. Zimmerman wrote:

>In my experience this was not the case - but I would have to recheck
>that.  I am pretty sure that I killed all cvs.exe's and hanging locks
>remained.
>
>The persistent hanging lock thing has been a problem with windows that I
>have experienced before with other products.  The server for my
>company's accounting system has been known to do it in the past, and we
>have accomplished much the same thing with visual studio across a file
>share a time or two...
>
>keith d. zimmerman, mcsd 
>eagle solutions
>
>-----Original Message-----
>From: Bo Berglund [mailto:Bo.Berglund at system3r.se] 
>Sent: Thursday, February 13, 2003 10:52 AM
>To: Dwayne Miller; cvsnt at cvsnt.org
>Subject: RE: [cvsnt] Cannot rename file error
>
>
>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
>
>
>_______________________________________________
>cvsnt mailing list
>cvsnt at cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
>
>
>  
>



More information about the cvsnt mailing list