- This topic has 3 replies, 3 voices, and was last updated 15 years, 6 months ago by aaidid.
-
AuthorPosts
-
aaididMemberHi
I had a problem about checkout the project anytime I do try to checkut the is displays an error message which says:
The server reported an error while performing the “cvs checkout” command. (took 0:00.344)
Error: : cvs server: failed to create lock directory for `/usr/local/bif_repository/webCommon/.settings’ (/usr/local/bif_repository/webCommon/.settings/#cvs.lock): Permission denied
Error: : cvs server: failed to obtain dir lock in repository `/usr/local/bif_repository/webCommon/.settings’
Error: : cvs [server aborted]: read lock failed – giving upAny ideas will be helpful.
Aidid
Loyal WaterMemberAidid,
This looks like some problem on CVS side. I check with the dev team and it seems like that had run into a similar issue a a couple times. Something like permission fix on server side is required.
Deepak KenchambaMemberHi Folks,
A fix on the CVS server is required. I have excerpts of a documentation i had earlier shared with my sys-admin team below. Hope this will help
– cheers, Deepak Kenchamba6. Configure CVS to use the lock directory
Note: It is not possible for cvs to read from a repository which has only read access.
cvs needs to be able to create lock files
Users must have write access to checkout files
Users must have write access to $CVSROOT/val-tagsCreate the lock directory first.
[root]# mkdir /var/lock/cvs
[root]# chgrp -R cvsgroup /var/lock/cvs
[root]# chmod -R g+rwx /var/lock/cvsThen, configure CVS to use the lock directory.
Change to a temporary directory, for example /home/cvs1
(which was created by the useradd command above), and check out the CVSROOT module from
the repository using the local filesystem mode (not pserver mode).
Edit the CVSROOT/config file and either uncomment or add a line ‘LockDir=/var/lock/cvs’.I can send you the entire file, if you like it.
aaididMemberplease send me the entire file.
Thanks
Aidid
@dkenchamba wrote:
Hi Folks,
A fix on the CVS server is required. I have excerpts of a documentation i had earlier shared with my sys-admin team below. Hope this will help
– cheers, Deepak Kenchamba6. Configure CVS to use the lock directory
Note: It is not possible for cvs to read from a repository which has only read access.
cvs needs to be able to create lock files
Users must have write access to checkout files
Users must have write access to $CVSROOT/val-tagsCreate the lock directory first.
[root]# mkdir /var/lock/cvs
[root]# chgrp -R cvsgroup /var/lock/cvs
[root]# chmod -R g+rwx /var/lock/cvsThen, configure CVS to use the lock directory.
Change to a temporary directory, for example /home/cvs1
(which was created by the useradd command above), and check out the CVSROOT module from
the repository using the local filesystem mode (not pserver mode).
Edit the CVSROOT/config file and either uncomment or add a line ‘LockDir=/var/lock/cvs’.I can send you the entire file, if you like it.
-
AuthorPosts