LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Connection refused to CVS (https://www.linuxquestions.org/questions/linux-newbie-8/connection-refused-to-cvs-52004/)

tawsie 03-27-2003 07:51 AM

Connection refused to CVS
 
Hi there,

I'm trying to set up a CVS server on a Redhat 7.2 machine and connect to it from my windows box.

I have set up a cvs user and group and I ran

cvs -d /usr/local/cvs init

to initialise the CVS directory and gave the cvs user and group ownership of this directory. Then I put the following line in /etc/inetd.conf

cvspserver stream tcp nowait root /usr/bin/cvs cvs --allow-root=/cvs pserver

and made sure that cvspserver 2401/tcp was in /etc/services.

Then I restarted and tried to test it with

cvs -d :pserver:cvs@localhost.localdomain:2401:/usr/local/cvs login

It asks for the password then gives a cvs [login aborted]: connect to ... failed: Connection refused. I tried connecting through wincvs and the same thing happens.

So I did a search on these forums and found http://www.linuxquestions.org/questi...ht=cvs+pserver . I tried setting it up this way with the same results.

I don't really know the difference between inetd and xinetd. I'm just a bit lost really so does anyone have any idea what the problem could be?

Thanks.

mayankjohri 04-30-2003 09:03 AM

did u started the CVS SERVER. check the doc section of http://www.geocities.com/funmaya/ for more details

tawsie 04-30-2003 09:26 AM

Thanks for that.

My question was old but the next time I need to do this I'll take a look.

Shawn Snodgrass 07-17-2003 03:28 PM

What was the solution
 
What was the solution.

Shawn

mayankjohri 07-18-2003 11:16 AM

There are two possibilities to the problem.
1. CVS server is not running
2. Firewall is blocking the access to CVS server

try them and inform me


All times are GMT -5. The time now is 09:37 PM.