From owner-freebsd-questions@FreeBSD.ORG Fri Aug 18 16:58:02 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D4BE16A4E0 for ; Fri, 18 Aug 2006 16:58:02 +0000 (UTC) (envelope-from newroswell@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6C6B43D68 for ; Fri, 18 Aug 2006 16:57:52 +0000 (GMT) (envelope-from newroswell@gmail.com) Received: by nz-out-0102.google.com with SMTP id x3so567979nzd for ; Fri, 18 Aug 2006 09:57:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cDildcpxw7lS83xL3zAefgzRtoDdyHE6lQlafZz/v3g1JBxnd7TRw1n4qkEB103UlTwL1iiiJuk5dLpGv4b1+q1vYQDV/NZK4OWElh7aNaKVTe3OBmnlAY+QUKMqsOvavx8HDouvvT60NGarze/BA/WBWKiMZsTKi254NR63DwU= Received: by 10.65.43.17 with SMTP id v17mr3983298qbj; Fri, 18 Aug 2006 09:57:47 -0700 (PDT) Received: by 10.64.195.13 with HTTP; Fri, 18 Aug 2006 09:57:47 -0700 (PDT) Message-ID: <375baf50608180957j73875f0bv44cefed2264b2b74@mail.gmail.com> Date: Fri, 18 Aug 2006 09:57:47 -0700 From: "Kevin Sanders" To: "Lisa Casey" In-Reply-To: <004501c6c2e5$01603760$d51a2cd0@lisac> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <004501c6c2e5$01603760$d51a2cd0@lisac> Cc: freebsd-questions@freebsd.org Subject: Re: rsync on Freebsd 5.3 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: Fri, 18 Aug 2006 16:58:02 -0000 I've never needed to do any rsync specific configuration, just install from ports on both machines. This sounds more like a ssh configuration issue ("connect to host newfreebsd.com port 22: Connection refused") on newfreebsd.com. Or maybe you're not allowing ssh connections thru the firewall on newfreebsd.com? Kevin On 8/18/06, Lisa Casey wrote: > Hi, > > I am trying to transfer all files in /var/mail from one Freebsd 5.3 machine > (oldfreebsd.com) to another (newfreebsd.com). I decided to use rsync for > this since it would preserve ownership, permissions, etc. I made sure rsync > was installed on both machines. Neither machine had an /etc/rsyncd.conf or > /etc/rsyncd.motd file. On newfreebsd.com I created /etc/rsyncd.conf thusly: > > motd file = /etc/rsyncd.motd > max connections = 1 > hosts allow = 208.44.xx.xx > > (The IP address is that of oldfreebsd.com) > > On newfreebsd.com, I created rsyncd.motd with the words Authorized Users > Only in it. > > as a test, I'm just trying to rsync /var/mail/lisa from oldfreebsd.com to > newfreebsd.com. When that works I'll do all of /var/mail/ > > on oldfreebsd.com I cd /var/mail, then type: rsync lisa > newfreebsd.com:/var/mail/ > > and get this: > > connect to host newfreebsd.com port 22: Connection refused > rsync: connection unexpectedly closed (0 bytes read so far) > rsync error: error in rsync protocol data stream (code 12) at io.c(348) > > Anyone know what might be wrong? Or can anyone suggest a better way of > moving these mail boxes? > > Thanks, > > Lisa Casey > > > _______________________________________________ > 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" >