Solved

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

Posted on 2001-07-08
3
335 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
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 20

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Move nodes from one TSM to another. 3 86
AIX 5.x set up arrow to recall 11 58
How to clone solaris 10 machine 33 145
awk sed 8 63
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…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

790 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