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.
We've seen the same issue. For us it's usually a hung/zombie CVS process that has the file locked, though backups have caused the error as well on very large binaries. Grab the latest Process Monitor (it's microsoft now) and use the search function to see what process has a handle to the file. HTH chuck Matt Browne wrote: > 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." >