This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: inetd - rsyncd does not get registered?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]