[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


CVS on solaris : no such repository

Posted on 2004-11-08
Medium Priority
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

yuzh earned 400 total points
ID: 12530737

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

ID: 12533002
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

stefan73 earned 200 total points
ID: 12535890
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.


Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 48

Assisted Solution

Tintin earned 200 total points
ID: 12539325
I'll second the ssh option.

You just need to set



LVL 51

Assisted Solution

ahoffmann earned 200 total points
ID: 12539552
did you check your files in CVSROOT/ and CVSROOT/CVS/
in particular  CVSROOT/modules
LVL 38

Assisted Solution

yuzh earned 400 total points
ID: 12541386
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


Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
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 how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

872 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