LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 09-22-2004, 05:00 AM   #1
sm_it_101
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Rep: Reputation: 0
CVS-"no repository exist" ERROR


Hello friends
i have installed cvs-1-11-* on my redhat 9.0 box
this cvs works perfectly on local method but gives a lot problem on pserver method

my xinetd configfile is
service cvspserver
{
port = 2401
socket_type = stream
protocol = tcp
wait = no
user = cvs
passenv =
server = /usr/bin/cvs
server_args = --allow-root=/cvs/cvsroot -f pserver
env = HOME=/home/cvs
log = /var/log/cvslog
}

i have created a repository at
/cvs/cvsroot/mypr
but whenever i try


cvs -d : pserver:sandeepm@localhost:/cvs/cvsroot/mypr login
Logging in to : pserver:sandeepm@localhost:2401/cvs/cvsroot/mypr
CVS password:
/cvs/cvsroot/mypr: no such repository

how can i solve the problem
plese reply soon

Last edited by sm_it_101; 09-22-2004 at 05:01 AM.
 
Old 10-06-2004, 02:47 AM   #2
MidnightCmdr
LQ Newbie
 
Registered: Oct 2004
Location: Austin TX
Distribution: Debian
Posts: 17

Rep: Reputation: 0
The easiest (and most secure) way to do it is not to use pserver at all. Run sshd on your server machine, and on the client connect using the cvs :ext: method. For example:

cvs -d :ext:sandeepm@localhost:/cvs/cvsroot/mypr login

You might need to define the CVS_RSH environment variable, to tell cvs where your ssh binary is located:

export CVS_RSH=/usr/bin/ssh

That's all you need to do. Then as long as you've got SSH configured so you can login, you can login to CVS too.
 
Old 10-06-2004, 05:28 AM   #3
sm_it_101
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks

Thanks fro the reply ..
But i already found the solution for the problem

actually i made a mistake while creating the repository

the path to the repository should be exactly same to the variable in --allow-root
in the xinetd.conf file

and also this method provides a very reliable access with ssh there are other problems........
like some organisation do not allow ssh connections for security reasons
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
The error was: "DNS name does not exist." richcoosa19 Linux - Networking 3 01-28-2006 05:09 PM
Postgresql error FATAL: user "root" does not exist" cgetty Ubuntu 4 06-21-2005 03:11 PM
sendmail error 553 5.1.8 error "domain doesnot exist" kevinm2 Linux - Newbie 8 09-16-2004 01:39 AM
cvs wine. Unable to download. Error "cvs: command not found" gonus Debian 5 08-03-2004 08:13 PM
RH9 NIS login error: "home directory does not exist" airrr Linux - Networking 2 08-06-2003 02:47 PM


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

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration