delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
References: | <gd1sut$pqd$1 AT ger DOT gmane DOT org> |
Subject: | RE: Rsync on two WinXP Machines: how? |
Date: | Tue, 14 Oct 2008 12:44:08 +0100 |
Message-ID: | <007f01c92df2$2b60a7a0$9601a8c0@CAM.ARTIMI.COM> |
MIME-Version: | 1.0 |
X-Mailer: | Microsoft Office Outlook 11 |
In-Reply-To: | <gd1sut$pqd$1@ger.gmane.org> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Richard Ivarson wrote on 14 October 2008 11:40: > 1.) On the 2nd PC I let (auto) start "rsync --daemon" so rsync is running > and waiting. > 2) When I start rsync on the 1st PC it always says: no connection possible > (I've to write down the exact error message). > > I've used the special host syntax with double colons for a remote sync > daemon as described here: > http://linuxreviews.org/man/rsync/index.html.en#lbAI Codeword "rsync -av > host::src /dest" > > What could be the problem? Firewall settings, perhaps? Use netstat on the 2nd PC to verify that port 873/tcp is open; if so, try using telnet or netcat into the port to test basic connectivity. For example you could use "nc -v -v -v -z localhost 873" on the 2nd PC to check local connectivity, then replace 'localhost' by the 2nd PC's name and try it from the first pc. If the port is open but you can't connect via telnet/netcat, it must be a firewall problem. If the port is not open, maybe the daemon is not running; verify whether or not using "ps", then check the log files, or try it at the command line like: rsync --daemon --no-detach -v -v -v -v --log-file=file.txt and see what ends up in file.txt if it exits. (I notice that rsync will immediately exit in daemon mode if the config file /etc/rsyncd.conf does not exist.) cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |