[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cvs login fails (connection refused) - why?

From: joeshmoeisnotavailable
Subject: cvs login fails (connection refused) - why?
Date: Mon, 24 Dec 2007 11:49:18 -0800 (PST)
User-agent: G2/1.0

I am trying to setup a CVS server on a Fedora Core 8 Linux box.

In order to enable the cvs pserver, I basically modified /etc/xinetd.d/
cvs to contain:

service cvspserver
        disable         = no
        port            = 2401
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = cvsroot
        passenv         =
        server          = /usr/bin/cvs
        env             = HOME=/home/cvsroot
        server_args     = --allow-root=/home/cvsroot -f pserver
        log             = /var/log/cvslog
        id              = cvspserver
#       bind            =

I also configured the firewall to allow both tcp and udp on port 2401

I also created in $CVSROOT/CVSROOT the password file, passwd.

On the Windows (XP) client, I added the environment variables;

LOGNAME = joeshmoe
CVSROOT = :pserver:address@hidden:/home/cvsroot

I then try to do cvs login from the client:

~> cvs login
Logging in to :pserver:address@hidden:2401/home/cvsroot
CVS password:

But when I type the password (which I triple-verified!), cvs login
simply fails:

cvs.exe [login aborted]: connect to
failed: Connection timed out

My questions is: How do I troubleshoot such a problem? How do I know
why it failed and how to fix it?

BTW, I tried telnet 2401 but all I receive in response is:

Connecting To not open connection to the host,
on port 2401: Connect failed

What does this mean? Is it possible that something totally unrelated
to cvs blocks this connection? SELinux perhaps? How do I find out?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]