Hello - I am attempting to test rsync on a series of 8 MacOS X servers. On my initial test, I configured one machine as the "sender" and one machine to "receive." On the "sending" machine, I created an rsyncd.conf file. On the "receiving" machine, I issued the command rsync --daemon To which I got no error messages. On the "sending" machine, I typed: [nc-40:~] admin% rsync --verbose --stats --progress --recursive www.myhost.org::home/ mydir Where "home" is defined in the "sending" machines rsyncd.conf file. I get the following message after rsync fails to do anything: rsync: failed to connect to www.myhost.org: Connection refused rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-12/rsync/clientserver.c(83) Should rysnc show up in the process list when running in daemon mode? After I type "rsync --daemon" and then run "ps | grep rsync" nothing appears. Thanks in advance for any suggestions. Patrick Larkin Bethlehem Area School District
I'm sorry. I wrote the message incorrectly. I have the configured rsyncd.conf file on the receiving machine. On Jun 2, 2004, at 4:10 PM, Patrick Larkin wrote:> Hello - > > I am attempting to test rsync on a series of 8 MacOS X servers. On my > initial test, I configured one machine as the "sender" and one machine > to "receive." > > On the "sending" machine, I created an rsyncd.conf file. On the > "receiving" machine, I issued the command > > rsync --daemon > > To which I got no error messages. > > On the "sending" machine, I typed: > > [nc-40:~] admin% rsync --verbose --stats --progress --recursive > www.myhost.org::home/ mydir > > Where "home" is defined in the "sending" machines rsyncd.conf file. > > I get the following message after rsync fails to do anything: > > rsync: failed to connect to www.myhost.org: Connection refused > rsync error: error in socket IO (code 10) at > /SourceCache/rsync/rsync-12/rsync/clientserver.c(83) > > > Should rysnc show up in the process list when running in daemon mode? > After I type "rsync --daemon" and then run "ps | grep rsync" nothing > appears. > > Thanks in advance for any suggestions. > > > Patrick Larkin > Bethlehem Area School District > > -- > To unsubscribe or change options: > http://lists.samba.org/mailman/listinfo/rsync > Before posting, read: > http://www.catb.org/~esr/faqs/smart-questions.html > >Patrick Larkin Bethlehem Area School District
On Wed, Jun 02, 2004 at 04:10:38PM -0400, Patrick Larkin wrote:> rsync --daemon > To which I got no error messages.You'll need to check to see if the daemon is really running, and if not, check the log file (e.g. syslog) to see why not (the above command exits without a visible error no matter what). You can use --no-detach during the initial getting-it-right period to more easily tell if the daemon is still running -- once you get it working, Ctrl-C it and run it without the --no-detach option. ..wayne..