[openbeosnetteam] Re: DAEMON 'rsyncd'[230]: rsyncd version 2.6.9 starting, listening on port 873

"Kaoutsis" <kaoutsis@xxxxxx> wrote:
> DAEMON 'rsyncd'[230]: bind() failed: Permission denied (address-
> family 
> 1)
> DAEMON 'rsyncd'[230]: unable to bind any inbound sockets on port 873

This hints to a problem in whatever protocol the daemon is using 
(probably TCP).
Possibly, it doesn't set the sockaddr::sa_len member correctly, which 
our TCP doesn't like at this point.

> b) How the rsync program started automatically?
> i have not made any special settings, and the
> executable is sitting to /boot/beos/bin folder?
> How this happens?

You can automatically start the server using a "services" settings file 
in /boot/common/config/settings/network/
The file contents could look like this:

service {
        name    rsync
        launch  rsyncd
        protocol        tcp
        port            873
}

For telnetd, it could look like this:

service {
        name    telnet
        launch  telnetd
}

(as telnet is a well-known service, see src/kits/network/dns/defaults/
services)

Bye,
   Axel.


Other related posts: