info-cvs
[Top][All Lists]
Advanced

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

RE: [cvsgui] 'inetd.conf' File not Found after installing CVS


From: Gagneet Singh
Subject: RE: [cvsgui] 'inetd.conf' File not Found after installing CVS
Date: Sat, 20 Apr 2002 12:32:18 +0530

Hi!
  I had mentioned in my earlier letter that I was unable to connect to the
CVS Server, as I could not find the 'inetd.conf' file. Thanx for the help on
that, but I shall have to trouble you again in the following form. What can
be the trouble?

        Python 2.2.1 (#34, Apr  9 2002, 19:34:33) [MSC 32 bit (Intel)] on win32
        CVSROOT: address@hidden:/src/master/cvstest (password authentication)
        cvs login
        Logging in to :pserver:address@hidden:2401/src/master/cvstest
        cvs [login aborted]: connect to LinuxServer(LinuxServer):2401 failed: No
connection could        be made because the target machine actively refused it.

        *****CVS exited normally with code 1*****


  Could it be as I have as yet not made the 'passwd' file in
/src/master/cvstest/CVSROOT? If so, could you please guide me as to how to
do this and specially about how to put in the encrypted passwords. Also I
read mentioned someplace that the users for CVS cannot be the same as those
of the users on the *nix CVS Server machine. Is this true? If so what is the
solution for this?

Thanx

Gagneet

-----Original Message-----
From: Shannon Pedersen [mailto:address@hidden
Sent: Friday, April 19, 2002 23:06 PM
To: address@hidden
Cc: address@hidden
Subject: RE: [cvsgui] 'inetd.conf' File not Found after installing CVS
Sensitivity: Private


xinetd is what RH 7.2 uses instead of inetd.

Here's what I had to do:

First, you need to check that port 2401 is active for "cvspserver".  Go
to /etc/services to check.  In my file, I had listed

cvspserver      2401/tcp                        # CVS client/server
operations
cvspserver      2401/udp                        # CVS client/server
operations

If this isn't there, I believe you can edit the file to include it (but
I didn't have to do this).

Then, you need to tell xinetd to use cvspserver.  Go to /etc/xintd.d and
copy one of the existing files to "cvspserver" in the same directory.
Edit it to read something like this (server reflects where cvs is
installed, and server_args is where your CVSROOT is):

{
        socket_type             = stream
        protocol                = tcp
        wait                    = no
        user                    = root
        passenv                 = PATH
        server                  = /usr/bin/cvs
        server_args             = -f --allow-root=/var/cvswell pserver
}

Once you've saved that file, then type the following at the prompt:
chkconfig cvspserver on

You can check that it is working by typing:
chkconfig --list |grep pserver

And it should list that cvspserver is on.

After I did all this, WinCVS connected just fine.

HTH
-shannon pedersen




> -----Original Message-----
> From: Gagneet Singh [mailto:address@hidden
> Sent: Friday, April 19, 2002 12:30 AM
> To: address@hidden
> Subject: [cvsgui] 'inetd.conf' File not Found after installing CVS
> Sensitivity: Private
>
>
> Hi!
>   I am a newbie to CVS and have downloaded and installed the version
> cvs-1.11.1p1 on a RedHat Linux 7.2 Distribution machine. Reading the
> instructions I have come across the mention of the file
> 'inetd.conf' and the
> service 'inetd'. Unfortunately both these cannot be found in
> the intended
> folder - '/etc' & '/etc/init.d'.




reply via email to

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