LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-13-2009, 09:16 AM   #1
Talon21
LQ Newbie
 
Registered: Nov 2005
Posts: 18

Rep: Reputation: 0
CVS Installation


Hi everyone I've installed a CVS on my VPS (Debian) using this guide

http://www.debian-administration.org/articles/72

After I completed the installation i try to connect to the CVS using Eclipse, and I'm keep getting the error:

"connection refused: cvs [pserver aborted]: /home/cvs/: no such repository"

What should I do?

Thanks
 
Old 02-13-2009, 11:11 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

1. First verify that you can use CVS from the command line.
Here's a good link, you can find many others in Google:

http://www-mrsrl.stanford.edu/~brian/cvstutorial/
<= Just try a few simple commands to verify that your installation "works"
In particular, make sure you can do a "pserver logon"
Quote:
cvs -d server:bach@faun:/usr/local/cvsroot login
CVS password:
<= substitute your actual username and hostname for "bach@faun", and your actual path for "/usr/local/cvsroot"

2. OK, the next step is to see if Eclipse is correctly configured:

http://www.fsl.cs.sunysb.edu/~dquigl...eclipse&tt=cvs
http://showmedo.com/videos/video?nam...ithJava4_JohnM
http://ist.berkeley.edu/as-ag/tools/...pse-setup.html
<= Again, you can Google for many other links
They all cover the same basic material - choose whichever works best for you!

In particular, make sure you've configured your repository and pserver logon :
Quote:
# Go to Eclipse's CVS Perspective (Window:Open Perspective:CVS Repository Exploring)
# Right-click to set up a New:Repository Location
# Fill in the blanks:

* Host : <<YOUR HOST>>
* Repository path: <<WHERE YOU INSTALLED CVS>>
* User: <<YOUR CVS USERNAME>>
* Password:
* Connection type: pserver
* Use Default Port: 2401
* Validate Connection On Finish: checked
3. Finally, there might be connectivity issues between your Eclipse client and your CVS server (for example, a firewall might be blocking the "pserver" port 2401).

Please briefly glance at these links (no more than 15 minutes!), and please verify your basic CVS install and basic Eclipse configuration.

If this doesn't work, please post back - we'd be happy to help.

If it *does* work, please post back and let us know what resolved the problem.

Good luck .. PSM

Last edited by paulsm4; 02-13-2009 at 11:20 AM.
 
Old 02-13-2009, 01:34 PM   #3
Talon21
LQ Newbie
 
Registered: Nov 2005
Posts: 18

Original Poster
Rep: Reputation: 0
Hi

Thank you very much for the informative replay, I have manage to connect to the CVS using this guide: http://www.fsl.cs.sunysb.edu/~dquigl...eclipse&tt=cvs

I'm now connecting using extssh, is that's good? what is the difference between extssh and pserver? Any way when I try to share a project in eclipse (TEAM > Commit) I can't see the project in the Repository window.
 
Old 02-13-2009, 02:02 PM   #4
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -


Cool!

If I'm understanding you correctly, you've already resolved these two steps:

1) verify your CVS installation
3) verify CVS connectivity between your client and your CVS server (if they're not on the same machine)
Correct?

The remaining step is to configure Eclipse to talk to your server. Per your original post, Eclipse thinks you're using "pserver", and your remote CVS is in "/home/cvs":
Quote:
"connection refused: cvs [pserver aborted]: /home/cvs/: no such repository"
"Pserver" is the original CVS protocol; by default, it uses port 2401.

"Extssh" is a different protocol, it's arguably much better.

These links should help:

http://wiki.eclipse.org/index.php/CVS_FAQ
http://www.fsl.cs.sunysb.edu/~dquigl...eclipse&tt=cvs


'Hope that helps .. PSM
 
Old 02-13-2009, 02:18 PM   #5
Talon21
LQ Newbie
 
Registered: Nov 2005
Posts: 18

Original Poster
Rep: Reputation: 0
tal@vps:/home/cvs$ CVSROOT=/home/cvs/
tal@vps:/home/cvs$ cvs -d /home/cvs init
tal@vps:/home/cvs$ echo $CVSROOT
/home/cvs/

but for some reason the in eclipse the HEAD is empty
 
Old 02-14-2009, 03:06 AM   #6
Talon21
LQ Newbie
 
Registered: Nov 2005
Posts: 18

Original Poster
Rep: Reputation: 0
This is very odd I follow this tutorial : http://www.fsl.cs.sunysb.edu/~dquigl...eclipse&tt=cvs

it's supposed to be easy I'm able to connect to the CVS using eclipse but the HEAD is empty I can't see the CVSROOT folder
 
Old 02-14-2009, 11:57 AM   #7
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

It *sounds* like you've got everything configured correctly, I'm not sure what the problem is.

You've checked in at least one project, haven't you? (You can do this from the Eclipse GUI). Each file in each project will have a "HEAD"; you won't see a "HEAD" unless something has been checked in.

Here's one more tutorial (with lots of great screen shots). It's "pserver" (instead of "extssh"), but it might help:

https://eclipse-tutorial.dev.java.ne...ial/part2.html
 
Old 02-14-2009, 12:25 PM   #8
Talon21
LQ Newbie
 
Registered: Nov 2005
Posts: 18

Original Poster
Rep: Reputation: 0
Ya I have checked the new project but still it didn't appear in the Head.
 
Old 02-14-2009, 01:56 PM   #9
Talon21
LQ Newbie
 
Registered: Nov 2005
Posts: 18

Original Poster
Rep: Reputation: 0
When I import a new project in Eclipse (File Import) and selecting my CVS, I can see my projects.
Is that means that the CVS is working?
 
Old 02-14-2009, 02:16 PM   #10
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
HI -

Yup - that's exactly what it means!

It sounds like you got things squared away - congratulations!
 
Old 02-15-2009, 01:22 AM   #11
Talon21
LQ Newbie
 
Registered: Nov 2005
Posts: 18

Original Poster
Rep: Reputation: 0
Alright! Thank you for your support!
 
  


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
cvs repository cvs-1.11.21.tar.gz installation problem on redhat 5 linux version ajaytiwary Linux - Newbie 1 09-30-2007 12:58 PM
CVS Installation messed up shaheen Linux - Software 3 09-28-2005 01:31 AM
ppp CVS installation error jplev22 Linux - Networking 1 03-22-2004 08:44 AM
cvs-installation with gssapi grubjo Linux - General 0 03-21-2003 06:40 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:42 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
Open Source Consulting | Domain Registration