LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-04-2006, 10:41 AM   #1
luckyl
LQ Newbie
 
Registered: Dec 2006
Location: Cork Ireland
Posts: 2

Rep: Reputation: 0
Question 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
}
 
Old 01-15-2007, 07:13 AM   #2
Rogerio Ferreira
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Rep: Reputation: 0
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.
 
Old 01-16-2007, 02:39 AM   #3
luckyl
LQ Newbie
 
Registered: Dec 2006
Location: Cork Ireland
Posts: 2

Original Poster
Rep: Reputation: 0
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.
 
Old 01-17-2007, 01:21 PM   #4
Rogerio Ferreira
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Rep: Reputation: 0
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.

Last edited by Rogerio Ferreira; 01-17-2007 at 01:24 PM.
 
Old 04-25-2013, 01:17 PM   #5
ankitgupta17
LQ Newbie
 
Registered: Apr 2013
Posts: 1

Rep: Reputation: Disabled
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
removing a cvs "repository" danielwong Linux - Software 2 03-08-2006 03:38 AM
Running CVS Server on Fedora Core 4 with pserver as "cvs" user rupak Fedora 2 09-17-2005 02:06 PM
Running CVS Server with pserver as "cvs" user on Fedora Core 4 rupak Linux - Software 2 09-17-2005 12:10 PM
wincvs to cvs via pserver "encountered a problem" during login julianop Linux - Software 0 02-17-2005 09:09 PM
CVS-"no repository exist" ERROR sm_it_101 Programming 2 10-06-2004 04:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration