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.
As far as I can tell, the error "n seconds, still trying \n unable to rename file" specifically happens because another program has the file open. CVSNT writes a new file with a dummied file-name, then when it's finished doing that it deletes the existing one with the final name and renames the new one to its correct name. Hence if something has the old file open this stage will fail. It isn't anything to do with permissions it's another program holding the file open. Regards, Richard. > -----Original Message----- > From: cvsnt-bounces at cvsnt.org > [mailto:cvsnt-bounces at cvsnt.org] On Behalf Of Matt Browne > Sent: 02 December 2008 13:37 > To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook > Subject: Re: [cvsnt] Betr.: Odd Permissions Error When Tagging > > Hi Jan, > > Good point. However, there isn't a virus scanner on that machine and > there is no shadow copies running on that drive. Apart from that I > can't think of anything else that would be locking files. > > I have tried the proc monitor from sysinternals, but I can > see anything > on there that would point to a problem (there is a lot of information > though). > > We originally had the service running on another machine, but moved it > to this machine to see if it would solve the problem. Unfortunately it > seem to happen on both :( > > Thanks > > Matt > > > -----Original Message----- > From: Jan Keirse [mailto:jan.keirse at tvh.be] > Sent: 02 December 2008 12:52 > To: Matt Browne > Cc: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook > Subject: Betr.: [cvsnt] Odd Permissions Error When Tagging > > cvsnt-bounces at cvsnt.org schreef op 02/12/2008 11:37:58: > > > We have a script which does some overnight builds. It runs through > > various check-ins, check-outs and tagging. Most of it > works fine but > we > > are getting some odd errors on the tagging stage. > > > > Its tagging 200+ files and it gets to one of the files and gives the > > following error : > > > > Unable to rename file > > /cvs/project/code/Directory/Subdirectory/anotherone/,randomfile.cpp, > to > > /cvs/project/code/Directory/Subdirectory/anotherone/randomfile.cpp,v > for > > 1 second, still trying... > > Unable to rename file > > /cvs/project/code/Directory/Subdirectory/anotherone/,randomfile.cpp, > to > > /cvs/project/code/Directory/Subdirectory/anotherone/randomfile.cpp,v > for > > 2 seconds, still trying... > > Unable to rename file > > /cvs/project/code/Directory/Subdirectory/anotherone/,randomfile.cpp, > to > > /cvs/project/code/Directory/Subdirectory/anotherone/randomfile.cpp,v > for > > 3 seconds, still trying... > > Unable to rename file > > /cvs/project/code/Directory/Subdirectory/anotherone/,randomfile.cpp, > to > > /cvs/project/code/Directory/Subdirectory/anotherone/randomfile.cpp,v > for > > 4 seconds, still trying... > > Unable to rename file > > /cvs/project/code/Directory/Subdirectory/anotherone/,randomfile.cpp, > to > > /cvs/project/code/Directory/Subdirectory/anotherone/randomfile.cpp,v > for > > 5 seconds, still trying... > > Unable to rename file > > /cvs/project/code/Directory/Subdirectory/anotherone/,randomfile.cpp, > to > > /cvs/project/code/Directory/Subdirectory/anotherone/randomfile.cpp,v > for > > 6 seconds, still trying... > > Unable to rename file > > /cvs/project/code/Directory/Subdirectory/anotherone/,randomfile.cpp, > to > > /cvs/project/code/Directory/Subdirectory/anotherone/randomfile.cpp,v > for > > 7 seconds, still trying... > > Unable to rename file > > /cvs/project/code/Directory/Subdirectory/anotherone/,randomfile.cpp, > to > > /cvs/project/code/Directory/Subdirectory/anotherone/randomfile.cpp,v > for > > 8 seconds, still trying... > > Unable to rename file > > /cvs/project/code/Directory/Subdirectory/anotherone/,randomfile.cpp, > to > > /cvs/project/code/Directory/Subdirectory/anotherone/randomfile.cpp,v > for > > 9 seconds, still trying... > > Unable to rename file > > /cvs/project/code/Directory/Subdirectory/anotherone/,randomfile.cpp, > to > > /cvs/project/code/Directory/Subdirectory/anotherone/randomfile.cpp,v > for > > 10 seconds, giving up... > > cvs [server aborted]: cannot rename file > > /cvs/project/code/Directory/Subdirectory/anotherone/,randomfile.cpp, > to > > > /cvs/project/code/Directory/Subdirectory/anotherone/randomfile.cpp,v: > > Permission denied > > > It could be a problem with a virus scanner or something like google > desktop locking the file in question. > Anything that monitors the files that are being opened or written to > could > be related. > If you can do something when the error is detected check out the OS's > open > files list (using something like Sysinternal Process explorer) on the > server. > > Kind Regards, > > JAN KEIRSE > ICT-DEPARTMENT > Software quality & Systems: Software Engineer > > **** DISCLAIMER **** > <A HREF="http://www.tvh.be/newen/pages/emaildisclaimer.html"> > http://www.tvh.be/newen/pages/emaildisclaimer.html </A> > > "This message is delivered to all addressees subject to the conditions > set forth in the attached disclaimer, which is an integral > part of this > message." > > _______________________________________________ > cvsnt mailing list > cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook > http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs > > Upgrade to CVS Suite for more features and support: > http://march-hare.com/cvsnt/ >