LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-07-2006, 07:55 AM   #1
tangolike
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Rep: Reputation: 0
CVS: "No such repository" error


Hi all

I tried setting up a CVS server using cvsd on fc4 using this tutorial
http://www.roseindia.net/linux/tutor.../gettools.html

However when I try connecting via pserver like:
cvs -d server:anonymous@192.168.1.28:/cvs/root login

I get this
Logging in to server:anonymous@192.168.1.28:2401:/cvs/root


cvs [login aborted]: /cvs/root: no such repository

Tried all the literature which I could google out abt this
can anyone suggest something
(Note: I have done everything exaclty according to the tutorial, checked all config files and also checked that there is a line
Repos /root in cvsd.conf )

Really lost

Adding conetents of cvsd.conf

RootJail /cvs
Uid cvsd
Gid cvsd
Nice 1
Umask 027
Limit coredumpsize 0
Listen * 2401
PidFile /var/run/cvsd.pid
MaxConnections 40
Log syslog debug
Repos /root


Also as per the above mentioned tutorial the cvs rep is in /cvs/root

Last edited by tangolike; 04-07-2006 at 08:32 AM.
 
Old 04-07-2006, 08:51 AM   #2
tangolike
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Also contents of etc/xinetd.d/cvs are

service cvspserver
{
disable = yes
port = 2401
socket_type = stream
protocol = tcp
wait = no
user = root
passenv =
server = /usr/bin/cvs
env = HOME=/cvs
server_args = -f --allow-root=/cvs pserver
# bind = 127.0.0.1
}
 
Old 04-07-2006, 11:53 AM   #3
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Quote:
Originally Posted by tangolike
I ...connecting via pserver like:
cvs -d server:anonymous@192.168.1.28:/cvs/root login
I'm not a CVS expert, but if the syntax is like ftp then it's user@server:/some/path which means you would need a user anonymous (or anonymous access)
Quote:
Originally Posted by tangolike
contents of cvsd.conf
RootJail /cvs
Uid cvsd
Gid cvsd
Nice 1
Umask 027
Limit coredumpsize 0
Listen * 2401
PidFile /var/run/cvsd.pid
MaxConnections 40
Log syslog debug
Repos /root

the cvs rep is in /cvs/root
Again, without knowing much about CVS, since you have a RootJail /cvs wouldn't that mean that the local directory /cvs/something would appear to CVS as /something? Meaning try user@server:/root instead of user@server:/cvs/root. Judging from the error message, my guess is this is your culprit.

Quote:
Originally Posted by tangolike
Also contents of etc/xinetd.d/cvs are

service cvspserver
{
disable = yes
port = 2401
socket_type = stream
protocol = tcp
wait = no
user = root
passenv =
server = /usr/bin/cvs
env = HOME=/cvs
server_args = -f --allow-root=/cvs pserver
# bind = 127.0.0.1
}
I belive setting disable = no would make xinetd start this when a request comes in on the port. If you have another method of starting the CVS server (startup script?) then you either use that method or use xinetd to start it but preferrably not both.
 
Old 04-10-2006, 02:01 AM   #4
tangolike
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Thanx DARIn
That solved it
(am trying to setup the server for ssh tunneling now)
thanx again
BTW any suggestions for the ssh thing
 
  


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
CVS-"no repository exist" ERROR sm_it_101 Programming 2 10-06-2004 04:28 AM
cvs wine. Unable to download. Error "cvs: command not found" gonus Debian 5 08-03-2004 07:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:21 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