[cvsnt] Re: Occasional Error: Entries.Log: Permission denied

Tobias Rodenbach tr.mailinglists at gmail.com
Tue Apr 5 14:35:44 BST 2005


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.


Hi,

the error described in my first mail gets more and more annoying.

The error seems also to occur in the middle of a checkout, but the
checkout is not interrupted by this error.

As you can see in the logfile excerpts below, one time Entries.log
cannot be "opened", another time Entries.Extra.log. As all other
occurrences of these files are in unlink operations, I assume that
"cannot open" in this case means "cannot delete", is that right?

Now for the Questions:
- What's the purpose of this Entries.log anyway? I examined other
checked out repositories and did not find any of these files there (I
guess they have been unlinked successfully), in others i have fond
many.
- Any idea why the deletion fails? I (blindly) guess that the file is
in use by some other task and cannot be removed therefore; can this be
a CVSNT task? Should I turn of real time AV-Scanning on my local disk
as well? I really wouldn't like to do that...
- Should this failed deletion stop the checkout process?

Client/Server versions are as written before (2.0.58d).

I ran the checkout with -tttt, here is the error in the resulting logfile:

1st occurence:

U application/hmi/HMIFW/include/sysinc/ver70c2/MSG/v0001/SC-PARKMODE_CANCEL_ASK-0000-0.msg
  -> rename(_new_SC-PARKMODE_CANCEL_ASK-0000-0.msg,SC-PARKMODE_CANCEL_ASK-0000-0.msg)
  -> wnt_rename(_new_SC-PARKMODE_CANCEL_ASK-0000-0.msg,SC-PARKMODE_CANCEL_ASK-0000-0.msg)
  -> readonly=0
  -> change_mode (SC-PARKMODE_CANCEL_ASK-0000-0.msg,u=rw,g=r,o=r,1)
  -> wnt_chmod(SC-PARKMODE_CANCEL_ASK-0000-0.msg,0644)
  -> SetUnixFileModeNtEA(SC-PARKMODE_CANCEL_ASK-0000-0.msg,0644)
  -> GetUnixFileModeNtEA(SC-PARKMODE_CANCEL_ASK-0000-0.msg,00000748)
returns 0644
  -> GetUnixFileModeNtEA(SC-PARKMODE_CANCEL_ASK-0000-0.msg,00000748)
returns 0644
  -> Register(SC-PARKMODE_CANCEL_ASK-0000-0.msg, 1.1.1.1, Mon Jan  3
10:54:09 2005, -kb,  , , , , )
  -> call_in_directory
/adit_sw/application/hmi/HMIFW/include/sysinc/ver70c2/MSG/v0001/SC-PARKMODE_NTI-0000-0.msg,application/hmi/HMIFW/include/sysinc/ver70c2/MSG/v0001/
U application/hmi/HMIFW/include/sysinc/ver70c2/MSG/v0001/SC-PARKMODE_NTI-0000-0.msg
  -> rename(_new_SC-PARKMODE_NTI-0000-0.msg,SC-PARKMODE_NTI-0000-0.msg)
  -> wnt_rename(_new_SC-PARKMODE_NTI-0000-0.msg,SC-PARKMODE_NTI-0000-0.msg)
  -> readonly=0
  -> change_mode (SC-PARKMODE_NTI-0000-0.msg,u=rw,g=r,o=r,1)
  -> wnt_chmod(SC-PARKMODE_NTI-0000-0.msg,0644)
  -> SetUnixFileModeNtEA(SC-PARKMODE_NTI-0000-0.msg,0644)
  -> GetUnixFileModeNtEA(SC-PARKMODE_NTI-0000-0.msg,00000680) returns 0644
  -> GetUnixFileModeNtEA(SC-PARKMODE_NTI-0000-0.msg,00000680) returns 0644
  -> Register(SC-PARKMODE_NTI-0000-0.msg, 1.1.1.1, Mon Jan  3 10:54:09
2005, -kb,  , , , , )
cvs server: cannot open CVS/Entries.Log: Permission denied
  -> call_in_directory
/adit_sw/application/hmi/HMIFW/include/sysinc/ver70c2/MSG/v0001/SC-PASS_NTI-0000-0.msg,application/hmi/HMIFW/include/sysinc/ver70c2/MSG/v0001/


2nd occurence:
U application/hmi/HMIFW/include/sysinc/ver70c2/MSG/v0001/WPR-MAPUPDATE_REP-0000-0.msg
  -> rename(_new_WPR-MAPUPDATE_REP-0000-0.msg,WPR-MAPUPDATE_REP-0000-0.msg)
  -> wnt_rename(_new_WPR-MAPUPDATE_REP-0000-0.msg,WPR-MAPUPDATE_REP-0000-0.msg)
  -> readonly=0
  -> change_mode (WPR-MAPUPDATE_REP-0000-0.msg,u=rw,g=r,o=r,1)
  -> wnt_chmod(WPR-MAPUPDATE_REP-0000-0.msg,0644)
  -> SetUnixFileModeNtEA(WPR-MAPUPDATE_REP-0000-0.msg,0644)
  -> GetUnixFileModeNtEA(WPR-MAPUPDATE_REP-0000-0.msg,00000680) returns 0644
  -> GetUnixFileModeNtEA(WPR-MAPUPDATE_REP-0000-0.msg,00000680) returns 0644
  -> Register(WPR-MAPUPDATE_REP-0000-0.msg, 1.1.1.1, Mon Jan  3
10:54:12 2005, -kb,  , , , , )
  -> call_in_directory
/adit_sw/application/hmi/HMIFW/include/sysinc/ver70c2/MSG/v0001/,application/hmi/HMIFW/include/sysinc/ver70c2/MSG/v0001/
  -> unlink(CVS/Tag)
  -> wnt_chmod(CVS/Tag,0200)
cvs server: cannot remove CVS/Entries.Extra.Log: Permission denied
  -> call_in_directory
/adit_sw/application/hmi/HMIFW/include/sysinc/ver70c2/MSV/,application/hmi/HMIFW/include/sysinc/ver70c2/MSV/
  -> copy(CVS/Entries,CVS/Entries.Old)

The full logfile is also available of course.

Best regards
Tobias Rodenbach



On Mar 17, 2005 12:05 PM, Tobias Rodenbach <tr.mailinglists at gmail.com> wrote:
> Hello,
> 
> we are occasionally observing the following error when checking out a
> certain module:
> 
> cvs server: Updating HMIFW/include/sysinc/ver70c2/TG_AVC
> cvs [server aborted]: cannot open CVS/Entries.Log: Permission denied
> 
> This problem occurs on checkouts as well as on updates.
> Restarting the same checkout/update works most of the times (i.e.
> there seems to be no problem with the permissions in general).
> 
> The HMIFW module is a very large module (about 16000 files).
> 
> There is no AV-Software running on the repository-harddisk.
> 
> cvs version
> Concurrent Versions System (CVSNT) 2.0.58d (client/server)
> Client: Concurrent Versions System (CVSNT) 2.0.58d (client/server)
> 
> Google tells me that this problem occurs some times, but I found no
> solution that fixes my problem. I also found some comments like
> "happens sometimes". I worry about this Bug(?) because it doesn't seem
> to be reproducible and is very annoying as starting over the checkout
> takes time. Have any other cvsnt users experienced this problem?
> 
> Best regards
> Tobias
>



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook