Improve company productivity with a Business Account.Sign Up

x
?
Solved

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

Posted on 2001-07-08
3
Medium Priority
?
349 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 200 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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

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…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
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…

606 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