• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 352
  • Last Modified:

cygwin : cvs import giving error when trying to create a project

Hi All,

I am trying to use cvs on cygwin.  I am using windows 2000 and I have
set my CVSROOT to "localhost:c:\CVS".

when I execute the following command on the bash shell I get the
following connection error"

***  start of command and error ***********
$ cvs import -m "work" cad/java work start
> JOHNNY:Connection refused
cvs [import aborted]: end of file from server (consult above messages if any)
**** end of command and error *************


"JOHNNY" is the name of my computer. Does anyone know what is causing
this?

Thanks,

Johnny
0
xxxJohnnyBlaze
Asked:
xxxJohnnyBlaze
1 Solution
 
gmancusoCommented:
Since nobody's offered up any solutions, let me hazard a guess...

The last time I used cvs, I was using a local repository just as you are (except not with cygwin).
You don't have to specify a host, so try setting CVSROOT to c:\CVS.
Or, use the "cygdrive" path:  CVSROOT=/cygdrive/c/CVS

The "Connection refused" error sounds like there's no daemon (i.e. CVS server) running on the appropriate port to connect to.  I'm no CVS master, but I'll bet there's a cvs daemon, or an entry in /etc/inetd.conf that you you need to set up for cvs requests over the network (even requests from localhost are considered network requests)
0
 
tfewsterCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation for this question in the Cleanup topic area as follows:
- Answered by gmancuso
Please leave any comments here within the next 7 days

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

tfewster (I don't work here, I'm just an Expert :-)
0
 
moduloCommented:
Finalized as proposed

modulo

Community Support Moderator
Experts Exchange
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now