From owner-freebsd-questions@FreeBSD.ORG Tue Jan 23 22:20:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 18EEB16A416 for ; Tue, 23 Jan 2007 22:20:10 +0000 (UTC) (envelope-from gregoryba@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.freebsd.org (Postfix) with ESMTP id 6FA7813C4DB for ; Tue, 23 Jan 2007 22:20:09 +0000 (UTC) (envelope-from gregoryba@gmail.com) Received: by nf-out-0910.google.com with SMTP id m19so387721nfc for ; Tue, 23 Jan 2007 14:20:08 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=O309O8jwbeKAaqx7nANF/i13Hf5o8XC5CnA1e4d6M5g1STt0nC/FE4uWzYg0cv7phm3/FefU284FxhoxfiLaDIL8Kr4Ss0AiJf3zTPcasnE7LsNIokNCIDJ3huQ2HYbgpzf9O647bnCpQButuFhuVw33a+zOcTwO/DawbtFf9LY= Received: by 10.48.230.5 with SMTP id c5mr1849220nfh.1169590808082; Tue, 23 Jan 2007 14:20:08 -0800 (PST) Received: by 10.48.202.3 with HTTP; Tue, 23 Jan 2007 14:20:07 -0800 (PST) Message-ID: <39ed86f90701231420qeee37a0y12f75f27e76bf443@mail.gmail.com> Date: Tue, 23 Jan 2007 14:20:08 -0800 From: "Greg Albrecht" To: "Peter Pluta" In-Reply-To: <45B68887.3070105@placidpublishing.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45B4032C.3070404@placidpublishing.net> <45B5295D.3020205@placidpublishing.net> <45B68887.3070105@placidpublishing.net> Cc: freebsd-questions@freebsd.org Subject: Re: rsync issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jan 2007 22:20:10 -0000 just to go through what i'd normally check: 1) make sure the source host is up at 100full 2) make sure the port the source host is plugged into is 100full 3) make sure the destination host is up at 100full 4) make sure the port the destination host is plugged into is 100full given all of that, if you still have trouble you might want to start doing some packet dumps and see if one host or the other are terminating the connection: $ tcpdump -n -vvv -s 1518 -g On 23/01/07, Peter Pluta wrote: > I've gotten a few replies and i've tried almost all of the suggestions > but the problem still resides. I re-installed rsync on both box's and it > still does this. > > > Peter Pluta wrote: > > Anyone? > > > > Peter Pluta wrote: > >> I have a win2k3 server running as my rsync server. I also have a > >> freebsd web server being the rsync client. A shell script runs every > >> night at 5am (it's below). > >> > >> Shell script: > >> > >> #!/bin/sh > >> . `dirname $0`/settings.inc > >> destination=**.***.***.***::backup > >> if [ "$TERM" ]; then verbose=-v; fi > >> rsync $verbose -azR --delete-after /usr/local/etc/ $destination > >> rsync $verbose -azR --delete-after /usr/local/lib/sasl2/ $destination > >> rsync $verbose -azR --delete-after /var/cron/ $destination > >> rsync $verbose -azR --delete-after /root/ $destination > >> rsync $verbose -azR --delete-after /etc/ $destination > >> rsync $verbose -azR --delete-after --exclude httpd-*.log $wwwDir/ > >> $destination > >> > >> After it runs for 5 minutes it throws this: > >> rsync: writefd_unbuffered failed to write 16385 bytes [sender]: > >> Broken pipe (32) > >> rsync: read error: Connection reset by peer (54) > >> rsync error: error in rsync protocol data stream (code 12) at > >> io.c(613) [sender=2.6.9] > >> > >> Dmesg on the box only shows this: > >> em0: promiscuous mode enabled > >> em0: promiscuous mode disabled > >> > >> But that is probably pretty old. > >> > >> What can the problem be? backups are really important to me and they > >> don't currently work as the transfer times out after the first few > >> files. > >> > >> Anyone got an idea? Any feedback or suggestions would be greatly > >> appreciated. > >> > >> Thanks, > >> Peter > >> _______________________________________________ > >> freebsd-questions@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> To unsubscribe, send any mail to > >> "freebsd-questions-unsubscribe@freebsd.org" > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Greg Albrecht (gregoryba@gmail.com) An Indie, Hip Hop and IDM Podcast: The Letter G http://theletterg.org