Sign in to follow this  
Tradone

FreeBSD rsync daemon trouble!

Recommended Posts

So I find a nice newb guide on rsync daemon. http://www.freebsddiary.org/rsync.php However, I fail. and this is where I fail...
#edit /usr/local/etc/rsyncd.conf
uid             = rsync
gid             = rsync
use chroot      = no
max connections = 4
syslog facility = local5
pid file        = /var/run/rsyncd.pid
[kaomany]
        path    = /da4/kaomany/httpdocs
        comment = website kaomany


#/usr/local/bin/rsync --daemon
#edit /var/log/messages
rsyncd[533]: unable to bind any inbound sockets on port 873 
apollo rsyncd[533]: rsync error: error in socket IO (code 10) at socket.c(448)
Can somebody please help me? I have no clue.

Share this post


Link to post
Share on other sites
Under linux you have an /etc/services file where you need to add programs/ports. Is there something similar under FreeBSD? If so, is rsync in there?

Share this post


Link to post
Share on other sites
yes under freeBSD we also have /etc/services where we add programs/ports.
I did "SEE" rsync in there.

concert 786/tcp
concert 786/udp
mdbs_daemon 800/tcp
mdbs_daemon 800/udp
device 801/tcp
device 801/udp
supfilesrv 871/tcp # for SUP
rsync 873/tcp
rsync 873/udp

accessbuilder 888/tcp
accessbuilder 888/udp
swat 901/tcp # samba web configuration tool
rndc 953/tcp # named's rndc control socket

but it was in a list among many many other programs, maybe I need to somehow activate them?

Share this post


Link to post
Share on other sites
Somehow I managed to get it to work.

I'm not sure but I think these error messages meant that the rsync daemon was
already running on the port..

rsyncd[533]: unable to bind any inbound sockets on port 873
apollo rsyncd[533]: rsync error: error in socket IO (code 10) at socket.c(448)

Share this post


Link to post
Share on other sites
Sign in to follow this