CVS on solaris : no such repository

Posted on 2004-11-08
Last Modified: 2013-12-21

I am trying to setup cvs-1.11.17 server on solaris 9 sparc. I did as follows:

1. Created a cvs group, assigned and given all permission to

2. $ cvs –d /opt/repository/CVS init

3. $ CVSROOT=/opt/repository/CVS
   $ export CVSROOT

4. $ cvs import -m "Imported sources" test test start
now I could check out and check in on the same machine.

5.  added in inetd.conf
cvspserver stream tcp nowait root /opt/sfw/bin/cvs cvs -f --allow root=/opt/repository/CVS pserver

6. added in services
cvspserver      2401/tcp                        # CVS port for remote

restarted inetd and services

now I want to access the cvs from different server as follows:

but getting “connection refused: no such repository”

on local machine I even tried as follows:

$ CVSROOT=:pserver:admin@myserver:/opt/repository /CVS
$ export CVSROOT
$ cvs login
Logging in to :pserver:admin@ myserver:2401/opt/repository /CVS
CVS password:
/opt/repository /CVS: no such repository

Could anyone tell me what is wrong here?
Question by:mrhafiz
    LVL 38

    Assisted Solution


    cvs -d :pserver:admin@myserver:/opt/repository/CVS login

    PS: should have no space between:/opt/repository and /CVS

    for more details see :

    Author Comment

    Thanks for the response. That was a typo. I tried with

    cvs -d :pserver:admin@myserver:/opt/repository/CVS login

    but it still returns:

    $ cvs -d :pserver:admin@myserver:/opt/repository/CVS login
    Logging in to :pserver:admin@myserver:2401/opt/repository/CVS
    CVS password:
    /opt/repository/CVS: no such repository

    in /opt/repository/CVS, i have

    CVSROOT  testproj

    LVL 12

    Accepted Solution

    Hi mrhafiz,
    You're probably better off by connecting to your CVS server with SSH. It's the better choice, since it needs no additional ports open, services or inetd changes.


    LVL 48

    Assisted Solution

    I'll second the ssh option.

    You just need to set



    LVL 51

    Assisted Solution

    did you check your files in CVSROOT/ and CVSROOT/CVS/
    in particular  CVSROOT/modules
    LVL 38

    Assisted Solution

    Have you restart "inetd"  deamon after you edit inetd.conf and /etc/services files?

       ps -ef | grep intetd | grep -v grep
       kill -HUP process_id
       restart the inted deamon


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Suggested Solutions

    Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. Please see for the updated article. It is avail…
    This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Video by: Phil
    This video goes over how to configure and start a jail in FreeBSD.  This video is meant to supplement the article included with this course.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now