Solved

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

Posted on 2001-07-08
3
337 Views
Last Modified: 2010-04-21
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
Comment
Question by:xxxJohnnyBlaze
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Accepted Solution

by:
gmancuso earned 50 total points
ID: 6274372
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
 
LVL 21

Expert Comment

by:tfewster
ID: 7705233
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
 

Expert Comment

by:modulo
ID: 7757507
Finalized as proposed

modulo

Community Support Moderator
Experts Exchange
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question