LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CVS pserver - "no such repository" (https://www.linuxquestions.org/questions/linux-newbie-8/cvs-pserver-no-such-repository-507392/)

luckyl 12-04-2006 11:41 AM

CVS pserver - "no such repository"
 
Problem: cvspserver "--allow-root=/cvs/project" entries being ignored

Hi there,
I recently took over the administration of CVS in my company on a server running Redhat (9-3). I was asked to set up 5 new repositories for new projects. I did this by referring to the CVS How To and followed each step including updating /etc/xinetd.d/cvspserver by appending the new repository names to "server_args =" and giving the "service xinetd reload" command (and rebooting). cvspserver is running on port 2401.

I can use the new repositories to check in and out files when working locally on the server but I cannot access the new repositories remotely from another machine on the network. When I try to check out files I get "/cvs/pas_frame: no such repository". I can still access the older repositories remotely.

From trawling the web with this problem, I suspected that I exceeded some limit to the length of the "server_args=" line in cvspserver so I moved the entries for the new repositories to the beginning of the list but that did not help.

As a temporary solution I set the new repositories up on a different linux machine running the same version of Redhat and it works fine remotely. However I need to get this code back on the original server.

The problem seems to me, that the new entries in cvspserver: server_args are being ignored for some reason.

If you have seen this before, I would appreciate help with this:

1. If I have exceeded a max length, how do I work around it?
2. How can I force the xinetd service to allow remote access to these repositories?
3. Is there something else I'm overlooking?

Many thanks for reading this!

Lucky.

-----------------------------------
This is what cvspserver looks like:
service cvspserver
{
disable = no
port = 2401
protocol = tcp
socket_type = stream
wait = no
user = root
passenv = PATH
server = /usr/bin/cvs
server_args = -f --allow-root=/cvs/pas_frame --allow-root=/cvs/puswinloo --allow-root=/cvs/pusmiddletapr --allow-root=/cvs/hipconfig --allow-root=/cvs/psspicasal --allow-root=/cvs/pcf --allow-root=/cvs/scbcmarke --allow-root=/cvs/service1 --allow-root=/cvs/pbanana --allow-root=/cvs/psapi --allow-root=/cvs/pusapplea --allow-root=/cvs/lis --allow-root=/cvs/patatoeo --allow-root=/cvs/sgiraffec --allow-root=/cvs/sustitout --allow-root=/cvs/pugrrler1 --allow-root=/cvs/psynccopple --allow-root=/cvs/jarconfig --allow-root=/cvs/pus_sapplein --allow-root=/cvs/sservice2 --allow-root=/cvs/project3 --allow-root=/cvs/pus_project --allow-root=/cvs/pas_project5 --allow-root=/cvs/project7ig --allow-root=/cvs/project8 --allow-root=/cvs/project10 --allow-root=/cvs/project8 --allow-root=/cvs/sproj3 pserver
}

Rogerio Ferreira 01-15-2007 08:13 AM

Have you got your answer yet?

You need use only the "server_args = -f --allow-root=/cvs/pas_frame" line to enable the cvspserver, this means where you have the CVSROOT directory that is the start point of all other project under it.

Take a look at cvs -import parameters and have fun.

luckyl 01-16-2007 03:39 AM

Hi Rogerio,

Thanks for your reply.

Each of the directories listed are CVSROOTs. They are separate projects worked on by separate teams. If I only list "server_args = -f --allow-root=/cvs/pas_frame" then the pas_frame team can access all of their projects in the sub-directories of pas_frame but the other teams like hipconfig can't access anything.

Rogerio Ferreira 01-17-2007 02:21 PM

CVS suggestion
 
Hiho,

We are here again trying to help each other.

I have an idea, How about create logical maps from the server's directory like F:\ and G:\ and to define the cvs source like ::local::? Each team could see only their own repository, using SMB, and you could manager all of them.

ankitgupta17 04-25-2013 02:17 PM

CVS Repository issue
 
CVS Configuration :

service cvspserver
{
disable = no
socket_type = stream
protocol = tcp
wait = no
port = 2401
user = root
server = /usr/local/bin/cvs
bind = 127.0.0.1
log = /var/log/cvslog
server_args = -f --allow-root=/opt/cvsrepositories/Tracker --allow-root=/opt/cvsrepositories/FreeRecordShop --allow-root=/opt/cvsrepositories/SellsmartProjects --allow-root=/opt/cvsrepositories/Intronics --allow-root=/opt/cvsrepositories/Sellsmart63 --allow-root=/opt/cvsrepositories/BCCrd --allow-root=/opt/cvsrepositories/EperiumSuite6 --allow-root=/opt/cvsrepositories/BusinessObject --allow-root=/opt/cvsrepositories/Pandora --allow-root=/opt/cvsrepositories/Magento --allow-root=/opt/cvsrepositories/rezidor --allow-root=/opt/cvsrepositories/Secure --allow-root=/opt/cvsrepositories/Hoogvliet --allow-root=/opt/cvsrepositories/dotnet --allow-root=/opt/cvsrepositories/Heiler --allow-root=/opt/cvsrepositories/Suite6Tomcat pserver

CVS gives me an error repo does not exist .... Please help


All times are GMT -5. The time now is 11:18 PM.