[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems accessing repository: no such repository
From: |
Larry Jones |
Subject: |
Re: problems accessing repository: no such repository |
Date: |
Fri, 6 Sep 2002 00:33:19 -0400 (EDT) |
Gabe Pinar writes:
>
> I added entries in /etc/services and made the correct entry for
> /etc/init.d/cvs. Connections to port 2401 are working as advertised.
It might help to know exactly what you put in /etc/init.d/cvs. You also
might want to check that you put it in the right place -- xinetd usually
keeps its config files in /etc/xinetd.d.
> I created a repository like this:
> cvs -d /home/cvs/CVSROOT init
>
> Set the environment variable:
> export CVSROOT=/home/cvs/CVSROOT
> cvs init
There's no need to do init twice -- it's generally best to set $CVSROOT
first and then just do "cvs init". However, you almost certainly want
$CVSROOT to be just /home/cvs.
> I try to access the repository like this:
> cvs -d :pserver:address@hidden:/home/cvs/ login
Why the sudden switch from local mode to pserver mode? In any event,
the path name there (/home/cvs/) must *exactly* match an --allow-root
argument in the pserver invocation in /etc/init.d/cvs. And you don't
want the trailing slash -- it will confuse CVS sooner or later.
-Larry Jones
These things just seem to happen. -- Calvin