LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Using rsync with CygWin and W2K (https://www.linuxquestions.org/questions/linux-networking-3/using-rsync-with-cygwin-and-w2k-294792/)

spano 02-25-2005 12:14 PM

Using rsync with CygWin and W2K
 
I am trying to use cygwin to run rsync so that I can back up a directory on a resource server that is located on W2K. The W2K box is a member server inside a small domain with one dc. When I run the rsync command from the w2k side I get the following error:

$ rsync --verbose --progress --stats --recursive 192.168.111.17::/home/admin/LCR_Backup
rsync: failed to connect to 192.168.111.17: Connection reset by peer (104)
rsync error: error is socket 10 (code10) at /home/lapo/packaging/tmp/rsync-2.6.3/clientserver.c(94)

I got no idea what to do. Any help would great. Aslo just fyi I have configured the rsyncd.conf and rsync.secrets files and located them in /etc/

clacour 03-15-2005 10:58 PM

Since you didn't make any mention of it, I think the missing piece is very easy.

You have to run rsync in daemon mode on 192.168.111.17. Just setting up the appropriate control files isn't enough.

You can use "lsof -i" (run on 192.168.111.17) to check whether it's listening. (Use netstat if you don't have lsof, but as soon as convenient, get lsof. GOOD program.)

If you DID have it running, and just forgot to mention it, we'll have to back up and regroup. I don't want to go into all the debug stuff unless I have to, though, so I'm trying the easy answer first.

Hope this helps,

Charles Lacour


All times are GMT -5. The time now is 07:56 PM.