FW: [SLE] CVS connection refused

From: Jason Lim (jason_at_abu.org.my)
Date: 03/31/04

  • Next message: Thibaut Cousin: "Re: [SLE] k3b and kernel questions"
    To: <suse-linux-e@suse.com>
    Date: Wed, 31 Mar 2004 15:37:05 +0800
    
    

    I have change my xinetd/cvs according to your suggestion with xinetd restart
    or reboot the Suse box but the problem still remain.

            jason@tux:/var/log> telnet 10.10.10.24 2401
            Trying 10.10.10.24...
            telnet: connect to address 10.10.10.24: Connection refused

            
            /var/log/messages
            Mar 31 14:39:33 tux sudo: jason : TTY=pts/0 ; PWD=/var/log ;
    USER=root ; COMMAND=/usr/bin/vi messages
            Mar 31 14:40:00 tux sudo: jason : TTY=pts/0 ; PWD=/var/log ;
    USER=root ; COMMAND=/etc/init.d/xinetd restart
            Mar 31 14:40:00 tux xinetd[852]: Exiting...
            Mar 31 14:40:00 tux xinetd[1306]: xinetd Version 20030122 started
    with libwrap loadavg options compiled in.
            Mar 31 14:40:00 tux xinetd[1306]: Started working: 3 available
    services
            Mar 31 14:40:05 tux sudo: jason : TTY=pts/0 ; PWD=/var/log ;
    USER=root ; COMMAND=/usr/bin/vi message
            
    I can't find any log files related to cvs in my /var/log folder beside
    xinetd restarted.

    Below is my /etc/xinetd.d/cvs attach.

    # CVS pserver (remote acces to your CVS repositories)
    # Please read the section on security and passwords in the CVS manual,
    # before you enable this.
    # default: off

    service cvspserver
    {
            disable = no
            socket_type = stream
            protocol = tcp
            wait = no
            user = cvs
            port = 2401
            server = /usr/bin/cvs
            server_args = -f --allow-root=/home/cvsroot pserver

    }

    -----Original Message-----
    From: Alin Dobre [mailto:alin.dobre@ravantivirus.com]
    Sent: Wednesday, March 31, 2004 2:23 PM
    To: Jason Lim; SuSE Linux Mailing List (SLE)
    Subject: Re: [SLE] CVS connection refused

       Hello,

    Jason Lim wrote:
    > Hi,
    >
    > I also try this before and seem to be no luck for me.
    >
    > Anyway, /etc/services already have this 2401 open.

    In /etc/services there are only defined the associations between ports
    and names, but not "opened". Still, the port number must be defined in
    the /etc/xinetd/cvs, either with its name (defined in /etc/services) or
    with its number (when you don't wanna depend with /etc/services).

    >
    > I'm believed this must be related to my port opening and cvs services was
    > not start properly.

    Is there anything related with the cvs xinetd service in the log files?

    >
    > Thanks.
    >
    >
    >
    > -----Original Message-----
    > From: Alin Dobre [mailto:alin.dobre@ravantivirus.com]
    > Sent: Wednesday, March 31, 2004 1:56 PM
    > To: Jason Lim
    > Subject: Re: [SLE] CVS connection refused
    >
    > Hello,
    >
    > You must set in your cvspserver xinetd configuration file:
    > port = 2401
    > and then restart:
    > /etc/init.d/xinetd restart
    >
    > Regards,
    > Alin.
    >
    > Jason Lim wrote:
    >
    >>Hi,
    >>
    >>
    >>
    >>Below is the configuration of my CVS
    >>
    >>
    >>
    >>/etc/xinetd.d/cvs
    >>
    >>service cvspserver
    >>
    >>
    >>
    >>{
    >>
    >> disable = no
    >>
    >> socket_type = stream
    >>
    >> protocol = tcp
    >>
    >> wait = no
    >>
    >> user = cvs
    >>
    >> server = /usr/bin/cvs
    >>
    >> server_args = -f --allow-root=/var/cvsroot pserver
    >>
    >>}
    >>
    >>
    >>
    >>Suse Linux 2.4.20-64GB-SMP #1 SMP Sat Feb 7 02:07:52 UTC 2004 i686 unknown
    >>unknown GNU/Linux
    >>
    >>
    >>
    >>/var/cvsroot/CVSROOT/passwd (created by /usr/sbin/htpasswd)
    >>
    >>myusername:KjsaTw4EW0MQM:cvs
    >>
    >>
    >>
    >>export CVSROOT=:pserver:myusername@10.10.10.2:/var/cvsroot
    >>
    >>export EDITOR=vi
    >>
    >>
    >>
    >>-restart the server
    >>
    >>
    >>
    >>-run command 'netstat -a |grep LISTEN' but cannot find any cvspserver or
    >>port 2401
    >>
    >>
    >>
    >>- try with cvs login enter the password
    >>
    >>myusername@tux:/var/cvsroot/CVSROOT> cvs login
    >>
    >>
    >>
    >>(Logging in to myusername@10.10.10.2)
    >>
    >>CVS password:
    >>
    >>cvs [login aborted]: connect to 10.10.10.2:2401 failed: Connection refused
    >>
    >>
    >>
    >>
    >>
    >>
    >>
    >>PLEASE HELP!
    >>
    >>
    >>
    >>
    >>
    >>
    >>
    >>
    >>
    >>
    >>
    >>Thanks in advanced
    >>
    >>
    >>
    >>
    >>
    >>
    >>
    >>
    >>
    >>
    >>
    >>- Jason Lim
    >>
    >>
    >>
    >>
    >>
    >>
    >
    >

    -- 
    Alin DOBRE
    Technical Support Engineer - RAV Division
    mailto:alin.dobre@ravantivirus.com
    Tel./Fax: +40-21-321.78.03  Hotline: +40-21-321.78.59;
    http://www.ravantivirus.com
    Worry less! RAV is watching.
    ---------------------------
    This message is confidential. It may also be privileged or otherwise 
    protected by work product immunity or other legal rules. If you have 
    received it by mistake please let us know by reply and then delete it 
    from your system; you should not copy the message or disclose its 
    contents to anyone.
    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Thibaut Cousin: "Re: [SLE] k3b and kernel questions"

    Relevant Pages

    • Re: server connection problems
      ... > I recently installed Red Hat 9 to use as a server for CVS. ... > telnet deamon is not running (acording to my netstat the port is ... Whenever you make changes to a service controlled via xinetd, ... > sshd to use only keys and no passwords to authenticate, ...
      (RedHat)
    • RE: Port 2401 & CVS
      ... Does it have any relation with samba configuration? ... windows PC to the CVS repository but I still can't access via cvs ... Have I to configure cvs to make log files or there's a default place ... I've tried to connect with the cvspserver configured as the description ...
      (RedHat)
    • Re: aide 0.9, anybody
      ... Rami, on freebsd-security I reported problems getting aide-0.9 to ... submitted a port for aide-0.9. ... mostly on the CVS version. ...
      (FreeBSD-Security)
    • Re: Survey question re sourceforge & cvs
      ... Now how many of you have used the current fc6 version of cvs ... traceroutes to sourceforge are delayed many seconds at the ... Yeah, sure, it's right in the TOS that port 80 is blocked. ... not on outbound connections - there is a differentiation called source ...
      (Fedora)
    • Re: CVS checkout behind firewall proxy
      ... > I'm trying to do a cvs checkout from a debian beast on the company ... > I'm connected to the internet via a proxy firewall. ... Get the admins to open that port. ... network that then translates the traffic over to port 2401. ...
      (Debian-User)