public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* inetd - rsyncd does not get registered?
@ 2002-01-13 14:42 Jari Aalto+mail.linux
  2002-01-13 17:05 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Jari Aalto+mail.linux @ 2002-01-13 14:42 UTC (permalink / raw)
  To: cygwin


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@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@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@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@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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: inetd - rsyncd does not get registered?
  2002-01-13 14:42 inetd - rsyncd does not get registered? Jari Aalto+mail.linux
@ 2002-01-13 17:05 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2002-01-13 17:05 UTC (permalink / raw)
  To: cygwin

On Mon, Jan 14, 2002 at 12:44:00AM +0200, Jari Aalto+mail.linux wrote:
> 
> 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@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

The problem is probably that an `rsync' service isn't registered 
in the systems services file

  $windir/system32/drivers/etc/services

on NT/2K/XP or

  $windir/SERVICES

on 9x/Me.

Add the lines

  rsync           873/tcp                 # rsync
  rsync           873/udp                 # rsync

to that file and try again.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-13 22:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-13 14:42 inetd - rsyncd does not get registered? Jari Aalto+mail.linux
2002-01-13 17:05 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).