@echo off ipconfig /release ipconfig /renew
----Original Message Follows----
From: peter pan <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: rsync/jscript/cygwin problem
Date: Sat, 28 Jun 2003 14:55:03 -0700 (PDT)
MIME-Version: 1.0
Received: from lists.samba.org ([66.70.73.150]) by mc10-f12.bay6.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sat, 28 Jun 2003 14:55:36 -0700
Received: from dp.samba.org (localhost [127.0.0.1])by lists.samba.org (Postfix) with ESMTP id 77B742C208for <[EMAIL PROTECTED]>; Sat, 28 Jun 2003 21:55:36 +0000 (GMT)
Received: from web13309.mail.yahoo.com (web13309.mail.yahoo.com[216.136.175.192])by lists.samba.org (Postfix) with SMTP id 2F3642C0A5for <[EMAIL PROTECTED]>; Sat, 28 Jun 2003 21:55:04 +0000 (GMT)
Received: from [62.253.32.5] by web13309.mail.yahoo.com via HTTP;Sat, 28 Jun 2003 14:55:03 PDT
X-Message-Info: JGTYoYF78jEHjJx36Oi8+Q1OJDRSDidP
Delivered-To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
X-Spam-Status: No, hits=0.0 required=5.0tests=noneversion=2.55
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: rsync user list <rsync.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/rsync>,<mailto:[EMAIL PROTECTED]>
List-Archive: <http://lists.samba.org/pipermail/rsync>
List-Post: <mailto:[EMAIL PROTECTED]>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/rsync>,<mailto:[EMAIL PROTECTED]>
Sender: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 28 Jun 2003 21:55:36.0991 (UTC) FILETIME=[01CFB2F0:01C33DC0]
I'm using a javascript program to execute rsync 2.5.6 compiled with cygwin on Windows XP Pro machines. These backup the user's "My Documents" folder to a Linux server running rsync 2.5.6 in daemon mode when the user logs in to XP and certain conditions are met (e.g. user hasn't backed up for a few days, user on the network etc).
This works great except every now and then machine will lose network connectivity. TCP/IP communications completely goes although an IP address is still assigned. Only a reboot seems to sort this out. On all occasions the rsync backup is running when this happens (again this doesn't happen every user log in so unlikely to be co-incidence).
The script log output is as follows:
----------------------------------------------------------------------------------------------- User jbloggs on PC_NAME at 08:50:49 26/06/2003 using Rsync Data Backup System version 1.12
rsync cmd: C:\"software files"\software\rsync.exe -czr --stats /cygdrive/d/"Documents and Settings"/jbloggs/"My Documents"/ 192.168.1.2::RsyncBackup/laptop/jbloggs-PC_NAME
stdOut was:
stdErr was: rsync: read error: Connection reset by peer rsync error: error in rsync protocol data stream (code 12) at io.c(177)
rsync return code was: 12
Duration was 59.425 seconds
The server log at this time is:
2003/06/26 08:49:51 [30315] rsync: name lookup failed for 192.168.1.3: Name or service not known 2003/06/26 08:49:51 [30315] rsync to RsyncBackup/laptop/jbloggs-PC_NAME from unknown (192.168.1.3) 2003/06/26 08:50:24 [30366] recv unknown [192.168.1.3] RsyncBackup () Account Control 2003/some groovy 2003.xls 97280 2003/06/26 09:00:24 [30315] rsync error: timeout in data send/receive (code 30) at io.c(103) 2003/06/26 09:00:24 [30315] rsync: connection unexpectedly closed (7638 bytes read so far) 2003/06/26 09:00:24 [30315] rsync error: error in rsync protocol data stream (code 12) at io.c(165)
I really need this system to be reliable as it could end up on a few hundred machines. Quite happy to accept its all my fault but would welcome suggestions :) Would the options -czr --stats cause a problem? I'm running this under windows scripting host so maybe I'll also post to a group examining that angle.
Thanks in advance for any help
PP
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus
-- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html