Find the answer to your Linux question:
Results 1 to 3 of 3
hi I am trying to install the cvs server for the first time on centos , the sercive xinetd seems to start. but when i try to connect to the ...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    6

    cvs installation problem

    hi
    I am trying to install the cvs server for the first time on centos , the sercive xinetd seems to start. but when i try to connect to the server using this command
    cvs -t -d server
    it prompts for the password once i enter the password it gives me the error
    cvs : Connection refused

    secondly if i telnet to the port 2401 it gives
    Trying 10....
    telnet: Unable to connect to remote host: Connection refused


    i checked the if the port is up by netstat-tulpn /netstat -na
    didnt show me the port 2401

    please help

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Did you enable telnet and cvs? Look in /etc/xinetd.d for the files 'telnet' and 'cvs'. They contain something like this (from my /etc/xinetd.d/cvs file):
    Code:
    # default: off
    # description: The CVS service can record the history of your source \
    #              files. CVS stores all the versions of a file in a single \
    #              file in a clever way that only stores the differences \
    #              between versions.
    service cvspserver
    {
            disable                 = yes
            port                    = 2401
            socket_type             = stream
            protocol                = tcp
            wait                    = no
            user                    = root
            passenv                 = PATH
            server                  = /usr/bin/cvs
            env                     = HOME=/var/cvs
            server_args             = -f --allow-root=/var/cvs pserver
    #       bind                    = 127.0.0.1
    }
    As you can see, it is disabled. Change the line "disable = yes", to "disable = no" to enable it. Ditto the telnet file.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Mar 2010
    Posts
    6

    unable to authenticate

    hi thanx for the reply i got cvs working the problem i am facing now is that i am unable to authenticate a user.
    if i create the file passwd in the CVSROOT directory with the entry of the users then it authnticates but if i delete the file paswd from CVSROOT then it doesnt allow access to the user.
    i have enables system authentication in the config file in CVSROOT but still , if the file passwd is not present it should do system authentication
    kindly help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...