facebook

CVS Repository for Checkout a project

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #297575 Reply

    aaidid
    Member

    Hi

    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 up

    Any ideas will be helpful.

    Aidid

    #297648 Reply

    Loyal Water
    Member

    Aidid,
    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.

    #297680 Reply

    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 Kenchamba

    6. 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-tags

    Create the lock directory first.
    [root]# mkdir /var/lock/cvs
    [root]# chgrp -R cvsgroup /var/lock/cvs
    [root]# chmod -R g+rwx /var/lock/cvs

    Then, 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.

    #298408 Reply

    aaidid
    Member

    please 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 Kenchamba

    6. 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-tags

    Create the lock directory first.
    [root]# mkdir /var/lock/cvs
    [root]# chgrp -R cvsgroup /var/lock/cvs
    [root]# chmod -R g+rwx /var/lock/cvs

    Then, 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.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: CVS Repository for Checkout a project

You must be logged in to post in the forum log in