My rsync server is not syncing with one of my client servers. When I run the following command: rsync -av projects.informs.com:var/lib/mysql /home/portalsbackup/informs/ I get the following error message: projects.informs.com: Connection refused rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(150) I dont' understand because I can ps -aux | grep rsync and I can see the rsync daemon running. Anyone have any ideas?
On Thu, May 26, 2005 at 04:52:25PM -0500, Jason King wrote:> rsync -av projects.informs.com:var/lib/mysql /home/portalsbackup/informs/ > I dont' understand because I can ps -aux | grep rsync and I can see the > rsync daemon running. Anyone have any ideas?You aren't trying to talk to the rsync daemon, you're trying to connect via a remote shell. Remember that an second -v is always enough to see what rsync is trying to do -- i.e. if it is running a remote shell or opening a port to an rsync daemon. See the man page for the daemon syntax (look for the double colons): http://rsync.samba.org/ftp/rsync/rsync.html You'll also need to use a module name in that command (unless "var" was a module name listed in the daemon's config file). ..wayne..
Possibly Parallel Threads
- [Bug 11414] New: rsync: chgrp "/.filename.5afK5X" (in dirdir) failed: Operation not permitted (1)
- rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
- rsync ing files within an apache cluster - newbie
- request: add TCP buffer options to rsync CLI?
- error in rsync protocol data stream (code 12) at io.c(139)