info-cvs
[Top][All Lists]
Advanced

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

CVS /etc/xinetd.conf question


From: John Hsieh
Subject: CVS /etc/xinetd.conf question
Date: Mon, 7 May 2001 14:41:42 -0700

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:
===========================================================
address@hidden cvs -d
:pserver:address@hidden:/home/jhsieh/CVS login
Logging in to :pserver:address@hidden:2401/home/jhsieh/CVS
CVS password: 
cvs [login aborted]: connect to sitara.metroncomm.com(63.110.69.160):2401
failed: Connection refused
address@hidden 
====================================================================


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







reply via email to

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