[Top][All Lists]

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

Fedora 2, xinetd problem: connection refused

From: Johnny Wang
Subject: Fedora 2, xinetd problem: connection refused
Date: Sun, 30 Jan 2005 13:25:27 -0800

Hi, I've been struggling this for two days now, seems all is done correctly, but somehow it still doesn't work. I'm trying to setup CVS (version 1.11.17 in Fedora 2) to allow remote pserver access. It all works fine locally, but I couldn't get xinetd to listen on 2401, symptoms:

(1) when I telnet to 2401, I got "Could not open connection to the host, on port 2401: connection failed" (2) If I do "cvs -d:pserver:address@hidden/tar/cvsroot/ login", I got "cvs [login aborted]: connect to failed: Connection refused" (3) If I do "chkconfig --list", it lists "cvspserver on" as services uner xinted
(4) iptables is empty

I've done the following:
(1) added cvspserver to /etc/xinet.d/ that contains:
service cvspserver
      disable         = no
      socket_type     = stream
      protocol        = tcp
      wait            = no
      user            = root
      env             = HOME=/var/cvsroot
      passenv         =
      server          = /usr/bin/cvs
      server_args     = --allow-root=/var/cvsroot pserver
(2) /etc/services does contain "cvspserver    2401/tcp" and for udp.
(3) restarted xinet.d with /etc/init.d/xinetd restart

I couldn't think of anything that will prevent the service on port 2401, any suggestions? I'm
completely lost at the moment. Really appreciate it.

reply via email to

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