delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/13/17:33:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: posting-list AT MailAndNews DOT com (Jari Aalto+mail.linux)
To: cygwin AT cygwin DOT com
Subject: inetd - rsyncd does not get registered?
Keywords: usr,rsync,root,bin,inetd,server,local,wait
X-Sender-Info: Emacs resources http://tiny-tools.sourceforge.net/
http://home.eu.org/~jari/homepage.html. ICQ 'jari-aalto' 82313129
PGP 2.6.x keyid 47141D35 http://www.pgpi.net/
Date: Mon, 14 Jan 2002 00:44:00 +0200
Message-ID: <lmf1kh1r.fsf@blue.sea.net>
Lines: 37
User-Agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/20.7 (i386-*-nt5.0.2195)
(i386-*-nt5.0.2195)
MIME-Version: 1.0

Can anyone see why inetd isn't accepting the rsync server
connections? Notice the "FREE" statemetn in listing, which
I assume means that service is not registered in inetd.

    //root AT W2KPICASSO /usr/bin $ inetd -d
    ...
    ADD : talk proto=udp, wait=1, user=root builtin=0 server=/usr/sbin/in.talkd
    registered /usr/sbin/in.talkd on 19
    ADD : ntalk proto=udp, wait=1, user=root builtin=0 server=/usr/sbin/in.talkd
    registered /usr/sbin/in.talkd on 20
    ADD : rsync proto=tcp, wait=0, user=root builtin=0 server=/usr/local/bin/rsync
    FREE: rsync proto=tcp, wait=0, user=root builtin=0 server=/usr/local/bin/rsync

I have /etc/inetd.conf

    # see rsyncd.conf(5)s

    rsync stream  tcp    nowait      root /usr/local/bin/rsync rsyncd --daemon

Which should be okay:

    //root AT W2KPICASSO /usr/bin $ ls -l /usr/local/bin/rsync 
    -rwxr-xr-x    1 root     None       199175 Jan 19  2001 /usr/local/bin/rsync

The Linux Redhat says:

    [root AT conde ~/.ssh/config ]# rsync -v -v -v 10.0.0.2::
    failed to connect to 10.0.0.2 - Connection refused

And nothing happens in the "inetd -d" listing. If I manually start:

    //root AT W2KPICASSO /usr/bin $ rsync --daemon
    
Everything rocks, so the problem is inetd. Any help is welcome.

Jari


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019