LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-27-2003, 07:51 AM   #1
tawsie
LQ Newbie
 
Registered: Jan 2003
Location: UK
Posts: 5

Rep: Reputation: 0
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.
 
Old 04-30-2003, 09:03 AM   #2
mayankjohri
Member
 
Registered: Mar 2002
Location: INDIA
Distribution: Mandrake Linux 9.2, Knoppix 3.0
Posts: 158

Rep: Reputation: 30
did u started the CVS SERVER. check the doc section of http://www.geocities.com/funmaya/ for more details
 
Old 04-30-2003, 09:26 AM   #3
tawsie
LQ Newbie
 
Registered: Jan 2003
Location: UK
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for that.

My question was old but the next time I need to do this I'll take a look.
 
Old 07-17-2003, 03:28 PM   #4
Shawn Snodgrass
LQ Newbie
 
Registered: Jul 2003
Location: Atlanta
Distribution: RedHat
Posts: 1

Rep: Reputation: 0
What was the solution

What was the solution.

Shawn
 
Old 07-18-2003, 11:16 AM   #5
mayankjohri
Member
 
Registered: Mar 2002
Location: INDIA
Distribution: Mandrake Linux 9.2, Knoppix 3.0
Posts: 158

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Socket Connection Failed: 111 Connection Refused degraffenried13 Linux - General 3 05-31-2009 01:17 AM
ircd.conf: "Connection failed. Error: Connection refused" hamish Linux - Software 3 03-10-2005 07:23 AM
lp filename yields "cannot open connection to localhost - Connection refused" jjge Linux - General 3 12-28-2003 11:02 PM
Gnome CVS : Connection refused AxeZ Linux - General 0 09-14-2003 05:05 PM
cvs server connection refused mindcry Linux - Software 0 07-14-2003 05:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration