Dear Sir:

I am using RedHat LINUX 7.00 version.    When I try to login to CVS server
by using cvspserver
login, I got the "2401 failed" messages.  Please see the following trace
messages:
===========================================================
[jhsieh@sitara]% cvs -d
:pserver:[EMAIL PROTECTED]:/home/jhsieh/CVS login
Logging in to :pserver:[EMAIL PROTECTED]:2401/home/jhsieh/CVS
CVS password: 
cvs [login aborted]: connect to sitara.metroncomm.com(63.110.69.160):2401
failed: Connection refused
[jhsieh@sitara]% 
====================================================================


The /etc/services are defined correctly as follows:
cvspserver      2401/tcp                        # CVS client/server
operations
cvspserver      2401/udp                        # CVS client/server
operations

The /etc/xinetd.d/cvspserver deines cvspserver as follows:
service cvspserver
{
        socket_type             = stream
        protocol                = tcp
        wait                    = no
        user                    = root
        id                      = cvspserver
        passenv                 = /home/jhsieh/CVS
        log_type                = FILE /var/log/xinetdlog
        port                    = 2401
        log_on_failure          += USERID
        server                  = /usr/bin/cvs
        server_args             = -f --allow-root=/home/jhsieh/CVS pserver
        log_on_success          += USERID DURATION
        log_on_failure          += HOST USERID
        disable                 = no
}


When I verify the log message from /var/log/messages, I found the following
messages:
===========================================================
May  7 14:38:40 sitara xinetd[1841]: Service cvspserver^M missing attribute
socket_type
May  7 14:38:40 sitara xinetd[1841]: Service cvspserver^M missing attribute
user
May  7 14:38:40 sitara xinetd[1841]: Service cvspserver^M missing attribute
server
===========================================================

The log messages explain when xinetd.d start cvspserver, xinetd cannot read
socket_type,
user and server from /etc/xinetd.d/cvspserver.

Does anyone know why cvspserver missing attribute on socket_type,user and
server ?
Please advise,   thanks....

John Hsieh





_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to